Skip to content

Commit

Permalink
chore: move storybook config to its own package (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-jonas committed Oct 16, 2024
1 parent d5b629e commit 0fdccbe
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 8 deletions.
38 changes: 36 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": "true",
"scripts": {
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"build-storybook": "nx storybook legacy-stories",
"build:clean": "nx run-many --target=build --all --skip-nx-cache",
"build": "nx run-many --target=build --all",
"build:react": "nx run @ory/elements:build --skip-nx-cache",
Expand Down Expand Up @@ -52,8 +52,8 @@
"@storybook/node-logger": "8.3.0",
"@storybook/react": "8.3.0",
"@storybook/react-vite": "8.3.0",
"@storybook/test-runner": "^0.13.0",
"@storybook/testing-library": "^0.2.2",
"@storybook/test-runner": "0.13.0",
"@storybook/testing-library": "0.2.2",
"@storybook/types": "8.3.0",
"@types/express": "4.17.17",
"@types/jest": "29.5.12",
Expand Down
6 changes: 3 additions & 3 deletions packages/legacy-stories/project.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "storybook-host",
"name": "legacy-stories",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/storybook-host/src",
"sourceRoot": "packages/legacy-stories/src",
"projectType": "library",
"tags": [],
"// targets": "to see all targets run: nx show project storybook-host --web",
"// targets": "to see all targets run: nx show project legacy-stories --web",
"targets": {}
}

0 comments on commit 0fdccbe

Please sign in to comment.