Merge pull request #19090 from storybookjs/revert-19077-chore/rename-prepare

Revert "chore: rename prepare script to prep"
This commit is contained in:
Michael Shilman 2022-09-02 11:49:07 +08:00 committed by GitHub
commit 8645a18c87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
83 changed files with 89 additions and 89 deletions

View File

@ -59,7 +59,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addon-highlight": "7.0.0-alpha.28",

View File

@ -32,7 +32,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "node ../../../scripts/prepare.js"
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.28",

View File

@ -59,7 +59,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.28",

View File

@ -54,7 +54,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.28",

View File

@ -46,7 +46,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "node ../../../scripts/prepare.js"
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@babel/plugin-transform-react-jsx": "^7.12.12",

View File

@ -30,7 +30,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "node ../../../scripts/prepare.js"
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addon-actions": "7.0.0-alpha.28",

View File

@ -34,7 +34,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "node ../../../scripts/prepare.js"
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.28",

View File

@ -32,7 +32,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "node ../../../scripts/prepare.js"
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@devtools-ds/object-inspector": "^1.1.2",

View File

@ -56,7 +56,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.28",

View File

@ -60,7 +60,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.28",

View File

@ -58,7 +58,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.28",

View File

@ -61,7 +61,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.28",

View File

@ -33,7 +33,7 @@
"scripts": {
"build-storybook": "sb build",
"example": "jest storyshot.test",
"prep": "node ../../../../scripts/prepare.js",
"prepare": "node ../../../../scripts/prepare.js",
"storybook": "yarn sb dev -p 6006"
},
"dependencies": {

View File

@ -30,7 +30,7 @@
"*.d.ts"
],
"scripts": {
"prep": "node ../../../../scripts/prepare.js"
"prepare": "node ../../../../scripts/prepare.js"
},
"dependencies": {
"@axe-core/puppeteer": "^4.2.0",

View File

@ -32,7 +32,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "node ../../../scripts/prepare.js"
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.28",

View File

@ -54,7 +54,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.28",

View File

@ -56,7 +56,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.28",

View File

@ -31,7 +31,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "node ../../../scripts/prepare.js"
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.28",

View File

@ -27,7 +27,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "node ../../../scripts/prepare.js"
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/builder-webpack5": "7.0.0-alpha.28",

View File

@ -47,7 +47,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/builder-webpack5": "7.0.0-alpha.28",

View File

@ -47,7 +47,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/builder-webpack5": "7.0.0-alpha.28",

View File

@ -48,7 +48,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@joshwooding/vite-plugin-react-docgen-typescript": "^0.0.5",

View File

@ -48,7 +48,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/builder-webpack5": "7.0.0-alpha.28",

View File

@ -47,7 +47,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/builder-webpack5": "7.0.0-alpha.28",

View File

@ -48,7 +48,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addon-svelte-csf": "^2.0.0",

View File

@ -48,7 +48,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/builder-webpack5": "7.0.0-alpha.28",

View File

@ -47,7 +47,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/builder-webpack5": "7.0.0-alpha.28",

View File

@ -48,7 +48,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/builder-vite": "7.0.0-alpha.28",

View File

@ -47,7 +47,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/builder-webpack5": "7.0.0-alpha.28",

View File

@ -49,7 +49,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@babel/preset-env": "^7.12.11",

View File

@ -31,7 +31,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "node ../../../scripts/prepare.js"
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/api": "7.0.0-alpha.28",

View File

@ -29,7 +29,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "node ../../../scripts/prepare.js"
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/channels": "7.0.0-alpha.28",

View File

@ -38,7 +38,7 @@
"*.d.ts"
],
"scripts": {
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/api": "7.0.0-alpha.28",

View File

@ -38,7 +38,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@fal-works/esbuild-plugin-global-externals": "^2.1.2",

View File

@ -15,7 +15,7 @@
"types": "dist/types/index.d.ts",
"scripts": {
"check": "tsc --noEmit",
"prep": "node ../../../scripts/prepare.js"
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@joshwooding/vite-plugin-react-docgen-typescript": "0.0.5",

View File

@ -30,7 +30,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "node ../../../scripts/prepare.js"
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@babel/core": "^7.12.10",

View File

@ -31,7 +31,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "node ../../../scripts/prepare.js"
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/channels": "7.0.0-alpha.28",

View File

@ -31,7 +31,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "node ../../../scripts/prepare.js"
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/channels": "7.0.0-alpha.28",

View File

@ -39,7 +39,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"core-js": "^3.8.2",

View File

@ -22,7 +22,7 @@
"bin": "./index.js",
"scripts": {
"check": "tsc --noEmit",
"prep": "node ../../../scripts/prepare.js"
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/cli": "7.0.0-alpha.28"

View File

@ -25,7 +25,7 @@
},
"scripts": {
"check": "tsc --noEmit",
"prep": "node ../../../scripts/prepare.js"
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/cli": "7.0.0-alpha.28"

View File

@ -35,7 +35,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "node ../../../scripts/prepare.js",
"prepare": "node ../../../scripts/prepare.js",
"test": "jest test/**/*.test.js"
},
"dependencies": {

View File

@ -31,7 +31,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "node ../../../scripts/prepare.js"
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.28",

View File

@ -39,7 +39,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"core-js": "^3.8.2",

View File

@ -32,7 +32,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "node ../../../scripts/prepare.js"
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@babel/types": "^7.12.11",

View File

@ -48,7 +48,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "7.0.0-alpha.28",

View File

@ -31,7 +31,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "node ../../../scripts/prepare.js"
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.28",

View File

@ -43,7 +43,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@babel/core": "^7.12.10",

View File

@ -39,7 +39,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"core-js": "^3.8.2"

View File

@ -30,7 +30,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "node ../../../scripts/prepare.js"
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@aw-web-design/x-default-browser": "1.4.88",

View File

@ -39,7 +39,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/core-common": "7.0.0-alpha.28",

View File

@ -31,7 +31,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "node ../../../scripts/prepare.js"
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@babel/core": "^7.12.10",

View File

@ -31,7 +31,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "node ../../../scripts/prepare.js"
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@babel/core": "^7.12.10",

View File

@ -31,7 +31,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "node ../../../scripts/prepare.js"
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.28",

View File

@ -31,7 +31,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "node ../../../scripts/prepare.js"
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@types/npmlog": "^4.1.2",

View File

@ -32,7 +32,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "node ../../../scripts/prepare.js"
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"core-js": "^3.8.2"

View File

@ -31,7 +31,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "node ../../../scripts/prepare.js"
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.28",

View File

@ -31,7 +31,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "ts-node ../../../scripts/prebundle.ts"
"prepare": "ts-node ../../../scripts/prebundle.ts"
},
"dependencies": {
"@storybook/client-logger": "7.0.0-alpha.28",

View File

@ -32,7 +32,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "node ../../../scripts/prepare.js"
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.28",

View File

@ -31,7 +31,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "node ../../../scripts/prepare.js"
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.28",

View File

@ -31,7 +31,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "node ../../../scripts/prepare.js"
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/client-logger": "7.0.0-alpha.28",

View File

@ -44,7 +44,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "7.0.0-alpha.28",

View File

@ -49,7 +49,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"devDependencies": {
"@babel/core": "^7.12.10",

View File

@ -10,8 +10,8 @@
"default": {
"runner": "@nrwl/nx-cloud",
"options": {
"cacheableOperations": ["build", "test", "lint", "package", "prep"],
"strictlyOrderedTargets": ["build", "package", "prep"],
"cacheableOperations": ["build", "test", "lint", "package", "prepare"],
"strictlyOrderedTargets": ["build", "package", "prepare"],
"accessToken": "NGVmYTkxMmItYzY3OS00MjkxLTk1ZDktZDFmYTFmNmVlNGY4fHJlYWQ=",
"canTrackAnalytics": false,
"showUsageWarnings": true

View File

@ -47,7 +47,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/core-webpack": "7.0.0-alpha.28",

View File

@ -47,7 +47,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@babel/plugin-transform-react-jsx": "^7.12.12",

View File

@ -68,7 +68,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@babel/preset-flow": "^7.12.1",

View File

@ -52,7 +52,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/core-server": "7.0.0-alpha.28",

View File

@ -62,7 +62,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/core-webpack": "7.0.0-alpha.28",

View File

@ -57,7 +57,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/core-webpack": "7.0.0-alpha.28",

View File

@ -57,7 +57,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/core-webpack": "7.0.0-alpha.28",

View File

@ -49,7 +49,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@babel/plugin-syntax-dynamic-import": "^7.8.3",

View File

@ -47,7 +47,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.28",

View File

@ -47,7 +47,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.28",

View File

@ -48,7 +48,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.28",

View File

@ -47,7 +47,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.28",

View File

@ -51,7 +51,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.28",

View File

@ -47,7 +47,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.28",

View File

@ -47,7 +47,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.28",

View File

@ -49,7 +49,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prep": "../../../scripts/prepare/bundle.ts"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.28",

10
scripts/bootstrap.js vendored
View File

@ -74,9 +74,9 @@ function run() {
defaultValue: true,
option: '--prep',
command: () => {
log.info(prefix, 'prep');
log.info(prefix, 'prepare');
spawn(
`nx run-many --target="prep" --all --parallel --exclude=@storybook/addon-storyshots,@storybook/addon-storyshots-puppeteer -- --reset`
`nx run-many --target="prepare" --all --parallel --exclude=@storybook/addon-storyshots,@storybook/addon-storyshots-puppeteer -- --reset`
);
},
order: 2,
@ -86,9 +86,9 @@ function run() {
defaultValue: true,
option: '--retry',
command: () => {
log.info(prefix, 'prep');
log.info(prefix, 'prepare');
spawn(
`nx run-many --target=prep --all --parallel --only-failed ${
`nx run-many --target=prepare --all --parallel --only-failed ${
process.env.CI ? `--max-parallel=${maxConcurrentTasks}` : ''
}`
);
@ -122,7 +122,7 @@ function run() {
command: () => {
log.info(prefix, 'build');
spawn(
`nx run-many --target="prep" --all --parallel=8 ${
`nx run-many --target="prepare" --all --parallel=8 ${
process.env.CI ? `--max-parallel=${maxConcurrentTasks}` : ''
} -- --reset --optimized`
);

View File

@ -113,7 +113,7 @@ async function run() {
}
selection?.filter(Boolean).forEach(async (v) => {
const commmand = (await readJSON(resolve(v.location, 'package.json'))).scripts.prep;
const commmand = (await readJSON(resolve(v.location, 'package.json'))).scripts.prepare;
const cwd = resolve(__dirname, '..', 'code', v.location);
const sub = require('execa').command(
`${commmand}${watchMode ? ' --watch' : ''}${prodMode ? ' --optimized' : ''}`,

View File

@ -68,7 +68,7 @@ const hasFlag = (flags, name) => !!flags.find((s) => s.startsWith(`--${name}`));
const modules = true;
async function prep({ cwd, flags }) {
async function prepare({ cwd, flags }) {
const { packageJson } = await readPkgUp(cwd);
const message = chalk.gray(`Built: ${chalk.bold(`${packageJson.name}@${packageJson.version}`)}`);
console.time(message);
@ -101,4 +101,4 @@ async function prep({ cwd, flags }) {
const flags = process.argv.slice(2);
const cwd = process.cwd();
prep({ cwd, flags });
prepare({ cwd, flags });