Skip to content

Commit

Permalink
docs(Storybook): add storysource (#2242)
Browse files Browse the repository at this point in the history
- Fixes #2230
  • Loading branch information
eirikbacker authored Aug 13, 2024
1 parent cc7e3f9 commit ee4510d
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/storybook/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ const config: StorybookConfig = {
getAbsolutePath('@storybook/addon-links'),
getAbsolutePath('@storybook/addon-essentials'),
getAbsolutePath('@storybook/addon-interactions'),
getAbsolutePath('@storybook/addon-storysource'),
getAbsolutePath('@storybook/addon-mdx-gfm'),
getAbsolutePath('@chromatic-com/storybook'),
'@storybook/addon-themes',
Expand Down
1 change: 1 addition & 0 deletions apps/storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"@storybook/addon-interactions": "^8.2.7",
"@storybook/addon-links": "^8.2.7",
"@storybook/addon-mdx-gfm": "^8.2.7",
"@storybook/addon-storysource": "^8.2.9",
"@storybook/addon-themes": "^8.2.7",
"@storybook/blocks": "^8.2.7",
"@storybook/manager-api": "^8.2.7",
Expand Down
28 changes: 28 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2891,6 +2891,7 @@ __metadata:
"@storybook/addon-interactions": "npm:^8.2.7"
"@storybook/addon-links": "npm:^8.2.7"
"@storybook/addon-mdx-gfm": "npm:^8.2.7"
"@storybook/addon-storysource": "npm:^8.2.9"
"@storybook/addon-themes": "npm:^8.2.7"
"@storybook/blocks": "npm:^8.2.7"
"@storybook/manager-api": "npm:^8.2.7"
Expand Down Expand Up @@ -4520,6 +4521,19 @@ __metadata:
languageName: node
linkType: hard

"@storybook/addon-storysource@npm:^8.2.9":
version: 8.2.9
resolution: "@storybook/addon-storysource@npm:8.2.9"
dependencies:
"@storybook/source-loader": "npm:8.2.9"
estraverse: "npm:^5.2.0"
tiny-invariant: "npm:^1.3.1"
peerDependencies:
storybook: ^8.2.9
checksum: 10/39e22d0f1f6d86d14b3e4692562bc8792b32ddbbd23aba11ca847a5a065d0ae3de2e11369508dcd006b33db788bf7de79e52c77c28e750612eda5cbce7ea9560
languageName: node
linkType: hard

"@storybook/addon-themes@npm:^8.2.7":
version: 8.2.7
resolution: "@storybook/addon-themes@npm:8.2.7"
Expand Down Expand Up @@ -4799,6 +4813,20 @@ __metadata:
languageName: node
linkType: hard

"@storybook/source-loader@npm:8.2.9":
version: 8.2.9
resolution: "@storybook/source-loader@npm:8.2.9"
dependencies:
"@storybook/csf": "npm:0.1.11"
estraverse: "npm:^5.2.0"
lodash: "npm:^4.17.21"
prettier: "npm:^3.1.1"
peerDependencies:
storybook: ^8.2.9
checksum: 10/f2c8fd02d567cd40155c313fa55fbd1ee9726003bad185f74e0584bccbfc68c17e135d43c94c4fa3e2d1de9eb60fc8f42a54c9a3708f2f689f61ddbd2e521e00
languageName: node
linkType: hard

"@storybook/test@npm:8.2.7":
version: 8.2.7
resolution: "@storybook/test@npm:8.2.7"
Expand Down

0 comments on commit ee4510d

Please sign in to comment.