Skip to content

Commit

Permalink
Fix @storybook/test-runner
Browse files Browse the repository at this point in the history
  • Loading branch information
drozdzynski committed Oct 25, 2024
1 parent 4e19d9d commit 5236ec4
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 7 deletions.
Binary file modified .yarn/install-state.gz
Binary file not shown.
5 changes: 5 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@ enableGlobalCache: false
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.1.0.cjs

packageExtensions:
'@storybook/test-runner@*':
peerDependencies:
storybook: ">=8"
5 changes: 4 additions & 1 deletion packages/svelte/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,12 @@ function getAbsolutePath(value: string): any {
const config: StorybookConfig = {
stories: ['../stories/*.mdx', '../stories/*.stories.@(js|jsx|ts|tsx|svelte)'],
addons: [getAbsolutePath('@storybook/addon-links'), getAbsolutePath('@storybook/addon-essentials'), getAbsolutePath('@chromatic-com/storybook'), getAbsolutePath('@storybook/addon-interactions')],

framework: {
name: getAbsolutePath('@storybook/svelte-vite'),
options: {},
}
},

docs: {}
}
export default config
4 changes: 1 addition & 3 deletions packages/vue/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ const config: StorybookConfig = {
name: getAbsolutePath('@storybook/vue3-vite'),
options: {},
},
docs: {
autodocs: 'tag',
},
docs: {},
async viteFinal(config, options) {
return mergeConfig(config, {
plugins: [vue()],
Expand Down
2 changes: 1 addition & 1 deletion packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@storybook/addon-links": "^8.3.6",
"@storybook/blocks": "^8.3.6",
"@storybook/test": "^8.3.6",
"@storybook/test-runner": "0.19.1",
"@storybook/test-runner": "^0.19.1",
"@storybook/vue3": "^8.3.6",
"@storybook/vue3-vite": "^8.3.6",
"@swc/core": "^1.7.39",
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5319,7 +5319,7 @@ __metadata:
languageName: node
linkType: hard

"@storybook/test-runner@npm:0.19.1":
"@storybook/test-runner@npm:0.19.1, @storybook/test-runner@npm:^0.19.1":
version: 0.19.1
resolution: "@storybook/test-runner@npm:0.19.1"
dependencies:
Expand Down Expand Up @@ -5708,7 +5708,7 @@ __metadata:
"@storybook/addon-links": "npm:^8.3.6"
"@storybook/blocks": "npm:^8.3.6"
"@storybook/test": "npm:^8.3.6"
"@storybook/test-runner": "npm:0.19.1"
"@storybook/test-runner": "npm:^0.19.1"
"@storybook/vue3": "npm:^8.3.6"
"@storybook/vue3-vite": "npm:^8.3.6"
"@swc/core": "npm:^1.7.39"
Expand Down

0 comments on commit 5236ec4

Please sign in to comment.