From 6aef2bcee9b1dcca2cabef85d098e2e2a4985526 Mon Sep 17 00:00:00 2001 From: Katerina Skroumpelou Date: Thu, 1 Sep 2022 15:35:04 +0300 Subject: [PATCH] change prepare to prep --- code/addons/a11y/package.json | 2 +- code/addons/actions/package.json | 2 +- code/addons/backgrounds/package.json | 2 +- code/addons/controls/package.json | 2 +- code/addons/docs/package.json | 2 +- code/addons/essentials/package.json | 2 +- code/addons/highlight/package.json | 2 +- code/addons/interactions/package.json | 2 +- code/addons/jest/package.json | 2 +- code/addons/links/package.json | 2 +- code/addons/measure/package.json | 2 +- code/addons/outline/package.json | 2 +- code/addons/storyshots/storyshots-core/package.json | 2 +- .../storyshots/storyshots-puppeteer/package.json | 2 +- code/addons/storysource/package.json | 2 +- code/addons/toolbars/package.json | 2 +- code/addons/viewport/package.json | 2 +- code/frameworks/angular/package.json | 2 +- code/frameworks/ember/package.json | 2 +- code/frameworks/html-webpack5/package.json | 2 +- code/frameworks/preact-webpack5/package.json | 2 +- code/frameworks/react-vite/package.json | 2 +- code/frameworks/react-webpack5/package.json | 2 +- code/frameworks/server-webpack5/package.json | 2 +- code/frameworks/svelte-vite/package.json | 2 +- code/frameworks/svelte-webpack5/package.json | 2 +- code/frameworks/vue-webpack5/package.json | 2 +- code/frameworks/vue3-vite/package.json | 2 +- code/frameworks/vue3-webpack5/package.json | 2 +- code/frameworks/web-components-webpack5/package.json | 2 +- code/lib/addons/package.json | 2 +- code/lib/api/package.json | 2 +- code/lib/blocks/package.json | 2 +- code/lib/builder-manager/package.json | 2 +- code/lib/builder-vite/package.json | 2 +- code/lib/builder-webpack5/package.json | 2 +- code/lib/channel-postmessage/package.json | 2 +- code/lib/channel-websocket/package.json | 2 +- code/lib/channels/package.json | 2 +- code/lib/cli-sb/package.json | 2 +- code/lib/cli-storybook/package.json | 2 +- code/lib/cli/package.json | 2 +- code/lib/client-api/package.json | 2 +- code/lib/client-logger/package.json | 2 +- code/lib/codemod/package.json | 2 +- code/lib/components/package.json | 2 +- code/lib/core-client/package.json | 2 +- code/lib/core-common/package.json | 2 +- code/lib/core-events/package.json | 2 +- code/lib/core-server/package.json | 2 +- code/lib/core-webpack/package.json | 2 +- code/lib/csf-tools/package.json | 2 +- code/lib/docs-tools/package.json | 2 +- code/lib/instrumenter/package.json | 2 +- code/lib/node-logger/package.json | 2 +- code/lib/postinstall/package.json | 2 +- code/lib/preview-web/package.json | 2 +- code/lib/router/package.json | 2 +- code/lib/source-loader/package.json | 2 +- code/lib/store/package.json | 2 +- code/lib/telemetry/package.json | 2 +- code/lib/theming/package.json | 2 +- code/lib/ui/package.json | 2 +- code/nx.json | 6 +++--- code/presets/html-webpack/package.json | 2 +- code/presets/preact-webpack/package.json | 2 +- code/presets/react-webpack/package.json | 2 +- code/presets/server-webpack/package.json | 2 +- code/presets/svelte-webpack/package.json | 2 +- code/presets/vue-webpack/package.json | 2 +- code/presets/vue3-webpack/package.json | 2 +- code/presets/web-components-webpack/package.json | 2 +- code/renderers/html/package.json | 2 +- code/renderers/preact/package.json | 2 +- code/renderers/react/package.json | 2 +- code/renderers/server/package.json | 2 +- code/renderers/svelte/package.json | 2 +- code/renderers/vue/package.json | 2 +- code/renderers/vue3/package.json | 2 +- code/renderers/web-components/package.json | 2 +- scripts/bootstrap.js | 10 +++++----- scripts/build-package.js | 2 +- scripts/prepare.js | 4 ++-- 83 files changed, 90 insertions(+), 90 deletions(-) diff --git a/code/addons/a11y/package.json b/code/addons/a11y/package.json index d8dbc2dc6a40..846bb3f7ac64 100644 --- a/code/addons/a11y/package.json +++ b/code/addons/a11y/package.json @@ -59,7 +59,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/addon-highlight": "7.0.0-alpha.27", diff --git a/code/addons/actions/package.json b/code/addons/actions/package.json index d8814c06f7bf..fb0ea9d43311 100644 --- a/code/addons/actions/package.json +++ b/code/addons/actions/package.json @@ -32,7 +32,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.27", diff --git a/code/addons/backgrounds/package.json b/code/addons/backgrounds/package.json index 2d9ee102650b..e2145b848c8f 100644 --- a/code/addons/backgrounds/package.json +++ b/code/addons/backgrounds/package.json @@ -59,7 +59,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.27", diff --git a/code/addons/controls/package.json b/code/addons/controls/package.json index 4ab1ca1167e7..a6a464d833c6 100644 --- a/code/addons/controls/package.json +++ b/code/addons/controls/package.json @@ -54,7 +54,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.27", diff --git a/code/addons/docs/package.json b/code/addons/docs/package.json index e9ea177c09ed..17000ccb3673 100644 --- a/code/addons/docs/package.json +++ b/code/addons/docs/package.json @@ -46,7 +46,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { "@babel/plugin-transform-react-jsx": "^7.12.12", diff --git a/code/addons/essentials/package.json b/code/addons/essentials/package.json index e460b48345cd..999187bbebbb 100644 --- a/code/addons/essentials/package.json +++ b/code/addons/essentials/package.json @@ -30,7 +30,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/addon-actions": "7.0.0-alpha.27", diff --git a/code/addons/highlight/package.json b/code/addons/highlight/package.json index 149b443556c3..8a8d9e778599 100644 --- a/code/addons/highlight/package.json +++ b/code/addons/highlight/package.json @@ -34,7 +34,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.27", diff --git a/code/addons/interactions/package.json b/code/addons/interactions/package.json index a3959e483fc9..c026c33a7810 100644 --- a/code/addons/interactions/package.json +++ b/code/addons/interactions/package.json @@ -32,7 +32,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { "@devtools-ds/object-inspector": "^1.1.2", diff --git a/code/addons/jest/package.json b/code/addons/jest/package.json index 3eebff722085..a0087c1fa589 100644 --- a/code/addons/jest/package.json +++ b/code/addons/jest/package.json @@ -56,7 +56,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.27", diff --git a/code/addons/links/package.json b/code/addons/links/package.json index 10815060c44e..db41f132aa4e 100644 --- a/code/addons/links/package.json +++ b/code/addons/links/package.json @@ -60,7 +60,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.27", diff --git a/code/addons/measure/package.json b/code/addons/measure/package.json index 9e1d74012991..436e7f8d8e15 100644 --- a/code/addons/measure/package.json +++ b/code/addons/measure/package.json @@ -58,7 +58,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.27", diff --git a/code/addons/outline/package.json b/code/addons/outline/package.json index 7813bbf42273..9abd4bee4abe 100644 --- a/code/addons/outline/package.json +++ b/code/addons/outline/package.json @@ -61,7 +61,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.27", diff --git a/code/addons/storyshots/storyshots-core/package.json b/code/addons/storyshots/storyshots-core/package.json index e17a5610a6a0..29984873c4b9 100644 --- a/code/addons/storyshots/storyshots-core/package.json +++ b/code/addons/storyshots/storyshots-core/package.json @@ -33,7 +33,7 @@ "scripts": { "build-storybook": "sb build", "example": "jest storyshot.test", - "prepare": "node ../../../../scripts/prepare.js", + "prep": "node ../../../../scripts/prepare.js", "storybook": "yarn sb dev -p 6006" }, "dependencies": { diff --git a/code/addons/storyshots/storyshots-puppeteer/package.json b/code/addons/storyshots/storyshots-puppeteer/package.json index d3cfc489d103..54fce845a55e 100644 --- a/code/addons/storyshots/storyshots-puppeteer/package.json +++ b/code/addons/storyshots/storyshots-puppeteer/package.json @@ -30,7 +30,7 @@ "*.d.ts" ], "scripts": { - "prepare": "node ../../../../scripts/prepare.js" + "prep": "node ../../../../scripts/prepare.js" }, "dependencies": { "@axe-core/puppeteer": "^4.2.0", diff --git a/code/addons/storysource/package.json b/code/addons/storysource/package.json index 92ca789e0b11..efe8a7c45d83 100644 --- a/code/addons/storysource/package.json +++ b/code/addons/storysource/package.json @@ -32,7 +32,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.27", diff --git a/code/addons/toolbars/package.json b/code/addons/toolbars/package.json index 58ed719601df..9c30f59dc2f9 100644 --- a/code/addons/toolbars/package.json +++ b/code/addons/toolbars/package.json @@ -54,7 +54,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.27", diff --git a/code/addons/viewport/package.json b/code/addons/viewport/package.json index 4965af867002..b5cf763932b1 100644 --- a/code/addons/viewport/package.json +++ b/code/addons/viewport/package.json @@ -56,7 +56,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.27", diff --git a/code/frameworks/angular/package.json b/code/frameworks/angular/package.json index 05f17b9cf9cb..b353808a72bb 100644 --- a/code/frameworks/angular/package.json +++ b/code/frameworks/angular/package.json @@ -31,7 +31,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.27", diff --git a/code/frameworks/ember/package.json b/code/frameworks/ember/package.json index a08e729ff7fa..b5e47e012e10 100644 --- a/code/frameworks/ember/package.json +++ b/code/frameworks/ember/package.json @@ -27,7 +27,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/builder-webpack5": "7.0.0-alpha.27", diff --git a/code/frameworks/html-webpack5/package.json b/code/frameworks/html-webpack5/package.json index 21d9080d2148..8999e844d3a5 100644 --- a/code/frameworks/html-webpack5/package.json +++ b/code/frameworks/html-webpack5/package.json @@ -47,7 +47,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/builder-webpack5": "7.0.0-alpha.27", diff --git a/code/frameworks/preact-webpack5/package.json b/code/frameworks/preact-webpack5/package.json index 6694c82068ad..537ff88b543b 100644 --- a/code/frameworks/preact-webpack5/package.json +++ b/code/frameworks/preact-webpack5/package.json @@ -47,7 +47,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/builder-webpack5": "7.0.0-alpha.27", diff --git a/code/frameworks/react-vite/package.json b/code/frameworks/react-vite/package.json index 7e2ef4916ceb..bed0f6973b88 100644 --- a/code/frameworks/react-vite/package.json +++ b/code/frameworks/react-vite/package.json @@ -48,7 +48,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@joshwooding/vite-plugin-react-docgen-typescript": "^0.0.5", diff --git a/code/frameworks/react-webpack5/package.json b/code/frameworks/react-webpack5/package.json index fc29f30548db..4cf8d819fafe 100644 --- a/code/frameworks/react-webpack5/package.json +++ b/code/frameworks/react-webpack5/package.json @@ -48,7 +48,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/builder-webpack5": "7.0.0-alpha.27", diff --git a/code/frameworks/server-webpack5/package.json b/code/frameworks/server-webpack5/package.json index 6597ef7f700a..f98b6797c6d9 100644 --- a/code/frameworks/server-webpack5/package.json +++ b/code/frameworks/server-webpack5/package.json @@ -47,7 +47,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/builder-webpack5": "7.0.0-alpha.27", diff --git a/code/frameworks/svelte-vite/package.json b/code/frameworks/svelte-vite/package.json index f9b06976e9c0..6651f5c2c199 100644 --- a/code/frameworks/svelte-vite/package.json +++ b/code/frameworks/svelte-vite/package.json @@ -48,7 +48,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/addon-svelte-csf": "^2.0.0", diff --git a/code/frameworks/svelte-webpack5/package.json b/code/frameworks/svelte-webpack5/package.json index 09dd64e72740..88577d973e71 100644 --- a/code/frameworks/svelte-webpack5/package.json +++ b/code/frameworks/svelte-webpack5/package.json @@ -48,7 +48,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/builder-webpack5": "7.0.0-alpha.27", diff --git a/code/frameworks/vue-webpack5/package.json b/code/frameworks/vue-webpack5/package.json index 36cd9344e211..aadf019cf6cd 100644 --- a/code/frameworks/vue-webpack5/package.json +++ b/code/frameworks/vue-webpack5/package.json @@ -47,7 +47,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/builder-webpack5": "7.0.0-alpha.27", diff --git a/code/frameworks/vue3-vite/package.json b/code/frameworks/vue3-vite/package.json index e992b492f925..1e2011e08cfa 100644 --- a/code/frameworks/vue3-vite/package.json +++ b/code/frameworks/vue3-vite/package.json @@ -48,7 +48,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/builder-vite": "7.0.0-alpha.27", diff --git a/code/frameworks/vue3-webpack5/package.json b/code/frameworks/vue3-webpack5/package.json index b518e33108cb..cff02dbffd6a 100644 --- a/code/frameworks/vue3-webpack5/package.json +++ b/code/frameworks/vue3-webpack5/package.json @@ -47,7 +47,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/builder-webpack5": "7.0.0-alpha.27", diff --git a/code/frameworks/web-components-webpack5/package.json b/code/frameworks/web-components-webpack5/package.json index 638a9efba080..68a4147dd902 100644 --- a/code/frameworks/web-components-webpack5/package.json +++ b/code/frameworks/web-components-webpack5/package.json @@ -49,7 +49,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@babel/preset-env": "^7.12.11", diff --git a/code/lib/addons/package.json b/code/lib/addons/package.json index 854effc5e6ae..6283deebea51 100644 --- a/code/lib/addons/package.json +++ b/code/lib/addons/package.json @@ -31,7 +31,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/api": "7.0.0-alpha.27", diff --git a/code/lib/api/package.json b/code/lib/api/package.json index b35bbc4d1eae..5b57bd648337 100644 --- a/code/lib/api/package.json +++ b/code/lib/api/package.json @@ -29,7 +29,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/channels": "7.0.0-alpha.27", diff --git a/code/lib/blocks/package.json b/code/lib/blocks/package.json index b5a39505ac22..0af5664f92e3 100644 --- a/code/lib/blocks/package.json +++ b/code/lib/blocks/package.json @@ -38,7 +38,7 @@ "*.d.ts" ], "scripts": { - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/api": "7.0.0-alpha.27", diff --git a/code/lib/builder-manager/package.json b/code/lib/builder-manager/package.json index 84dbe3e2bbeb..d0bd5ef5a595 100644 --- a/code/lib/builder-manager/package.json +++ b/code/lib/builder-manager/package.json @@ -38,7 +38,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@fal-works/esbuild-plugin-global-externals": "^2.1.2", diff --git a/code/lib/builder-vite/package.json b/code/lib/builder-vite/package.json index 4636a4879a10..2e34cd924fb9 100644 --- a/code/lib/builder-vite/package.json +++ b/code/lib/builder-vite/package.json @@ -15,7 +15,7 @@ "types": "dist/types/index.d.ts", "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { "@joshwooding/vite-plugin-react-docgen-typescript": "0.0.5", diff --git a/code/lib/builder-webpack5/package.json b/code/lib/builder-webpack5/package.json index 5a29a43cdaa4..6759a4701c24 100644 --- a/code/lib/builder-webpack5/package.json +++ b/code/lib/builder-webpack5/package.json @@ -30,7 +30,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { "@babel/core": "^7.12.10", diff --git a/code/lib/channel-postmessage/package.json b/code/lib/channel-postmessage/package.json index b1c60697ffa4..3b5237b068e8 100644 --- a/code/lib/channel-postmessage/package.json +++ b/code/lib/channel-postmessage/package.json @@ -31,7 +31,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/channels": "7.0.0-alpha.27", diff --git a/code/lib/channel-websocket/package.json b/code/lib/channel-websocket/package.json index b81f7421a280..4d90d0a178a9 100644 --- a/code/lib/channel-websocket/package.json +++ b/code/lib/channel-websocket/package.json @@ -31,7 +31,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/channels": "7.0.0-alpha.27", diff --git a/code/lib/channels/package.json b/code/lib/channels/package.json index 71046dca3d0b..9929fdce140e 100644 --- a/code/lib/channels/package.json +++ b/code/lib/channels/package.json @@ -39,7 +39,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "core-js": "^3.8.2", diff --git a/code/lib/cli-sb/package.json b/code/lib/cli-sb/package.json index 0ef6ba6d6a89..b58856b7f45b 100644 --- a/code/lib/cli-sb/package.json +++ b/code/lib/cli-sb/package.json @@ -22,7 +22,7 @@ "bin": "./index.js", "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/cli": "7.0.0-alpha.27" diff --git a/code/lib/cli-storybook/package.json b/code/lib/cli-storybook/package.json index a53949132b9e..3f54f1fd3839 100644 --- a/code/lib/cli-storybook/package.json +++ b/code/lib/cli-storybook/package.json @@ -25,7 +25,7 @@ }, "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/cli": "7.0.0-alpha.27" diff --git a/code/lib/cli/package.json b/code/lib/cli/package.json index ecc936dde4cc..c294510a69a7 100644 --- a/code/lib/cli/package.json +++ b/code/lib/cli/package.json @@ -35,7 +35,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js", + "prep": "node ../../../scripts/prepare.js", "test": "jest test/**/*.test.js" }, "dependencies": { diff --git a/code/lib/client-api/package.json b/code/lib/client-api/package.json index 5f21c2a2bb18..32c31a2939b4 100644 --- a/code/lib/client-api/package.json +++ b/code/lib/client-api/package.json @@ -31,7 +31,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.27", diff --git a/code/lib/client-logger/package.json b/code/lib/client-logger/package.json index 8e22f0596a8b..bf0a95dab29f 100644 --- a/code/lib/client-logger/package.json +++ b/code/lib/client-logger/package.json @@ -39,7 +39,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "core-js": "^3.8.2", diff --git a/code/lib/codemod/package.json b/code/lib/codemod/package.json index fee29a153cb0..1efa64ce5ce2 100644 --- a/code/lib/codemod/package.json +++ b/code/lib/codemod/package.json @@ -32,7 +32,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { "@babel/types": "^7.12.11", diff --git a/code/lib/components/package.json b/code/lib/components/package.json index ac25f2060052..52c38f9158d1 100644 --- a/code/lib/components/package.json +++ b/code/lib/components/package.json @@ -48,7 +48,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/client-logger": "7.0.0-alpha.27", diff --git a/code/lib/core-client/package.json b/code/lib/core-client/package.json index 9404f2582e63..0b911e481331 100644 --- a/code/lib/core-client/package.json +++ b/code/lib/core-client/package.json @@ -31,7 +31,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.27", diff --git a/code/lib/core-common/package.json b/code/lib/core-common/package.json index 910be56f72bc..d764bb6fe224 100644 --- a/code/lib/core-common/package.json +++ b/code/lib/core-common/package.json @@ -43,7 +43,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@babel/core": "^7.12.10", diff --git a/code/lib/core-events/package.json b/code/lib/core-events/package.json index e5e6a7bd61c2..879c02f0e9bd 100644 --- a/code/lib/core-events/package.json +++ b/code/lib/core-events/package.json @@ -39,7 +39,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "core-js": "^3.8.2" diff --git a/code/lib/core-server/package.json b/code/lib/core-server/package.json index 45198e08f412..f615cc2eb8a7 100644 --- a/code/lib/core-server/package.json +++ b/code/lib/core-server/package.json @@ -30,7 +30,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { "@aw-web-design/x-default-browser": "1.4.88", diff --git a/code/lib/core-webpack/package.json b/code/lib/core-webpack/package.json index 3d7ece4f5ed2..e21b08d381a0 100644 --- a/code/lib/core-webpack/package.json +++ b/code/lib/core-webpack/package.json @@ -39,7 +39,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/core-common": "7.0.0-alpha.27", diff --git a/code/lib/csf-tools/package.json b/code/lib/csf-tools/package.json index 49aef34b389c..2e30e040e8a6 100644 --- a/code/lib/csf-tools/package.json +++ b/code/lib/csf-tools/package.json @@ -31,7 +31,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { "@babel/core": "^7.12.10", diff --git a/code/lib/docs-tools/package.json b/code/lib/docs-tools/package.json index 7d746eeb3290..c9d145fe04b9 100644 --- a/code/lib/docs-tools/package.json +++ b/code/lib/docs-tools/package.json @@ -31,7 +31,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { "@babel/core": "^7.12.10", diff --git a/code/lib/instrumenter/package.json b/code/lib/instrumenter/package.json index cb3fecac73ab..13b573aa84f3 100644 --- a/code/lib/instrumenter/package.json +++ b/code/lib/instrumenter/package.json @@ -31,7 +31,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.27", diff --git a/code/lib/node-logger/package.json b/code/lib/node-logger/package.json index 07fc3f1d7b2c..73ffafe2e6d1 100644 --- a/code/lib/node-logger/package.json +++ b/code/lib/node-logger/package.json @@ -31,7 +31,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { "@types/npmlog": "^4.1.2", diff --git a/code/lib/postinstall/package.json b/code/lib/postinstall/package.json index 5aa8af0cd027..a038a429ebe7 100644 --- a/code/lib/postinstall/package.json +++ b/code/lib/postinstall/package.json @@ -32,7 +32,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { "core-js": "^3.8.2" diff --git a/code/lib/preview-web/package.json b/code/lib/preview-web/package.json index c75ce68d1c1d..6a62c12314de 100644 --- a/code/lib/preview-web/package.json +++ b/code/lib/preview-web/package.json @@ -31,7 +31,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.27", diff --git a/code/lib/router/package.json b/code/lib/router/package.json index d576ed46e582..269dac9d1d15 100644 --- a/code/lib/router/package.json +++ b/code/lib/router/package.json @@ -31,7 +31,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "ts-node ../../../scripts/prebundle.ts" + "prep": "ts-node ../../../scripts/prebundle.ts" }, "dependencies": { "@storybook/client-logger": "7.0.0-alpha.27", diff --git a/code/lib/source-loader/package.json b/code/lib/source-loader/package.json index 7a2954c59862..097a30223302 100644 --- a/code/lib/source-loader/package.json +++ b/code/lib/source-loader/package.json @@ -32,7 +32,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.27", diff --git a/code/lib/store/package.json b/code/lib/store/package.json index 28bf5c6ca59f..e03f6f19ba31 100644 --- a/code/lib/store/package.json +++ b/code/lib/store/package.json @@ -31,7 +31,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.27", diff --git a/code/lib/telemetry/package.json b/code/lib/telemetry/package.json index d9f358b18076..de50681680ce 100644 --- a/code/lib/telemetry/package.json +++ b/code/lib/telemetry/package.json @@ -31,7 +31,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/client-logger": "7.0.0-alpha.27", diff --git a/code/lib/theming/package.json b/code/lib/theming/package.json index 1fff3db6d397..fe5e82d65a7b 100644 --- a/code/lib/theming/package.json +++ b/code/lib/theming/package.json @@ -44,7 +44,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/client-logger": "7.0.0-alpha.27", diff --git a/code/lib/ui/package.json b/code/lib/ui/package.json index f68abae2ae8b..2ce7fa5aaad7 100644 --- a/code/lib/ui/package.json +++ b/code/lib/ui/package.json @@ -49,7 +49,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "devDependencies": { "@babel/core": "^7.12.10", diff --git a/code/nx.json b/code/nx.json index 0bbac844f65f..47440068e4dd 100644 --- a/code/nx.json +++ b/code/nx.json @@ -10,7 +10,7 @@ "default": { "runner": "@nrwl/nx-cloud", "options": { - "cacheableOperations": ["build", "test", "lint", "package", "prepare"], + "cacheableOperations": ["build", "test", "lint", "package", "prep"], "accessToken": "NGVmYTkxMmItYzY3OS00MjkxLTk1ZDktZDFmYTFmNmVlNGY4fHJlYWQ=", "canTrackAnalytics": false, "showUsageWarnings": true, @@ -34,9 +34,9 @@ "projects": "dependencies" } ], - "prepare": [ + "prep": [ { - "target": "prepare", + "target": "prep", "projects": "dependencies" } ] diff --git a/code/presets/html-webpack/package.json b/code/presets/html-webpack/package.json index 6f7e25b085c3..e895efbeb4bd 100644 --- a/code/presets/html-webpack/package.json +++ b/code/presets/html-webpack/package.json @@ -47,7 +47,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/core-webpack": "7.0.0-alpha.27", diff --git a/code/presets/preact-webpack/package.json b/code/presets/preact-webpack/package.json index 08d9f302de0f..9b88677b3676 100644 --- a/code/presets/preact-webpack/package.json +++ b/code/presets/preact-webpack/package.json @@ -47,7 +47,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@babel/plugin-transform-react-jsx": "^7.12.12", diff --git a/code/presets/react-webpack/package.json b/code/presets/react-webpack/package.json index bc2df4154bc4..5d6536062b0e 100644 --- a/code/presets/react-webpack/package.json +++ b/code/presets/react-webpack/package.json @@ -68,7 +68,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@babel/preset-flow": "^7.12.1", diff --git a/code/presets/server-webpack/package.json b/code/presets/server-webpack/package.json index f7a94047dcdc..ec6a16e3adfe 100644 --- a/code/presets/server-webpack/package.json +++ b/code/presets/server-webpack/package.json @@ -52,7 +52,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/core-server": "7.0.0-alpha.27", diff --git a/code/presets/svelte-webpack/package.json b/code/presets/svelte-webpack/package.json index f137f001231a..0fbcc3cbf67f 100644 --- a/code/presets/svelte-webpack/package.json +++ b/code/presets/svelte-webpack/package.json @@ -62,7 +62,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/core-webpack": "7.0.0-alpha.27", diff --git a/code/presets/vue-webpack/package.json b/code/presets/vue-webpack/package.json index 6b2a2e8925c0..b3be76a1ef06 100644 --- a/code/presets/vue-webpack/package.json +++ b/code/presets/vue-webpack/package.json @@ -57,7 +57,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/core-webpack": "7.0.0-alpha.27", diff --git a/code/presets/vue3-webpack/package.json b/code/presets/vue3-webpack/package.json index d1e6e843af9a..827aa180709e 100644 --- a/code/presets/vue3-webpack/package.json +++ b/code/presets/vue3-webpack/package.json @@ -57,7 +57,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/core-webpack": "7.0.0-alpha.27", diff --git a/code/presets/web-components-webpack/package.json b/code/presets/web-components-webpack/package.json index 3eeb16fb9d27..4ba12d8e7b45 100644 --- a/code/presets/web-components-webpack/package.json +++ b/code/presets/web-components-webpack/package.json @@ -49,7 +49,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@babel/plugin-syntax-dynamic-import": "^7.8.3", diff --git a/code/renderers/html/package.json b/code/renderers/html/package.json index 2029b60449ed..b176397946a6 100644 --- a/code/renderers/html/package.json +++ b/code/renderers/html/package.json @@ -47,7 +47,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.27", diff --git a/code/renderers/preact/package.json b/code/renderers/preact/package.json index ce3d19af5827..ecf5ee990ba8 100644 --- a/code/renderers/preact/package.json +++ b/code/renderers/preact/package.json @@ -47,7 +47,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.27", diff --git a/code/renderers/react/package.json b/code/renderers/react/package.json index fc295369c4ef..7b38c1773716 100644 --- a/code/renderers/react/package.json +++ b/code/renderers/react/package.json @@ -48,7 +48,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.27", diff --git a/code/renderers/server/package.json b/code/renderers/server/package.json index 6361c83baabe..96dff2241837 100644 --- a/code/renderers/server/package.json +++ b/code/renderers/server/package.json @@ -47,7 +47,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.27", diff --git a/code/renderers/svelte/package.json b/code/renderers/svelte/package.json index 7219808d5409..3c74af92399f 100644 --- a/code/renderers/svelte/package.json +++ b/code/renderers/svelte/package.json @@ -51,7 +51,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.27", diff --git a/code/renderers/vue/package.json b/code/renderers/vue/package.json index b8d432cd7c43..dd75a7afa551 100644 --- a/code/renderers/vue/package.json +++ b/code/renderers/vue/package.json @@ -47,7 +47,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.27", diff --git a/code/renderers/vue3/package.json b/code/renderers/vue3/package.json index 5a5abc7cbb00..7424442d988c 100644 --- a/code/renderers/vue3/package.json +++ b/code/renderers/vue3/package.json @@ -47,7 +47,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.27", diff --git a/code/renderers/web-components/package.json b/code/renderers/web-components/package.json index 10de7648a3c2..45fcf44670d5 100644 --- a/code/renderers/web-components/package.json +++ b/code/renderers/web-components/package.json @@ -49,7 +49,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.27", diff --git a/scripts/bootstrap.js b/scripts/bootstrap.js index 4fc16a11063d..ad9e248bb649 100755 --- a/scripts/bootstrap.js +++ b/scripts/bootstrap.js @@ -74,9 +74,9 @@ function run() { defaultValue: true, option: '--prep', command: () => { - log.info(prefix, 'prepare'); + log.info(prefix, 'prep'); spawn( - `nx run-many --target="prepare" --all --parallel --exclude=@storybook/addon-storyshots,@storybook/addon-storyshots-puppeteer -- --reset` + `nx run-many --target="prep" --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, 'prepare'); + log.info(prefix, 'prep'); spawn( - `nx run-many --target=prepare --all --parallel --only-failed ${ + `nx run-many --target=prep --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="prepare" --all --parallel=8 ${ + `nx run-many --target="prep" --all --parallel=8 ${ process.env.CI ? `--max-parallel=${maxConcurrentTasks}` : '' } -- --reset --optimized` ); diff --git a/scripts/build-package.js b/scripts/build-package.js index f9df57b1f7c2..70468be2e0ea 100644 --- a/scripts/build-package.js +++ b/scripts/build-package.js @@ -113,7 +113,7 @@ async function run() { } selection?.filter(Boolean).forEach(async (v) => { - const commmand = (await readJSON(resolve(v.location, 'package.json'))).scripts.prepare; + const commmand = (await readJSON(resolve(v.location, 'package.json'))).scripts.prep; const cwd = resolve(__dirname, '..', 'code', v.location); const sub = require('execa').command( `${commmand}${watchMode ? ' --watch' : ''}${prodMode ? ' --optimized' : ''}`, diff --git a/scripts/prepare.js b/scripts/prepare.js index 2511464abe5a..45157da8ea27 100644 --- a/scripts/prepare.js +++ b/scripts/prepare.js @@ -68,7 +68,7 @@ const hasFlag = (flags, name) => !!flags.find((s) => s.startsWith(`--${name}`)); const modules = true; -async function prepare({ cwd, flags }) { +async function prep({ 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 prepare({ cwd, flags }) { const flags = process.argv.slice(2); const cwd = process.cwd(); -prepare({ cwd, flags }); +prep({ cwd, flags });