|
5 | 5 | }, |
6 | 6 | "workspaces": [ |
7 | 7 | "packages/*", |
8 | | - "docs" |
9 | | - ], |
10 | | - "//workspaces": [ |
11 | | - "storybook", |
12 | | - "storybook-web" |
| 8 | + "docs", |
| 9 | + "storybook" |
13 | 10 | ], |
14 | 11 | "scripts": { |
15 | 12 | "start": "yarn docs", |
|
19 | 16 | "start-production": "cd docs && yarn start-production", |
20 | 17 | "start-production-static": "cd docs && yarn start-production-static", |
21 | 18 | "docs": "cd docs && yarn start", |
22 | | - "storybook": "cd storybook-web && yarn storybook", |
23 | | - "storybook:web": "cd storybook-web && yarn storybook", |
24 | | - "storybook:build": "cd storybook-web && yarn build-storybook", |
25 | | - "storybook:build:pages": "cd storybook-web && yarn build-storybook --output-dir ../docs/dist/storybook", |
26 | | - "storybook:test": "cd storybook-web && yarn test-storybook", |
27 | | - "storybook:test:watch": "cd storybook-web && yarn test-storybook:watch", |
28 | | - "storybook:native": "cd storybook && yarn start", |
29 | | - "storybook:native:web": "cd storybook && yarn web", |
30 | | - "storybook:native:build": "cd storybook && yarn build", |
| 19 | + "storybook": "yarn workspace startupjs-ui-storybook storybook", |
| 20 | + "storybook:web": "yarn workspace startupjs-ui-storybook storybook", |
| 21 | + "storybook:build": "yarn workspace startupjs-ui-storybook build-storybook", |
| 22 | + "storybook:build:pages": "yarn workspace startupjs-ui-storybook build-storybook --output-dir ../docs/dist/storybook", |
| 23 | + "storybook:test": "yarn workspace startupjs-ui-storybook test-storybook", |
| 24 | + "storybook:test:watch": "yarn workspace startupjs-ui-storybook test-storybook:watch", |
| 25 | + "storybook:native": "yarn workspace startupjs-ui-storybook start", |
| 26 | + "storybook:native:web": "yarn workspace startupjs-ui-storybook web", |
| 27 | + "storybook:native:build": "yarn workspace startupjs-ui-storybook build", |
31 | 28 | "test": "sh -c 'set -e; for dir in packages/*/; do echo \"Testing $dir\"; (cd \"$dir\" && yarn test) || { echo \"\\033[31mERROR: Tests failed for $dir\\033[0m\"; exit 1; }; done'", |
32 | 29 | "generate-package-dts": "node scripts/generate-package-dts.mjs", |
33 | 30 | "publish-patch": "dotenv -- npx lerna publish patch --conventional-commits --create-release=github", |
|
0 commit comments