@storybook/preact-vite 7.0.2 → 7.0.3
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +3 -3
- package/package.json +4 -4
package/README.md
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
Follow the prompts after running this command in your Preact project's root directory:
|
13
13
|
|
14
14
|
```bash
|
15
|
-
npx storybook@
|
15
|
+
npx storybook@latest init
|
16
16
|
```
|
17
17
|
|
18
18
|
[More on getting started with Storybook](https://storybook.js.org/docs/preact/get-started/install)
|
@@ -22,7 +22,7 @@ npx storybook@next init
|
|
22
22
|
This framework is designed to work with Storybook 7. If you’re not already using v7, upgrade with this command:
|
23
23
|
|
24
24
|
```bash
|
25
|
-
npx storybook@
|
25
|
+
npx storybook@latest upgrade --prerelease
|
26
26
|
```
|
27
27
|
|
28
28
|
#### Manual migration
|
@@ -30,7 +30,7 @@ npx storybook@next upgrade --prerelease
|
|
30
30
|
Install the framework:
|
31
31
|
|
32
32
|
```bash
|
33
|
-
yarn add --dev @storybook/preact-vite
|
33
|
+
yarn add --dev @storybook/preact-vite
|
34
34
|
```
|
35
35
|
|
36
36
|
Update your `main.js` to change the framework property:
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@storybook/preact-vite",
|
3
|
-
"version": "7.0.
|
3
|
+
"version": "7.0.3",
|
4
4
|
"description": "Storybook for Preact and Vite: Develop Preact components in isolation with Hot Reloading.",
|
5
5
|
"keywords": [
|
6
6
|
"storybook"
|
@@ -48,8 +48,8 @@
|
|
48
48
|
},
|
49
49
|
"dependencies": {
|
50
50
|
"@preact/preset-vite": "^2.0.0",
|
51
|
-
"@storybook/builder-vite": "7.0.
|
52
|
-
"@storybook/preact": "7.0.
|
51
|
+
"@storybook/builder-vite": "7.0.3",
|
52
|
+
"@storybook/preact": "7.0.3"
|
53
53
|
},
|
54
54
|
"devDependencies": {
|
55
55
|
"@types/node": "^16.0.0",
|
@@ -73,5 +73,5 @@
|
|
73
73
|
],
|
74
74
|
"platform": "node"
|
75
75
|
},
|
76
|
-
"gitHead": "
|
76
|
+
"gitHead": "71877c1f4ba6b2d8829adc200a9c4bb09f7bfc37"
|
77
77
|
}
|