Skip to content

Commit

Permalink
chore: initialize storybook using nx command
Browse files Browse the repository at this point in the history
`nx add @nx/storybook`
  • Loading branch information
MFarabi619 committed Sep 10, 2024
1 parent 333617b commit c79f80b
Show file tree
Hide file tree
Showing 4 changed files with 1,566 additions and 104 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,6 @@ Thumbs.db
# Next.js
.next
out


storybook-static
9 changes: 9 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,15 @@
"options": {
"targetName": "test"
}
},
{
"plugin": "@nx/storybook/plugin",
"options": {
"serveStorybookTargetName": "storybook",
"buildStorybookTargetName": "build-storybook",
"testStorybookTargetName": "test-storybook",
"staticStorybookTargetName": "static-storybook"
}
}
],
"generators": {
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"@nx/next": "19.5.7",
"@nx/playwright": "19.5.7",
"@nx/remix": "19.5.7",
"@nx/storybook": "19.5.7",
"@nx/vite": "^19.6.0",
"@nx/web": "19.5.7",
"@nx/workspace": "19.5.7",
Expand Down Expand Up @@ -102,6 +103,7 @@
"rehype-mermaid": "^2.1.0",
"remark-math": "^6.0.0",
"semantic-release": "^24.1.0",
"storybook": "^7.5.3",
"tailwindcss": "3.4.3",
"ts-jest": "^29.1.0",
"ts-node": "10.9.1",
Expand Down
Loading

0 comments on commit c79f80b

Please sign in to comment.