Downgrade electron to 11.2.3
Summary: Downgrade electron to 11.2.3 to work-around performance problems described in https://github.com/facebook/flipper/issues/2173. Changelog: Electron downgraded to v11.2.3 to work-around performance issues on MacOS Big Sur Reviewed By: passy Differential Revision: D27732746 fbshipit-source-id: cec187f47ac5b734c33f3e6eecc5cf0b03d76c1a
This commit is contained in:
committed by
Facebook GitHub Bot
parent
5b0f7e8757
commit
576afd36a1
@@ -132,7 +132,7 @@
|
|||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"detect-port": "^1.1.1",
|
"detect-port": "^1.1.1",
|
||||||
"dotenv": "^8.2.0",
|
"dotenv": "^8.2.0",
|
||||||
"electron": "12.0.1",
|
"electron": "11.2.3",
|
||||||
"electron-builder": "22.10.5",
|
"electron-builder": "22.10.5",
|
||||||
"eslint": "^7.23.0",
|
"eslint": "^7.23.0",
|
||||||
"eslint-config-fbjs": "^3.1.1",
|
"eslint-config-fbjs": "^3.1.1",
|
||||||
@@ -199,7 +199,7 @@
|
|||||||
"resolutions": {
|
"resolutions": {
|
||||||
"**/metro/**/temp": "0.9.0",
|
"**/metro/**/temp": "0.9.0",
|
||||||
"**/metro/**/ws": "1.1.5",
|
"**/metro/**/ws": "1.1.5",
|
||||||
"@jest-runner/electron/electron": "12.0.1",
|
"@jest-runner/electron/electron": "11.2.3",
|
||||||
"@types/react": "17.0.3",
|
"@types/react": "17.0.3",
|
||||||
"@types/react-dom": "17.0.3",
|
"@types/react-dom": "17.0.3",
|
||||||
"acorn": "7.1.1",
|
"acorn": "7.1.1",
|
||||||
@@ -230,7 +230,6 @@
|
|||||||
"lint": "yarn lint:eslint && yarn lint:tsc && yarn tsc-plugins",
|
"lint": "yarn lint:eslint && yarn lint:tsc && yarn tsc-plugins",
|
||||||
"lint:eslint": "eslint . --ext .js,.ts,.tsx",
|
"lint:eslint": "eslint . --ext .js,.ts,.tsx",
|
||||||
"lint:tsc": "tsc --noemit",
|
"lint:tsc": "tsc --noemit",
|
||||||
"tsc-plugins": "./ts-node scripts/tsc-plugins.ts",
|
|
||||||
"list-plugins": "./ts-node scripts/list-plugins.ts",
|
"list-plugins": "./ts-node scripts/list-plugins.ts",
|
||||||
"open-dist": "open ../dist/mac/Flipper.app --args --launcher=false --inspect=9229",
|
"open-dist": "open ../dist/mac/Flipper.app --args --launcher=false --inspect=9229",
|
||||||
"postinstall": "patch-package && ./ts-node scripts/gen-type-index.ts && yarn --cwd plugins install --mutex network:30331 && yarn build:tsc && ./ts-node scripts/generate-plugin-entry-points.ts && yarn build:themes",
|
"postinstall": "patch-package && ./ts-node scripts/gen-type-index.ts && yarn --cwd plugins install --mutex network:30331 && yarn build:tsc && ./ts-node scripts/generate-plugin-entry-points.ts && yarn build:themes",
|
||||||
@@ -256,6 +255,7 @@
|
|||||||
"test-electron": "yarn build:tsc && jest --testMatch=\"**/**.electron\\.(js|jsx|ts|tsx)\" --testEnvironment=@jest-runner/electron/environment --runner=@jest-runner/electron",
|
"test-electron": "yarn build:tsc && jest --testMatch=\"**/**.electron\\.(js|jsx|ts|tsx)\" --testEnvironment=@jest-runner/electron/environment --runner=@jest-runner/electron",
|
||||||
"test-with-device": "yarn build:tsc && USE_ELECTRON_STUBS=1 jest --testMatch=\"**/**.device\\.(js|jsx|ts|tsx)\" --detectOpenHandles",
|
"test-with-device": "yarn build:tsc && USE_ELECTRON_STUBS=1 jest --testMatch=\"**/**.device\\.(js|jsx|ts|tsx)\" --detectOpenHandles",
|
||||||
"test:debug": "yarn build:tsc && node --inspect node_modules/.bin/jest --runInBand",
|
"test:debug": "yarn build:tsc && node --inspect node_modules/.bin/jest --runInBand",
|
||||||
|
"tsc-plugins": "./ts-node scripts/tsc-plugins.ts",
|
||||||
"watch": "node --expose-gc ./node_modules/.bin/jest --watch"
|
"watch": "node --expose-gc ./node_modules/.bin/jest --watch"
|
||||||
},
|
},
|
||||||
"version": "0.84.0",
|
"version": "0.84.0",
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user