Fixed generation of plugin entry point after compilation
Summary: This diff fixes an issue, that due to recent changes `defaultPlugins/index.tsx` wouldn't compile without being regenerated. This caused issue for people after updating and running `yarn install`. This diff fixes the build order to first generate the file, then compile Reviewed By: nikoant Differential Revision: D33276108 fbshipit-source-id: 318a9c8434ecf3cae3b15474fa045e93ad5ffc42
This commit is contained in:
committed by
Facebook GitHub Bot
parent
5e3e777b5c
commit
74fa34fe98
@@ -134,7 +134,7 @@
|
|||||||
"lint:tsc": "tsc -p tsc-root/tsconfig.json --noemit",
|
"lint:tsc": "tsc -p tsc-root/tsconfig.json --noemit",
|
||||||
"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 && yarn --cwd plugins install --mutex network:30331 && yarn build:tsc && ./ts-node scripts/generate-plugin-entry-points.ts && yarn build:themes",
|
"postinstall": "patch-package && yarn --cwd plugins install --mutex network:30331 && yarn tsc -b pkg-lib/tsconfig.json && ./ts-node scripts/generate-plugin-entry-points.ts && yarn build:tsc && yarn build:themes",
|
||||||
"prebuild": "yarn build:tsc && yarn rm-dist && yarn build:themes",
|
"prebuild": "yarn build:tsc && yarn rm-dist && yarn build:themes",
|
||||||
"preinstall": "node scripts/prepare-watchman-config.js && yarn config set ignore-engines",
|
"preinstall": "node scripts/prepare-watchman-config.js && yarn config set ignore-engines",
|
||||||
"prelint:eslint": "yarn build:eslint",
|
"prelint:eslint": "yarn build:eslint",
|
||||||
|
|||||||
Reference in New Issue
Block a user