Skip to content

Commit

Permalink
chore: move storybook config to its own package
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-jonas committed Sep 26, 2024
1 parent 6733af1 commit df08746
Show file tree
Hide file tree
Showing 15 changed files with 2,366 additions and 74 deletions.
38 changes: 0 additions & 38 deletions .storybook/main.js

This file was deleted.

3 changes: 0 additions & 3 deletions .storybook/preview-head.html

This file was deleted.

15 changes: 13 additions & 2 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"default": {
"runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": ["build", "dev", "preview"]
"cacheableOperations": ["build", "dev", "preview", "build-storybook"]
}
}
},
Expand All @@ -15,5 +15,16 @@
},
"affected": {
"defaultBase": "main"
}
},
"plugins": [
{
"plugin": "@nx/storybook/plugin",
"options": {
"serveStorybookTargetName": "storybook",
"buildStorybookTargetName": "build",
"testStorybookTargetName": "test-storybook",
"staticStorybookTargetName": "static-storybook"
}
}
]
}
Loading

0 comments on commit df08746

Please sign in to comment.