Skip to content

Commit

Permalink
clients: tweak Storybook dev command
Browse files Browse the repository at this point in the history
  • Loading branch information
frankie567 committed Jan 23, 2025
1 parent 1d01c70 commit 1d777d8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clients/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dev-web": "turbo run dev --filter=web",
"lint": "turbo run lint",
"test": "turbo run test",
"storybook": "turbo run build --filter=@polar-sh/* && cd apps/web && pnpm storybook",
"storybook": "turbo watch storybook",
"generate": "cd packages/sdk && pnpm generate",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"preinstall": "npx only-allow pnpm",
Expand All @@ -34,4 +34,4 @@
"INTERNAL_MISMATCH"
]
}
}
}
8 changes: 8 additions & 0 deletions clients/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"outputs": [
".next/**",
"!.next/cache/**",
"storybook-static/**",
"dist/**"
]
},
Expand All @@ -57,6 +58,13 @@
],
"cache": false,
"persistent": true
},
"storybook": {
"dependsOn": [
"^build"
],
"cache": false,
"persistent": true
}
}
}

0 comments on commit 1d777d8

Please sign in to comment.