@storybook/html-webpack5 7.0.0-beta.5 → 7.0.0-beta.50
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/index.js +1 -1
- package/dist/preset.d.ts +14 -16
- package/dist/preset.js +1 -1
- package/package.json +11 -13
package/dist/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";var
|
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/preset.d.ts
CHANGED
@@ -720,7 +720,7 @@ PackageJson$1.NonStandardEntryPoints &
|
|
720
720
|
PackageJson$1.TypeScriptConfiguration &
|
721
721
|
PackageJson$1.YarnConfiguration &
|
722
722
|
PackageJson$1.JSPMConfiguration;
|
723
|
-
|
723
|
+
type Tag = string;
|
724
724
|
interface Parameters {
|
725
725
|
[name: string]: any;
|
726
726
|
}
|
@@ -876,20 +876,17 @@ interface CLIOptions {
|
|
876
876
|
quiet?: boolean;
|
877
877
|
versionUpdates?: boolean;
|
878
878
|
releaseNotes?: boolean;
|
879
|
-
dll?: boolean;
|
880
879
|
docs?: boolean;
|
881
|
-
docsDll?: boolean;
|
882
|
-
uiDll?: boolean;
|
883
880
|
debugWebpack?: boolean;
|
884
881
|
webpackStatsJson?: string | boolean;
|
885
882
|
outputDir?: string;
|
886
883
|
}
|
887
884
|
interface BuilderOptions {
|
888
885
|
configType?: 'DEVELOPMENT' | 'PRODUCTION';
|
889
|
-
ignorePreview
|
890
|
-
cache
|
886
|
+
ignorePreview?: boolean;
|
887
|
+
cache?: FileSystemCache;
|
891
888
|
configDir: string;
|
892
|
-
docsMode
|
889
|
+
docsMode?: boolean;
|
893
890
|
features?: StorybookConfig['features'];
|
894
891
|
versionCheck?: VersionCheck;
|
895
892
|
releaseNotesData?: ReleaseNotesData;
|
@@ -935,18 +932,19 @@ type CoreCommon_StorybookRefs = Record<string, {
|
|
935
932
|
}>;
|
936
933
|
type DocsOptions = {
|
937
934
|
/**
|
938
|
-
* Should we generate docs entries at all under any circumstances? (i.e. can they be rendered)
|
935
|
+
* Should we disable generate docs entries at all under any circumstances? (i.e. can they be rendered)
|
939
936
|
*/
|
940
|
-
|
937
|
+
disable?: boolean;
|
941
938
|
/**
|
942
939
|
* What should we call the generated docs entries?
|
943
940
|
*/
|
944
941
|
defaultName?: string;
|
945
942
|
/**
|
946
|
-
* Should we generate a docs entry per CSF file
|
947
|
-
* Set to '
|
943
|
+
* Should we generate a docs entry per CSF file?
|
944
|
+
* Set to 'tag' (the default) to generate an entry for every CSF file with the
|
945
|
+
* 'autodocs' tag.
|
948
946
|
*/
|
949
|
-
|
947
|
+
autodocs?: boolean | 'tag';
|
950
948
|
/**
|
951
949
|
* Only show doc entries in the side bar (usually set with the `--docs` CLI flag)
|
952
950
|
*/
|
@@ -989,10 +987,6 @@ interface StorybookConfig {
|
|
989
987
|
* Enable a set of planned breaking changes for SB7.0
|
990
988
|
*/
|
991
989
|
breakingChangesV7?: boolean;
|
992
|
-
/**
|
993
|
-
* Enable the step debugger functionality in Addon-interactions.
|
994
|
-
*/
|
995
|
-
interactionsDebugger?: boolean;
|
996
990
|
/**
|
997
991
|
* Filter args with a "target" on the type from the render function (EXPERIMENTAL)
|
998
992
|
*/
|
@@ -1002,6 +996,10 @@ interface StorybookConfig {
|
|
1002
996
|
* Will be removed in 7.0.
|
1003
997
|
*/
|
1004
998
|
warnOnLegacyHierarchySeparator?: boolean;
|
999
|
+
/**
|
1000
|
+
* Use legacy MDX1, to help smooth migration to 7.0
|
1001
|
+
*/
|
1002
|
+
legacyMdx1?: boolean;
|
1005
1003
|
};
|
1006
1004
|
/**
|
1007
1005
|
* Tells Storybook where to find stories.
|
package/dist/preset.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";var
|
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,{addons:()=>addons,core:()=>core});module.exports=__toCommonJS(preset_exports);var import_path=__toESM(require("path")),addons=[import_path.default.dirname(require.resolve(import_path.default.join("@storybook/preset-html-webpack","package.json")))],core=async(config,options)=>{let framework=await options.presets.apply("framework");return{...config,builder:{name:import_path.default.dirname(require.resolve(import_path.default.join("@storybook/builder-webpack5","package.json"))),options:typeof framework=="string"?{}:framework.options.builder||{}},renderer:import_path.default.dirname(require.resolve(import_path.default.join("@storybook/html","package.json")))}};0&&(module.exports={addons,core});
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@storybook/html-webpack5",
|
3
|
-
"version": "7.0.0-beta.
|
3
|
+
"version": "7.0.0-beta.50",
|
4
4
|
"description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.",
|
5
5
|
"keywords": [
|
6
6
|
"storybook"
|
@@ -21,6 +21,7 @@
|
|
21
21
|
"license": "MIT",
|
22
22
|
"exports": {
|
23
23
|
".": {
|
24
|
+
"node": "./dist/index.js",
|
24
25
|
"require": "./dist/index.js",
|
25
26
|
"import": "./dist/index.mjs",
|
26
27
|
"types": "./dist/index.d.ts"
|
@@ -30,17 +31,14 @@
|
|
30
31
|
"import": "./dist/preset.mjs",
|
31
32
|
"types": "./dist/preset.d.ts"
|
32
33
|
},
|
33
|
-
"./package.json":
|
34
|
-
"require": "./package.json",
|
35
|
-
"import": "./package.json",
|
36
|
-
"types": "./package.json"
|
37
|
-
}
|
34
|
+
"./package.json": "./package.json"
|
38
35
|
},
|
39
36
|
"main": "dist/index.js",
|
40
37
|
"module": "dist/index.mjs",
|
41
38
|
"types": "dist/index.d.ts",
|
42
39
|
"files": [
|
43
40
|
"dist/**/*",
|
41
|
+
"template/**/*",
|
44
42
|
"README.md",
|
45
43
|
"*.js",
|
46
44
|
"*.d.ts"
|
@@ -50,12 +48,12 @@
|
|
50
48
|
"prep": "../../../scripts/prepare/bundle.ts"
|
51
49
|
},
|
52
50
|
"dependencies": {
|
53
|
-
"@storybook/builder-webpack5": "7.0.0-beta.
|
54
|
-
"@storybook/core-common": "7.0.0-beta.
|
55
|
-
"@storybook/
|
56
|
-
"@storybook/
|
57
|
-
"@
|
58
|
-
"
|
51
|
+
"@storybook/builder-webpack5": "7.0.0-beta.50",
|
52
|
+
"@storybook/core-common": "7.0.0-beta.50",
|
53
|
+
"@storybook/global": "^5.0.0",
|
54
|
+
"@storybook/html": "7.0.0-beta.50",
|
55
|
+
"@storybook/preset-html-webpack": "7.0.0-beta.50",
|
56
|
+
"@types/node": "^16.0.0"
|
59
57
|
},
|
60
58
|
"devDependencies": {
|
61
59
|
"typescript": "~4.9.3"
|
@@ -78,5 +76,5 @@
|
|
78
76
|
],
|
79
77
|
"platform": "node"
|
80
78
|
},
|
81
|
-
"gitHead": "
|
79
|
+
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
|
82
80
|
}
|