@storybook/html-webpack5 0.0.0-pr-24798-sha-f16de2fb → 0.0.0-pr-24819-sha-347fb4f6
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 +5 -34
- package/package.json +6 -6
package/dist/preset.d.ts
CHANGED
@@ -800,7 +800,7 @@ type Indexer = BaseIndexer & {
|
|
800
800
|
*/
|
801
801
|
createIndex: (fileName: string, options: IndexerOptions) => Promise<IndexInput[]>;
|
802
802
|
/**
|
803
|
-
* @
|
803
|
+
* @soonDeprecated Use {@link index} instead
|
804
804
|
*/
|
805
805
|
indexer?: never;
|
806
806
|
};
|
@@ -809,7 +809,7 @@ type DeprecatedIndexer = BaseIndexer & {
|
|
809
809
|
createIndex?: never;
|
810
810
|
};
|
811
811
|
/**
|
812
|
-
* @
|
812
|
+
* @soonDeprecated Use {@link Indexer} instead
|
813
813
|
*/
|
814
814
|
type StoryIndexer = Indexer | DeprecatedIndexer;
|
815
815
|
/**
|
@@ -908,7 +908,6 @@ interface Presets {
|
|
908
908
|
apply(extension: 'managerEntries', config: [], args?: any): Promise<string[]>;
|
909
909
|
apply(extension: 'refs', config?: [], args?: any): Promise<unknown>;
|
910
910
|
apply(extension: 'core', config?: {}, args?: any): Promise<CoreConfig>;
|
911
|
-
apply(extension: 'build', config?: {}, args?: any): Promise<StorybookConfig['build']>;
|
912
911
|
apply<T>(extension: string, config?: T, args?: unknown): Promise<T>;
|
913
912
|
}
|
914
913
|
interface LoadedPreset {
|
@@ -940,6 +939,7 @@ interface CLIOptions {
|
|
940
939
|
enableCrashReports?: boolean;
|
941
940
|
host?: string;
|
942
941
|
initialPath?: string;
|
942
|
+
exactPort?: boolean;
|
943
943
|
/**
|
944
944
|
* @deprecated Use 'staticDirs' Storybook Configuration option instead
|
945
945
|
*/
|
@@ -957,7 +957,6 @@ interface CLIOptions {
|
|
957
957
|
quiet?: boolean;
|
958
958
|
versionUpdates?: boolean;
|
959
959
|
docs?: boolean;
|
960
|
-
test?: boolean;
|
961
960
|
debugWebpack?: boolean;
|
962
961
|
webpackStatsJson?: string | boolean;
|
963
962
|
outputDir?: string;
|
@@ -977,9 +976,7 @@ interface StorybookConfigOptions {
|
|
977
976
|
presets: Presets;
|
978
977
|
presetsList?: LoadedPreset[];
|
979
978
|
}
|
980
|
-
type Options = LoadOptions & StorybookConfigOptions & CLIOptions & BuilderOptions
|
981
|
-
build?: TestBuildConfig;
|
982
|
-
};
|
979
|
+
type Options = LoadOptions & StorybookConfigOptions & CLIOptions & BuilderOptions;
|
983
980
|
/**
|
984
981
|
* Options for TypeScript usage within Storybook.
|
985
982
|
*/
|
@@ -1029,31 +1026,6 @@ type DocsOptions = {
|
|
1029
1026
|
*/
|
1030
1027
|
docsMode?: boolean;
|
1031
1028
|
};
|
1032
|
-
interface TestBuildFlags {
|
1033
|
-
/**
|
1034
|
-
* The package @storybook/blocks will be excluded from the bundle, even when imported in e.g. the preview.
|
1035
|
-
*/
|
1036
|
-
emptyBlocks?: boolean;
|
1037
|
-
/**
|
1038
|
-
* Disable all addons
|
1039
|
-
*/
|
1040
|
-
removeNonFastAddons?: boolean;
|
1041
|
-
/**
|
1042
|
-
* Filter out .mdx stories entries
|
1043
|
-
*/
|
1044
|
-
removeMDXEntries?: boolean;
|
1045
|
-
/**
|
1046
|
-
* Override autodocs to be disabled
|
1047
|
-
*/
|
1048
|
-
removeAutoDocs?: boolean;
|
1049
|
-
/**
|
1050
|
-
* Override docgen to be disabled.
|
1051
|
-
*/
|
1052
|
-
disableDocgen?: boolean;
|
1053
|
-
}
|
1054
|
-
interface TestBuildConfig {
|
1055
|
-
test?: TestBuildFlags;
|
1056
|
-
}
|
1057
1029
|
/**
|
1058
1030
|
* The interface for Storybook configuration in `main.ts` files.
|
1059
1031
|
*/
|
@@ -1104,7 +1076,6 @@ interface StorybookConfig {
|
|
1104
1076
|
*/
|
1105
1077
|
legacyDecoratorFileOrder?: boolean;
|
1106
1078
|
};
|
1107
|
-
build?: TestBuildConfig;
|
1108
1079
|
/**
|
1109
1080
|
* Tells Storybook where to find stories.
|
1110
1081
|
*
|
@@ -1147,7 +1118,7 @@ interface StorybookConfig {
|
|
1147
1118
|
previewAnnotations?: PresetValue<Entry[]>;
|
1148
1119
|
/**
|
1149
1120
|
* Process CSF files for the story index.
|
1150
|
-
* @
|
1121
|
+
* @soonDeprecated use {@link experimental_indexers} instead
|
1151
1122
|
*/
|
1152
1123
|
storyIndexers?: PresetValue<StoryIndexer[]>;
|
1153
1124
|
/**
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@storybook/html-webpack5",
|
3
|
-
"version": "0.0.0-pr-
|
3
|
+
"version": "0.0.0-pr-24819-sha-347fb4f6",
|
4
4
|
"description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.",
|
5
5
|
"keywords": [
|
6
6
|
"storybook"
|
@@ -47,12 +47,12 @@
|
|
47
47
|
"prep": "../../../scripts/prepare/bundle.ts"
|
48
48
|
},
|
49
49
|
"dependencies": {
|
50
|
-
"@storybook/builder-webpack5": "0.0.0-pr-
|
51
|
-
"@storybook/core-common": "0.0.0-pr-
|
50
|
+
"@storybook/builder-webpack5": "0.0.0-pr-24819-sha-347fb4f6",
|
51
|
+
"@storybook/core-common": "0.0.0-pr-24819-sha-347fb4f6",
|
52
52
|
"@storybook/global": "^5.0.0",
|
53
|
-
"@storybook/html": "0.0.0-pr-
|
54
|
-
"@storybook/preset-html-webpack": "0.0.0-pr-
|
55
|
-
"@types/node": "^
|
53
|
+
"@storybook/html": "0.0.0-pr-24819-sha-347fb4f6",
|
54
|
+
"@storybook/preset-html-webpack": "0.0.0-pr-24819-sha-347fb4f6",
|
55
|
+
"@types/node": "^16.0.0"
|
56
56
|
},
|
57
57
|
"devDependencies": {
|
58
58
|
"typescript": "~4.9.3"
|