@storybook/preact-vite 8.0.0-alpha.0 → 8.0.0-alpha.10

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
- export { F as FrameworkOptions, S as StorybookConfig } from './index-492d38ca.js';
1
+ export { F as FrameworkOptions, S as StorybookConfig } from './index-b2c3884b.js';
2
2
  import 'file-system-cache';
3
- import '@babel/core';
4
3
  import 'http';
5
4
  import '@storybook/builder-vite';
package/dist/preset.d.ts CHANGED
@@ -1,6 +1,5 @@
1
- import { P as PresetProperty, S as StorybookConfig } from './index-492d38ca.js';
1
+ import { P as PresetProperty, S as StorybookConfig } from './index-b2c3884b.js';
2
2
  import 'file-system-cache';
3
- import '@babel/core';
4
3
  import 'http';
5
4
  import '@storybook/builder-vite';
6
5
 
package/dist/preset.js CHANGED
@@ -1 +1 @@
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")),import_path=require("path"),getAbsolutePath=input=>(0,import_path.dirname)(require.resolve((0,import_path.join)(input,"package.json"))),core={builder:getAbsolutePath("@storybook/builder-vite"),renderer:getAbsolutePath("@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 __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __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 __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_path=require("path"),getAbsolutePath=input=>(0,import_path.dirname)(require.resolve((0,import_path.join)(input,"package.json"))),core={builder:getAbsolutePath("@storybook/builder-vite"),renderer:getAbsolutePath("@storybook/preact")},viteFinal=async config=>config;0&&(module.exports={core,viteFinal});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/preact-vite",
3
- "version": "8.0.0-alpha.0",
3
+ "version": "8.0.0-alpha.10",
4
4
  "description": "Storybook for Preact and Vite: Develop Preact components in isolation with Hot Reloading.",
5
5
  "keywords": [
6
6
  "storybook"
@@ -47,9 +47,8 @@
47
47
  "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
48
48
  },
49
49
  "dependencies": {
50
- "@preact/preset-vite": "^2.0.0",
51
- "@storybook/builder-vite": "8.0.0-alpha.0",
52
- "@storybook/preact": "8.0.0-alpha.0"
50
+ "@storybook/builder-vite": "8.0.0-alpha.10",
51
+ "@storybook/preact": "8.0.0-alpha.10"
53
52
  },
54
53
  "devDependencies": {
55
54
  "@types/node": "^18.0.0",
@@ -58,10 +57,10 @@
58
57
  },
59
58
  "peerDependencies": {
60
59
  "preact": ">=10",
61
- "vite": "^3.0.0 || ^4.0.0 || ^5.0.0"
60
+ "vite": "^4.0.0 || ^5.0.0"
62
61
  },
63
62
  "engines": {
64
- "node": ">=16"
63
+ "node": ">=18.0.0"
65
64
  },
66
65
  "publishConfig": {
67
66
  "access": "public"