Skip to content

Commit

Permalink
EPMRPP-80259 || Upgrade Node.js version to 20 (#57)
Browse files Browse the repository at this point in the history
* EPMRPP-80259 || Upgrade Node.js version to 20

* EPMRPP-80259 || update dependencies

* EPMRPP-80259 || build.gradle fix

* EPMRPP-80259 || update lint version

* EPMRPP-80259 || lit setup
  • Loading branch information
Vadim73i authored Feb 9, 2024
1 parent 586410e commit 67be72e
Show file tree
Hide file tree
Showing 6 changed files with 5,047 additions and 2,851 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## UI

Preconditions:
- Install Node.js (version 14 is recommended).
- Install Node.js (version 20 is recommended).

Install the dependencies: `npm install`

Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ repositories {

dependencyManagement {
imports {
mavenBom(releaseMode ? 'com.epam.reportportal:commons-bom:' + getProperty('bom.version') : 'com.github.reportportal:commons-bom:4b7ed8a')
mavenBom(releaseMode ? 'com.epam.reportportal:commons-bom:' + getProperty('bom.version') : 'com.github.reportportal:commons-bom:04b1a7d')
}
}

Expand All @@ -45,8 +45,8 @@ dependencies {
implementation 'com.epam.reportportal:plugin-api'
annotationProcessor 'com.epam.reportportal:plugin-api'
} else {
implementation 'com.github.reportportal:plugin-api:886ac55'
annotationProcessor 'com.github.reportportal:plugin-api:886ac55'
implementation 'com.github.reportportal:plugin-api:0ccfed8'
annotationProcessor 'com.github.reportportal:plugin-api:0ccfed8'
}

compile 'com.squareup.okhttp:okhttp:2.7.5'
Expand Down
4 changes: 2 additions & 2 deletions ui.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
node {
version = '14.21.3'
npmVersion = '6.14.17'
version = '20.11.0'
npmVersion = '10.2.4'
download = true
workDir = file("${project.buildDir}/ui")
nodeModulesDir = file("${project.rootDir}/ui")
Expand Down
5 changes: 3 additions & 2 deletions ui/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"parser": "babel-eslint",
"parser": "@babel/eslint-parser",
"extends": [
"airbnb",
"plugin:prettier/recommended",
Expand Down Expand Up @@ -60,7 +60,8 @@
"react/sort-comp": 0,
"import/no-useless-path-segments": 0,
"no-invalid-this": 0,
"prefer-object-spread": 0
"prefer-object-spread": 0,
"react/function-component-definition" : 0
},
"parserOptions": {
"ecmaFeatures": {
Expand Down
Loading

0 comments on commit 67be72e

Please sign in to comment.