- Re-tag core-trpc as core-composition (transitively reaches features
through core-api's AppRouter type) and allow core-composition packages
to depend on other core-composition packages in turbo.json
- Add @payloadcms/richtext-lexical as direct dep of apps/cms (was pulled
transitively via core-cms; Payload's importMap.js imports it directly)
- Add @storybook/react as devDep of core-ui and apps/storybook (stories
belong with components per Atomic Design)
- Update apps/storybook .storybook/{main,preview}.ts to point at
packages/core-ui (was still referencing deleted packages/ui) and export
CSS via package exports instead of direct file import
- Add JSDoc type annotation to Payload-generated importMap.js to suppress
TypeScript's TS2742 error from complex inferred types
- Add storybook-static to eslint ignores in core-eslint base config
pnpm turbo boundaries now reports zero violations.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
29 lines
740 B
JSON
29 lines
740 B
JSON
{
|
|
"name": "@repo/storybook",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "echo 'Storybook build — use pnpm dev for development'",
|
|
"build:storybook": "storybook build",
|
|
"dev": "storybook dev -p 6006",
|
|
"lint": "eslint ."
|
|
},
|
|
"dependencies": {
|
|
"@repo/core-ui": "workspace:*"
|
|
},
|
|
"devDependencies": {
|
|
"@repo/core-eslint": "workspace:*",
|
|
"@repo/core-typescript": "workspace:*",
|
|
"@storybook/addon-essentials": "^8.6.0",
|
|
"@storybook/react": "^8.6.0",
|
|
"@storybook/react-vite": "^8.6.0",
|
|
"@tailwindcss/vite": "^4.1.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"storybook": "^8.6.0",
|
|
"tailwindcss": "^4.1.0",
|
|
"vite": "^6.3.0"
|
|
}
|
|
}
|