Skip to content

Commit 1ede9c2

Browse files
committed
Add build-storybook script to package.json for improved Storybook build process in both root and docs apps.
1 parent 19f5069 commit 1ede9c2

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

apps/docs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"scripts": {
55
"dev": "storybook dev -p 6006",
66
"build": "storybook build",
7+
"build-storybook": "storybook build",
78
"storybook": "storybook dev -p 6006",
89
"serve": "http-server ./storybook-static -p 6006 -s",
910
"test": "start-server-and-test serve http://127.0.0.1:6006 'test-storybook --url http://127.0.0.1:6006'",

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"format-and-lint": "biome check .",
1717
"format-and-lint:fix": "biome check . --write",
1818
"prerelease": "turbo run build",
19-
"release": "changeset publish"
19+
"release": "changeset publish",
20+
"build-storybook": "turbo run build-storybook"
2021
},
2122
"devDependencies": {
2223
"@biomejs/biome": "^1.9.4",

0 commit comments

Comments
 (0)