mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-08 04:55:06 +09:00
This PR builds on top of the work done in https://github.com/webstudio-is/webstudio-designer/pull/519 and introduces a root-level storybook that just aggregates all of the per-package storybooks into one. This allows you to have a single, convenient, URL to visit and browse all of those existing storybooks at once. To access this storybook you need to click on the `Details` link attached to the "Storybook Publish: !webstudio-is/webstudio-designer" status check. The current URL from this branch is available [here](https://638affb61acca1e593c6e558-dksaophpxa.chromatic.com/) so you can take a look at how this looks in practice.
49 lines
1.2 KiB
JSON
49 lines
1.2 KiB
JSON
{
|
|
"packageManager": "yarn@1.22.19",
|
|
"name": "turbo",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"workspaces": {
|
|
"packages": [
|
|
"apps/*",
|
|
"packages/*"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"build": "turbo run build",
|
|
"checks": "turbo run checks",
|
|
"dev": "turbo run dev --parallel",
|
|
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
|
|
"prepare": "husky install",
|
|
"build-storybook": "build-storybook",
|
|
"storybook": "turbo run storybook:run",
|
|
"storybook:build": "npm run build && turbo run storybook:build",
|
|
"storybook:ds:build": "turbo run storybook:build --filter=@webstudio-is/design-system",
|
|
"migrations": "cd apps/designer && migrations --dev"
|
|
},
|
|
"devDependencies": {
|
|
"@changesets/get-dependents-graph": "^1.3.4",
|
|
"@manypkg/get-packages": "^1.1.3",
|
|
"@storybook/react": "^6.5.9",
|
|
"@webstudio-is/eslint-config-custom": "*",
|
|
"chromatic": "^6.11.4",
|
|
"golden-fleece": "^1.0.9",
|
|
"husky": ">=6",
|
|
"lint-staged": "^13.0.2",
|
|
"prettier": "latest",
|
|
"turbo": "latest",
|
|
"typescript": "4.7.4"
|
|
},
|
|
"engines": {
|
|
"node": "16",
|
|
"yarn": "1.22"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx,js,json,css,md}": "prettier --write"
|
|
},
|
|
"prettier": {},
|
|
"resolutions": {
|
|
"esbuild": "0.15.13"
|
|
}
|
|
}
|