@storybook/react-webpack5 8.3.0-alpha.4 → 8.3.0-alpha.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +2 -2
- package/dist/preset.d.ts +1 -1
- package/dist/preset.js +1 -1
- package/package.json +8 -8
package/dist/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import { ReactOptions, StorybookConfig as StorybookConfig$1, TypescriptOptions as TypescriptOptions$1 } from '@storybook/preset-react-webpack';
|
2
|
-
import { BuilderOptions, StorybookConfigWebpack, TypescriptOptions } from '@storybook/builder-webpack5';
|
3
1
|
import { CompatibleString } from 'storybook/internal/types';
|
2
|
+
import { BuilderOptions, StorybookConfigWebpack, TypescriptOptions } from '@storybook/builder-webpack5';
|
3
|
+
import { ReactOptions, StorybookConfig as StorybookConfig$1, TypescriptOptions as TypescriptOptions$1 } from '@storybook/preset-react-webpack';
|
4
4
|
|
5
5
|
type FrameworkName = CompatibleString<'@storybook/react-webpack5'>;
|
6
6
|
type BuilderName = CompatibleString<'@storybook/builder-webpack5'>;
|
package/dist/preset.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { PresetProperty } from 'storybook/internal/types';
|
2
2
|
import { StorybookConfig } from './index.js';
|
3
|
-
import '@storybook/preset-react-webpack';
|
4
3
|
import '@storybook/builder-webpack5';
|
4
|
+
import '@storybook/preset-react-webpack';
|
5
5
|
|
6
6
|
declare const addons: PresetProperty<'addons'>;
|
7
7
|
declare const core: PresetProperty<'core'>;
|
package/dist/preset.js
CHANGED
@@ -1 +1 @@
|
|
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,{addons:()=>addons,core:()=>core,webpack:()=>webpack});module.exports=__toCommonJS(preset_exports);var
|
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,{addons:()=>addons,core:()=>core,webpack:()=>webpack});module.exports=__toCommonJS(preset_exports);var import_node_path=require("path"),getAbsolutePath=input=>(0,import_node_path.dirname)(require.resolve((0,import_node_path.join)(input,"package.json"))),addons=[getAbsolutePath("@storybook/preset-react-webpack")],core=async(config,options)=>{let framework=await options.presets.apply("framework");return{...config,builder:{name:getAbsolutePath("@storybook/builder-webpack5"),options:typeof framework=="string"?{}:framework.options.builder||{}},renderer:getAbsolutePath("@storybook/react")}},webpack=async config=>(config.resolve=config.resolve||{},config.resolve.alias={...config.resolve?.alias,"@storybook/react":getAbsolutePath("@storybook/react")},config);0&&(module.exports={addons,core,webpack});
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@storybook/react-webpack5",
|
3
|
-
"version": "8.3.0-alpha.
|
3
|
+
"version": "8.3.0-alpha.5",
|
4
4
|
"description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
|
5
5
|
"keywords": [
|
6
6
|
"storybook"
|
@@ -43,19 +43,19 @@
|
|
43
43
|
"!src/**/*"
|
44
44
|
],
|
45
45
|
"scripts": {
|
46
|
-
"check": "
|
47
|
-
"prep": "
|
46
|
+
"check": "jiti ../../../scripts/prepare/check.ts",
|
47
|
+
"prep": "jiti ../../../scripts/prepare/bundle.ts"
|
48
48
|
},
|
49
49
|
"dependencies": {
|
50
|
-
"@storybook/builder-webpack5": "8.3.0-alpha.
|
51
|
-
"@storybook/preset-react-webpack": "8.3.0-alpha.
|
52
|
-
"@storybook/react": "8.3.0-alpha.
|
53
|
-
"@types/node": "^
|
50
|
+
"@storybook/builder-webpack5": "8.3.0-alpha.5",
|
51
|
+
"@storybook/preset-react-webpack": "8.3.0-alpha.5",
|
52
|
+
"@storybook/react": "8.3.0-alpha.5",
|
53
|
+
"@types/node": "^22.0.0"
|
54
54
|
},
|
55
55
|
"peerDependencies": {
|
56
56
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta",
|
57
57
|
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta",
|
58
|
-
"storybook": "^8.3.0-alpha.
|
58
|
+
"storybook": "^8.3.0-alpha.5",
|
59
59
|
"typescript": ">= 4.2.x"
|
60
60
|
},
|
61
61
|
"peerDependenciesMeta": {
|