Upgrade to electron 12 and Node 14 (#3572)

Upgrade to electron 12 and Node 14

- Compute cluster ID for tests
- Switch to temporary appData path while testing

Signed-off-by: Sebastian Malton <sebastian@malton.name>

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
authored and GitHub committed 2021-08-26 12:13:31 -04:00
1 parent e2812a5bcd
commit 59933507e4
50 files changed
+1000 -1099

No files matched your search

+6 -5
View File
@@ -28,7 +28,7 @@
"build:linux": "yarn run compile && electron-builder --linux --dir",
"build:mac": "yarn run compile && electron-builder --mac --dir",
"build:win": "yarn run compile && electron-builder --win --dir",
"integration": "jest --runInBand integration",
"integration": "jest --runInBand --detectOpenHandles --forceExit integration",
"dist": "yarn run compile && electron-builder --publish onTag",
"dist:win": "yarn run compile && electron-builder --publish onTag --x64 --ia32",
"dist:dir": "yarn run dist --dir -c.compression=store -c.mac.identity=null",
@@ -52,7 +52,7 @@
"sentryDsn": ""
},
"engines": {
"node": ">=12 <13"
"node": ">=14 <15"
},
"jest": {
"collectCoverage": false,
@@ -180,6 +180,7 @@
}
},
"dependencies": {
"@electron/remote": "^1.2.1",
"@hapi/call": "^8.0.1",
"@hapi/subtext": "^7.0.3",
"@kubernetes/client-node": "^0.15.1",
@@ -326,7 +327,7 @@
"css-loader": "^5.2.6",
"deepdash": "^5.3.5",
"dompurify": "^2.0.17",
"electron": "^9.4.4",
"electron": "^12.0.17",
"electron-builder": "^22.10.5",
"electron-notarize": "^0.3.0",
"esbuild": "^0.12.12",
@@ -352,6 +353,7 @@
"node-loader": "^1.0.3",
"node-sass": "^4.14.1",
"nodemon": "^2.0.12",
"playwright": "^1.14.0",
"postcss": "^8.3.6",
"postcss-loader": "4.0.3",
"postinstall-postinstall": "^2.1.0",
@@ -367,12 +369,11 @@
"react-window": "^1.8.5",
"sass-loader": "^8.0.2",
"sharp": "^0.29.0",
"spectron": "11.0.0",
"style-loader": "^2.0.0",
"tailwindcss": "^2.2.4",
"ts-jest": "26.5.6",
"ts-loader": "^7.0.5",
"ts-node": "^8.10.2",
"ts-node": "^10.1.0",
"type-fest": "^1.0.2",
"typed-emitter": "^1.3.1",
"typedoc": "0.21.0-beta.2",