@storybook/sveltekit 7.0.0-beta.7 → 7.0.0-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -68,7 +68,7 @@ npx storybook@next upgrade --prerelease
|
|
|
68
68
|
|
|
69
69
|
When running the `upgrade` command above you should get a prompt asking you to migrate to `@storybook/sveltekit`, which should handle everything for you. In some cases it can't migrate for you, eg. if your existing Storybook setup is based on Webpack. In such cases, refer to the manual migration below.
|
|
70
70
|
|
|
71
|
-
Storybook 7.0 automatically loads your Vite config, and by extension your Svelte config. If you
|
|
71
|
+
Storybook 7.0 automatically loads your Vite config, and by extension your Svelte config. If you had a `svelteOptions` property in `.storybook/main.cjs` the automigration will have removed it, as it is no longer supported.
|
|
72
72
|
|
|
73
73
|
#### Manual migration
|
|
74
74
|
|
|
@@ -109,7 +109,7 @@ yarn remove @storybook/builder-vite
|
|
|
109
109
|
> ERR! SyntaxError: Identifier '__esbuild_register_import_meta_url__' has already been declared
|
|
110
110
|
> ```
|
|
111
111
|
|
|
112
|
-
You'll get this error when upgrading from 6.5 to 7.0. You need to remove the `svelteOptions` property in `.storybook/main.cjs`, as that is not supported by Storybook 7.0 + SvelteKit. The property is also not necessary anymore because the Vite and Svelte configurations are loaded automatically in Storybook 7.0.
|
|
112
|
+
You'll get this error when manually upgrading from 6.5 to 7.0. You need to remove the `svelteOptions` property in `.storybook/main.cjs`, as that is not supported by Storybook 7.0 + SvelteKit. The property is also not necessary anymore because the Vite and Svelte configurations are loaded automatically in Storybook 7.0.
|
|
113
113
|
|
|
114
114
|
## Acknowledgements
|
|
115
115
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/sveltekit",
|
|
3
|
-
"version": "7.0.0-beta.
|
|
3
|
+
"version": "7.0.0-beta.8",
|
|
4
4
|
"description": "Storybook for SvelteKit",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
"prep": "../../../scripts/prepare/bundle.ts"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@storybook/builder-vite": "7.0.0-beta.
|
|
55
|
-
"@storybook/svelte": "7.0.0-beta.
|
|
56
|
-
"@storybook/svelte-vite": "7.0.0-beta.
|
|
54
|
+
"@storybook/builder-vite": "7.0.0-beta.8",
|
|
55
|
+
"@storybook/svelte": "7.0.0-beta.8",
|
|
56
|
+
"@storybook/svelte-vite": "7.0.0-beta.8"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@types/node": "^16.0.0",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
],
|
|
81
81
|
"platform": "node"
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "5340574d89a799ec10959edc16ca140852cf355c"
|
|
84
84
|
}
|