@storybook/preact-vite 7.1.0-alpha.2 → 7.1.0-alpha.20
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -0
- package/dist/preset.js +1 -1
- package/package.json +10 -11
- package/dist/preset.mjs +0 -1
package/dist/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __hasOwnProp=Object.prototype.hasOwnProperty;var __copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toCommonJS=mod=>__copyProps(__defProp({},"__esModule",{value:!0}),mod);var src_exports={};module.exports=__toCommonJS(src_exports);
|
1
|
+
"use strict";var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __hasOwnProp=Object.prototype.hasOwnProperty;var __copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toCommonJS=mod=>__copyProps(__defProp({},"__esModule",{value:!0}),mod);var src_exports={};module.exports=__toCommonJS(src_exports);
|
package/dist/index.mjs
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
|
package/dist/preset.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0})},__copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod)),__toCommonJS=mod=>__copyProps(__defProp({},"__esModule",{value:!0}),mod);var preset_exports={};__export(preset_exports,{core:()=>core,viteFinal:()=>viteFinal});module.exports=__toCommonJS(preset_exports);var import_builder_vite=require("@storybook/builder-vite"),import_preset_vite=__toESM(require("@preact/preset-vite")),core={builder:"@storybook/builder-vite",renderer:"@storybook/preact"},viteFinal=async config=>{let{plugins=[]}=config;return await(0,import_builder_vite.hasVitePlugins)(plugins,["vite:preact-jsx"])||plugins.push((0,import_preset_vite.default)()),config};0&&(module.exports={core,viteFinal});
|
1
|
+
"use strict";var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0})},__copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod)),__toCommonJS=mod=>__copyProps(__defProp({},"__esModule",{value:!0}),mod);var preset_exports={};__export(preset_exports,{core:()=>core,viteFinal:()=>viteFinal});module.exports=__toCommonJS(preset_exports);var import_builder_vite=require("@storybook/builder-vite"),import_preset_vite=__toESM(require("@preact/preset-vite")),core={builder:"@storybook/builder-vite",renderer:"@storybook/preact"},viteFinal=async config=>{let{plugins=[]}=config;return await(0,import_builder_vite.hasVitePlugins)(plugins,["vite:preact-jsx"])||plugins.push((0,import_preset_vite.default)()),config};0&&(module.exports={core,viteFinal});
|
package/package.json
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
{
|
2
2
|
"name": "@storybook/preact-vite",
|
3
|
-
"version": "7.1.0-alpha.
|
3
|
+
"version": "7.1.0-alpha.20",
|
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/
|
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
|
-
"
|
30
|
-
"
|
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.1.0-alpha.
|
52
|
-
"@storybook/preact": "7.1.0-alpha.
|
50
|
+
"@storybook/builder-vite": "7.1.0-alpha.20",
|
51
|
+
"@storybook/preact": "7.1.0-alpha.20"
|
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": "
|
75
|
+
"gitHead": "4d0c4eda02b8afb329f1794fd62088e576fb1ec9"
|
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};
|