Skip to content

Commit

Permalink
ensure stroybook deps are built
Browse files Browse the repository at this point in the history
  • Loading branch information
sndrs committed May 15, 2024
1 parent 6e35641 commit c1f3a26
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@
"wireit": {
"build": {
"command": "rollup -c",
"dependencies": [
"../source-foundations:build",
"../source-react-components:build"
],
"files": [
"../../../configs/rollup.config.js",
"./rollup.config.js",
Expand All @@ -70,7 +74,10 @@
},
"build-storybook": {
"command": "NODE_ENV=production storybook build --webpack-stats-json",
"dependencies": [],
"dependencies": [
"../source-foundations:build",
"../source-react-components:build"
],
"files": [
"**/*.{ts,tsx,js,json,mdx,md}",
"!storybook-static/**",
Expand Down
6 changes: 6 additions & 0 deletions libs/@guardian/source-react-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@
"wireit": {
"build": {
"command": "rollup -c",
"dependencies": [
"../source-foundations:build"
],
"files": [
"../../../configs/rollup.config.js",
"./rollup.config.js",
Expand All @@ -82,6 +85,9 @@
},
"build-storybook": {
"command": "NODE_ENV=production storybook build --webpack-stats-json",
"dependencies": [
"../source-foundations:build"
],
"files": [
"**/*.{ts,tsx,js,json,mdx,md}",
"!(dist|storybook-static)/**",
Expand Down

0 comments on commit c1f3a26

Please sign in to comment.