Web console: upgrade the console to use node 16 (#13017)

* upgrade the console to use node 16

* run npm audit fix
This commit is contained in:
Vadim Ogievetsky 2022-09-06 11:15:23 -07:00 committed by GitHub
parent d4233ef2a1
commit 2cf449386f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 27764 additions and 2686 deletions

View File

@ -387,7 +387,7 @@ jobs:
install: web-console/script/druid build
before_script:
- ./check_test_suite.py && travis_terminate 0 || echo 'Starting nvm install...'
- nvm install 14.19.3
- nvm install 16.17.0
- web-console/script/druid start
script: (cd web-console && npm run test-e2e)
after_script: web-console/script/druid stop

File diff suppressed because it is too large Load Diff

View File

@ -52,11 +52,11 @@
"start": "webpack serve --hot --open"
},
"engines": {
"node": ">=14"
"node": ">=16"
},
"volta": {
"node": "14.19.3",
"npm": "6.14.16"
"node": "16.17.0",
"npm": "8.15.0"
},
"browserslist": [
"> 1% and supports es6",
@ -154,20 +154,20 @@
"identity-obj-proxy": "^3.0.0",
"jest": "^27.5.0",
"license-checker": "^25.0.1",
"node-sass": "^5.0.0",
"node-sass": "^6.0.1",
"playwright-chromium": "^1.24.1",
"postcss": "^8.3.0",
"postcss-loader": "^5.3.0",
"postcss-preset-env": "^6.7.0",
"prettier": "^2.5.1",
"replace": "^1.2.1",
"sass-loader": "^11.0.1",
"sass-loader": "^11.1.0",
"snarkdown": "^2.0.0",
"style-loader": "^2.0.0",
"stylelint": "^13.12.0",
"ts-jest": "^27.1.3",
"ts-loader": "^8.1.0",
"ts-node": "^8.4.1",
"ts-node": "^10.9.1",
"typescript": "^4.5.5",
"uuid": "^7.0.2",
"webpack": "^5.33.2",

View File

@ -34,8 +34,8 @@
<properties>
<resources.directory>${project.build.directory}/resources</resources.directory>
<druid.console.skip>false</druid.console.skip> <!-- this property is overidden in Travis CI to skip the javascript-related work -->
<node.version>v14.19.3</node.version>
<npm.version>6.14.16</npm.version>
<node.version>v16.17.0</node.version>
<npm.version>8.15.0</npm.version>
</properties>
<build>