Skip to content

Commit ad4fdf7

Browse files
committed
Properly build storybook now
1 parent 97db169 commit ad4fdf7

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

now.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"alias": "storybook-codesandbox",
55
"builds": [
66
{
7-
"src": "packages/common/package.json",
7+
"src": "package.json",
88
"use": "@now/static-build",
9-
"config": { "distDir": ".storybook" }
9+
"config": { "distDir": "packages/common/public" }
1010
}
1111
]
1212
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"test": "lerna run test --ignore codesandbox-browserfs",
3030
"test:integrations": "lerna exec --scope app --stream -- yarn test:integrations",
3131
"test:jest-lite": "lerna exec --scope app --stream -- yarn run test jest-lite --watch --coverage",
32+
"now-build": "yarn build:deps && lerna run build --scope build:storybook",
3233
"lint": "lerna run lint --stream",
3334
"add-contributor": "all-contributors add",
3435
"generate": "all-contributors generate",

packages/common/package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,5 @@
9696
"modulePathIgnorePatterns": [
9797
"lib"
9898
]
99-
},
100-
"engines": {
101-
"node": "^10.0.0"
10299
}
103100
}

0 commit comments

Comments
 (0)