@storybook/preact-vite 7.0.7 → 7.0.9

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.mjs CHANGED
@@ -0,0 +1 @@
1
+
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@storybook/preact-vite",
3
- "version": "7.0.7",
3
+ "version": "7.0.9",
4
4
  "description": "Storybook for Preact and Vite: Develop Preact components in isolation with Hot Reloading.",
5
5
  "keywords": [
6
6
  "storybook"
7
7
  ],
8
- "homepage": "https://github.com/storybookjs/storybook/tree/main/frameworks/preact-vite",
8
+ "homepage": "https://github.com/storybookjs/storybook/tree/next/code/frameworks/preact-vite",
9
9
  "bugs": {
10
10
  "url": "https://github.com/storybookjs/storybook/issues"
11
11
  },
12
12
  "repository": {
13
13
  "type": "git",
14
14
  "url": "https://github.com/storybookjs/storybook.git",
15
- "directory": "frameworks/preact-vite"
15
+ "directory": "code/frameworks/preact-vite"
16
16
  },
17
17
  "funding": {
18
18
  "type": "opencollective",
@@ -21,14 +21,13 @@
21
21
  "license": "MIT",
22
22
  "exports": {
23
23
  ".": {
24
+ "types": "./dist/index.d.ts",
24
25
  "require": "./dist/index.js",
25
- "import": "./dist/index.mjs",
26
- "types": "./dist/index.d.ts"
26
+ "import": "./dist/index.mjs"
27
27
  },
28
28
  "./preset": {
29
- "require": "./dist/preset.js",
30
- "import": "./dist/preset.mjs",
31
- "types": "./dist/preset.d.ts"
29
+ "types": "./dist/preset.d.ts",
30
+ "require": "./dist/preset.js"
32
31
  },
33
32
  "./package.json": "./package.json"
34
33
  },
@@ -48,8 +47,8 @@
48
47
  },
49
48
  "dependencies": {
50
49
  "@preact/preset-vite": "^2.0.0",
51
- "@storybook/builder-vite": "7.0.7",
52
- "@storybook/preact": "7.0.7"
50
+ "@storybook/builder-vite": "7.0.9",
51
+ "@storybook/preact": "7.0.9"
53
52
  },
54
53
  "devDependencies": {
55
54
  "@types/node": "^16.0.0",
@@ -73,5 +72,5 @@
73
72
  ],
74
73
  "platform": "node"
75
74
  },
76
- "gitHead": "9e352853ca5ce94d81fcdb06c303b4fbf43f8971"
75
+ "gitHead": "797cfd6f12f94a65617c65f25b2d6546a689bf1b"
77
76
  }
package/dist/preset.mjs DELETED
@@ -1 +0,0 @@
1
- import{hasVitePlugins}from"@storybook/builder-vite";import preact from"@preact/preset-vite";var core={builder:"@storybook/builder-vite",renderer:"@storybook/preact"},viteFinal=async config=>{let{plugins=[]}=config;return await hasVitePlugins(plugins,["vite:preact-jsx"])||plugins.push(preact()),config};export{core,viteFinal};