@storybook/sveltekit 7.1.0-alpha.0 → 7.1.0-alpha.1
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 +3 -3
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -52,7 +52,7 @@ This is just the beginning. We're close to adding basic support for many of the
|
|
|
52
52
|
Run the following command in your SvelteKit project's root directory, and follow the prompts:
|
|
53
53
|
|
|
54
54
|
```bash
|
|
55
|
-
npx storybook@
|
|
55
|
+
npx storybook@latest init
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
[More on getting started with Storybook](https://storybook.js.org/docs/svelte/get-started/install)
|
|
@@ -62,7 +62,7 @@ npx storybook@next init
|
|
|
62
62
|
This framework is designed to work with Storybook 7. If you’re not already using v7, upgrade with this command:
|
|
63
63
|
|
|
64
64
|
```bash
|
|
65
|
-
npx storybook@
|
|
65
|
+
npx storybook@latest upgrade --prerelease
|
|
66
66
|
```
|
|
67
67
|
|
|
68
68
|
#### Automatic migration
|
|
@@ -76,7 +76,7 @@ Storybook 7.0 automatically loads your Vite config, and by extension your Svelte
|
|
|
76
76
|
Install the framework:
|
|
77
77
|
|
|
78
78
|
```bash
|
|
79
|
-
yarn add -D @storybook/sveltekit
|
|
79
|
+
yarn add -D @storybook/sveltekit
|
|
80
80
|
```
|
|
81
81
|
|
|
82
82
|
Update your `main.js` to change the framework property:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/sveltekit",
|
|
3
|
-
"version": "7.1.0-alpha.
|
|
3
|
+
"version": "7.1.0-alpha.1",
|
|
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.1.0-alpha.
|
|
55
|
-
"@storybook/svelte": "7.1.0-alpha.
|
|
56
|
-
"@storybook/svelte-vite": "7.1.0-alpha.
|
|
54
|
+
"@storybook/builder-vite": "7.1.0-alpha.1",
|
|
55
|
+
"@storybook/svelte": "7.1.0-alpha.1",
|
|
56
|
+
"@storybook/svelte-vite": "7.1.0-alpha.1"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@types/node": "^16.0.0",
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
],
|
|
77
77
|
"platform": "node"
|
|
78
78
|
},
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "48a1df25493b1cc26a405096e723301f4bb04b4e"
|
|
80
80
|
}
|