mirror of
https://github.com/hanzoai/turborepo.git
synced 2026-10-30 19:44:51 +00:00
### Description - add `preview-storybook` task to turbo.json and it's script in the root's package.json - improvement on clean script - changed the tsup config of `@acme/ui` package not to make source map files in order to match the content of `ui/dist` directory stated in README of root - bug fix of README file. Replaced `acme-core` and other names that meant to point to packages/ui with `@acme/ui` ### Testing Instructions Running `npx create-turbo@latest -e design-system` and then `pnpm dev` should work and start storybook in dev mode. README.md file in the root should be fine too. --------- Co-authored-by: Dimitri Mitropoulos <[email protected]> Co-authored-by: Anthony Shew <[email protected]>
33 lines
917 B
JSON
33 lines
917 B
JSON
{
|
|
"name": "docs",
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "storybook dev -p 6006",
|
|
"build": "storybook build --docs",
|
|
"preview-storybook": "serve storybook-static",
|
|
"clean": "rm -rf .turbo node_modules",
|
|
"lint": "eslint ./stories/*.stories.tsx --max-warnings 0"
|
|
},
|
|
"dependencies": {
|
|
"@acme/ui": "workspace:*",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@repo/eslint-config": "workspace:*",
|
|
"@storybook/addon-actions": "^8.2.6",
|
|
"@storybook/addon-essentials": "^8.2.6",
|
|
"@storybook/addon-links": "^8.2.6",
|
|
"@storybook/react": "^8.2.6",
|
|
"@storybook/react-vite": "^8.2.6",
|
|
"@vitejs/plugin-react": "^4.2.1",
|
|
"eslint": "^8.57.0",
|
|
"serve": "^14.2.1",
|
|
"storybook": "^8.2.6",
|
|
"@repo/typescript-config": "workspace:*",
|
|
"typescript": "5.5.4",
|
|
"vite": "^5.1.4"
|
|
}
|
|
} |