@storybook/preact-vite 8.6.0-alpha.3 → 8.6.0-alpha.5

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.
Files changed (2) hide show
  1. package/README.md +3 -46
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -1,47 +1,4 @@
1
- # Storybook for Preact <!-- omit in toc -->
1
+ # Storybook for Preact & Vite
2
2
 
3
- ## Requirements
4
-
5
- - [Preact](https://preactjs.com/) >= 10.x
6
- - [Storybook](https://storybook.js.org/) >= 7.x
7
-
8
- ## Getting Started
9
-
10
- ### In a project without Storybook
11
-
12
- Follow the prompts after running this command in your Preact project's root directory:
13
-
14
- ```bash
15
- npx storybook@latest init
16
- ```
17
-
18
- [More on getting started with Storybook](https://storybook.js.org/docs/get-started/install?renderer=preact)
19
-
20
- ### In a project with Storybook
21
-
22
- This framework is designed to work with Storybook 7. If you’re not already using v7, upgrade with this command:
23
-
24
- ```bash
25
- npx storybook@latest upgrade
26
- ```
27
-
28
- #### Manual migration
29
-
30
- Install the framework:
31
-
32
- ```bash
33
- yarn add --dev @storybook/preact-vite
34
- ```
35
-
36
- Update your `main.js` to change the framework property:
37
-
38
- ```js
39
- // .storybook/main.js
40
- export default {
41
- // ...
42
- framework: {
43
- name: '@storybook/preact-vite', // <- Change this
44
- options: {},
45
- },
46
- };
47
- ```
3
+ See [documentation](https://storybook.js.org/docs/get-started/frameworks/preact-vite?renderer=preact) for installation instructions, usage examples, APIs, and more.
4
+ `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/preact-vite",
3
- "version": "8.6.0-alpha.3",
3
+ "version": "8.6.0-alpha.5",
4
4
  "description": "Storybook for Preact and Vite: Develop Preact components in isolation with Hot Reloading.",
5
5
  "keywords": [
6
6
  "storybook"
@@ -47,17 +47,17 @@
47
47
  "prep": "jiti ../../../scripts/prepare/bundle.ts"
48
48
  },
49
49
  "dependencies": {
50
- "@storybook/builder-vite": "8.6.0-alpha.3",
51
- "@storybook/preact": "8.6.0-alpha.3"
50
+ "@storybook/builder-vite": "8.6.0-alpha.5",
51
+ "@storybook/preact": "8.6.0-alpha.5"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@types/node": "^22.0.0",
55
- "typescript": "^5.3.2",
55
+ "typescript": "^5.7.3",
56
56
  "vite": "^4.0.0"
57
57
  },
58
58
  "peerDependencies": {
59
59
  "preact": ">=10",
60
- "storybook": "^8.6.0-alpha.3"
60
+ "storybook": "^8.6.0-alpha.5"
61
61
  },
62
62
  "engines": {
63
63
  "node": ">=18.0.0"