Skip to content

Commit

Permalink
Update storybook in examples to 6.4.0-beta.19 (#118)
Browse files Browse the repository at this point in the history
This updates our examples to use storybook 6.4.0-beta.19.  

One regression I've noticed so far is that the stories are no longer sorted by the export order, but rather alphabetically.  I haven't traced that down to a particular storybook version yet though.

This also uses yarn's `workspace:` protocol so we don't need to update them every time we bump the version of the builder. (https://yarnpkg.com/features/workspaces#publishing-workspaces)
  • Loading branch information
IanVS committed Oct 26, 2021
1 parent 5a308d3 commit 450dbf3
Show file tree
Hide file tree
Showing 7 changed files with 764 additions and 574 deletions.
1 change: 1 addition & 0 deletions packages/example-react/.storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module.exports = {
framework: "@storybook/react",
stories: [
'../stories/**/*.stories.mdx',
'../stories/**/*.stories.@(js|jsx|ts|tsx)',
Expand Down
10 changes: 5 additions & 5 deletions packages/example-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
"react-dom": "17.0.2"
},
"devDependencies": {
"@storybook/addon-a11y": "^6.3.3",
"@storybook/addon-docs": "^6.3.3",
"@storybook/addon-essentials": "^6.3.3",
"@storybook/react": "^6.3.3",
"storybook-builder-vite": "0.1.2",
"@storybook/addon-a11y": "^6.4.0-beta.19",
"@storybook/addon-docs": "^6.4.0-beta.19",
"@storybook/addon-essentials": "^6.4.0-beta.19",
"@storybook/react": "^6.4.0-beta.19",
"storybook-builder-vite": "workspace:*",
"vite": "^2.4.1"
}
}
1 change: 1 addition & 0 deletions packages/example-svelte/.storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module.exports = {
framework: '@storybook/svelte',
stories: [
'../stories/**/*.stories.mdx',
'../stories/**/*.stories.@(js|jsx|ts|tsx|svelte)',
Expand Down
10 changes: 5 additions & 5 deletions packages/example-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
"svelte": "^3.38.3"
},
"devDependencies": {
"@storybook/addon-actions": "^6.3.3",
"@storybook/addon-essentials": "^6.3.3",
"@storybook/addon-links": "^6.3.3",
"@storybook/addon-actions": "^6.4.0-beta.19",
"@storybook/addon-essentials": "^6.4.0-beta.19",
"@storybook/addon-links": "^6.4.0-beta.19",
"@storybook/addon-svelte-csf": "^1.1.0",
"@storybook/svelte": "^6.3.3",
"@storybook/svelte": "^6.4.0-beta.19",
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.11",
"storybook-builder-vite": "0.1.2",
"storybook-builder-vite": "workspace:*",
"vite": "^2.4.1"
}
}
1 change: 1 addition & 0 deletions packages/example-vue/.storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module.exports = {
framework: '@storybook/vue3',
stories: [
'../stories/**/*.stories.mdx',
'../stories/**/*.stories.@(js|jsx|ts|tsx)',
Expand Down
8 changes: 4 additions & 4 deletions packages/example-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
"vue": "^3.1.4"
},
"devDependencies": {
"@storybook/addon-a11y": "^6.3.3",
"@storybook/addon-essentials": "^6.3.3",
"@storybook/vue3": "^6.3.3",
"@storybook/addon-a11y": "^6.4.0-beta.19",
"@storybook/addon-essentials": "^6.4.0-beta.19",
"@storybook/vue3": "^6.4.0-beta.19",
"@vitejs/plugin-vue": "^1.2.4",
"storybook-builder-vite": "0.1.2",
"storybook-builder-vite": "workspace:*",
"vite": "^2.4.1"
}
}

0 comments on commit 450dbf3

Please sign in to comment.