@storybook/react-webpack5 0.0.0-pr-25254-sha-63c0cc3b → 0.0.0-pr-25244-sha-bd2cf8e0
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.
- package/dist/preset.d.ts +0 -13
- package/dist/preset.js +1 -1
- package/package.json +4 -4
package/dist/preset.d.ts
CHANGED
@@ -2643,7 +2643,6 @@ interface StoriesSpecifier {
|
|
2643
2643
|
type StoriesEntry = string | StoriesSpecifier;
|
2644
2644
|
interface IndexerOptions {
|
2645
2645
|
makeTitle: (userTitle?: string) => string;
|
2646
|
-
staticParameters?: string[];
|
2647
2646
|
}
|
2648
2647
|
interface IndexedStory {
|
2649
2648
|
id: string;
|
@@ -2713,10 +2712,6 @@ type BaseIndexInput = {
|
|
2713
2712
|
metaId?: MetaId;
|
2714
2713
|
/** Tags for filtering entries in Storybook and its tools. */
|
2715
2714
|
tags?: Tag[];
|
2716
|
-
/**
|
2717
|
-
* Experimental statically extracted parameters for the entry.
|
2718
|
-
*/
|
2719
|
-
parameters?: Parameters;
|
2720
2715
|
/**
|
2721
2716
|
* The id of the entry, auto-generated from {@link title}/{@link metaId} and {@link exportName} if unspecified.
|
2722
2717
|
* If specified, the story in the CSF file _must_ have a matching id set at `parameters.__id`, to be correctly matched.
|
@@ -2852,7 +2847,6 @@ interface CLIOptions {
|
|
2852
2847
|
debugWebpack?: boolean;
|
2853
2848
|
webpackStatsJson?: string | boolean;
|
2854
2849
|
outputDir?: string;
|
2855
|
-
experimentalStaticParameters?: string[];
|
2856
2850
|
}
|
2857
2851
|
interface BuilderOptions {
|
2858
2852
|
configType?: 'DEVELOPMENT' | 'PRODUCTION';
|
@@ -3020,13 +3014,6 @@ interface StorybookConfigRaw {
|
|
3020
3014
|
* Enable asynchronous component rendering in NextJS framework
|
3021
3015
|
*/
|
3022
3016
|
experimentalNextRSC?: boolean;
|
3023
|
-
/**
|
3024
|
-
* Legacy stories.json extraction. stories.json will be removed in v9,
|
3025
|
-
* use `index.json` instead.
|
3026
|
-
*
|
3027
|
-
* @deprecated
|
3028
|
-
*/
|
3029
|
-
buildLegacyStoriesJson?: boolean;
|
3030
3017
|
};
|
3031
3018
|
build?: TestBuildConfig;
|
3032
3019
|
stories: StoriesEntry[];
|
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,frameworkOptions:()=>frameworkOptions,webpack:()=>webpack});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"))),addons=[getAbsolutePath("@storybook/preset-react-webpack")],defaultFrameworkOptions={legacyRootApi:!0},frameworkOptions=async(_,options)=>{let config=await options.presets.apply("framework");return typeof config=="string"?{name:config,options:defaultFrameworkOptions}:typeof config>"u"?{name:getAbsolutePath("@storybook/react-webpack5"),options:defaultFrameworkOptions}:{name:config.name,options:{...defaultFrameworkOptions,...config.options}}},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=>
|
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,frameworkOptions:()=>frameworkOptions,webpack:()=>webpack});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"))),addons=[getAbsolutePath("@storybook/preset-react-webpack")],defaultFrameworkOptions={legacyRootApi:!0},frameworkOptions=async(_,options)=>{let config=await options.presets.apply("framework");return typeof config=="string"?{name:config,options:defaultFrameworkOptions}:typeof config>"u"?{name:getAbsolutePath("@storybook/react-webpack5"),options:defaultFrameworkOptions}:{name:config.name,options:{...defaultFrameworkOptions,...config.options}}},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,frameworkOptions,webpack});
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@storybook/react-webpack5",
|
3
|
-
"version": "0.0.0-pr-
|
3
|
+
"version": "0.0.0-pr-25244-sha-bd2cf8e0",
|
4
4
|
"description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
|
5
5
|
"keywords": [
|
6
6
|
"storybook"
|
@@ -47,9 +47,9 @@
|
|
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
|
-
"@storybook/builder-webpack5": "0.0.0-pr-
|
51
|
-
"@storybook/preset-react-webpack": "0.0.0-pr-
|
52
|
-
"@storybook/react": "0.0.0-pr-
|
50
|
+
"@storybook/builder-webpack5": "0.0.0-pr-25244-sha-bd2cf8e0",
|
51
|
+
"@storybook/preset-react-webpack": "0.0.0-pr-25244-sha-bd2cf8e0",
|
52
|
+
"@storybook/react": "0.0.0-pr-25244-sha-bd2cf8e0",
|
53
53
|
"@types/node": "^18.0.0"
|
54
54
|
},
|
55
55
|
"devDependencies": {
|