@storybook/html-webpack5 0.0.0-pr-24698-sha-758c0de1 → 0.0.0-pr-24447-sha-0e9b8a79
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 +4 -13
- package/package.json +8 -8
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;
|
@@ -1077,14 +1076,6 @@ interface StorybookConfig {
|
|
1077
1076
|
*/
|
1078
1077
|
legacyDecoratorFileOrder?: boolean;
|
1079
1078
|
};
|
1080
|
-
build?: {
|
1081
|
-
test?: {
|
1082
|
-
/**
|
1083
|
-
* Globalize @storybook/blocks
|
1084
|
-
*/
|
1085
|
-
emptyBlocks?: boolean;
|
1086
|
-
};
|
1087
|
-
};
|
1088
1079
|
/**
|
1089
1080
|
* Tells Storybook where to find stories.
|
1090
1081
|
*
|
@@ -1127,7 +1118,7 @@ interface StorybookConfig {
|
|
1127
1118
|
previewAnnotations?: PresetValue<Entry[]>;
|
1128
1119
|
/**
|
1129
1120
|
* Process CSF files for the story index.
|
1130
|
-
* @
|
1121
|
+
* @soonDeprecated use {@link experimental_indexers} instead
|
1131
1122
|
*/
|
1132
1123
|
storyIndexers?: PresetValue<StoryIndexer[]>;
|
1133
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-24447-sha-0e9b8a79",
|
4
4
|
"description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.",
|
5
5
|
"keywords": [
|
6
6
|
"storybook"
|
@@ -43,16 +43,16 @@
|
|
43
43
|
"!src/**/*"
|
44
44
|
],
|
45
45
|
"scripts": {
|
46
|
-
"check": "
|
47
|
-
"prep": "
|
46
|
+
"check": "../../../scripts/prepare/check.ts",
|
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-24447-sha-0e9b8a79",
|
51
|
+
"@storybook/core-common": "0.0.0-pr-24447-sha-0e9b8a79",
|
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-24447-sha-0e9b8a79",
|
54
|
+
"@storybook/preset-html-webpack": "0.0.0-pr-24447-sha-0e9b8a79",
|
55
|
+
"@types/node": "^16.0.0"
|
56
56
|
},
|
57
57
|
"devDependencies": {
|
58
58
|
"typescript": "~4.9.3"
|