Skip to content

Commit

Permalink
Merge pull request #27 from xyhomi3/add-storybook
Browse files Browse the repository at this point in the history
chore() update .gitignore, turbo.json  to deploy storybook
  • Loading branch information
lucien-loua authored Oct 9, 2024
2 parents 1a9a7fe + 50f6699 commit cafa8e9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ yarn-error.log*
# Misc
.DS_Store
*.pem
*storybook.log
*storybook.log
storybook-static
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"private": true,
"scripts": {
"build": "turbo build",
"build-storybook": "turbo build-storybook",
"dev": "turbo dev",
"lint": "turbo lint",
"test": "turbo test",
Expand Down
5 changes: 5 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
"inputs": ["$TURBO_DEFAULT$", ".env*"],
"outputs": [".next/**", "!.next/cache/**", "dist/**"]
},
"build-storybook": {
"dependsOn": ["^build"],
"inputs": ["$TURBO_DEFAULT$", ".env*"],
"outputs": ["storybook-static/**"]
},
"lint": {
"dependsOn": ["^lint"]
},
Expand Down

0 comments on commit cafa8e9

Please sign in to comment.