@storybook/html-webpack5 0.0.0-pr-24447-sha-0e9b8a79 → 0.0.0-pr-24676-sha-7d703fa3
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 +13 -4
- package/package.json +7 -9
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
|
+
* @deprecated 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
|
+
* @deprecated Use {@link Indexer} instead
|
813
813
|
*/
|
814
814
|
type StoryIndexer = Indexer | DeprecatedIndexer;
|
815
815
|
/**
|
@@ -908,6 +908,7 @@ 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']>;
|
911
912
|
apply<T>(extension: string, config?: T, args?: unknown): Promise<T>;
|
912
913
|
}
|
913
914
|
interface LoadedPreset {
|
@@ -939,7 +940,6 @@ interface CLIOptions {
|
|
939
940
|
enableCrashReports?: boolean;
|
940
941
|
host?: string;
|
941
942
|
initialPath?: string;
|
942
|
-
exactPort?: boolean;
|
943
943
|
/**
|
944
944
|
* @deprecated Use 'staticDirs' Storybook Configuration option instead
|
945
945
|
*/
|
@@ -957,6 +957,7 @@ interface CLIOptions {
|
|
957
957
|
quiet?: boolean;
|
958
958
|
versionUpdates?: boolean;
|
959
959
|
docs?: boolean;
|
960
|
+
test?: boolean;
|
960
961
|
debugWebpack?: boolean;
|
961
962
|
webpackStatsJson?: string | boolean;
|
962
963
|
outputDir?: string;
|
@@ -1076,6 +1077,14 @@ interface StorybookConfig {
|
|
1076
1077
|
*/
|
1077
1078
|
legacyDecoratorFileOrder?: boolean;
|
1078
1079
|
};
|
1080
|
+
build?: {
|
1081
|
+
test?: {
|
1082
|
+
/**
|
1083
|
+
* Globalize @storybook/blocks
|
1084
|
+
*/
|
1085
|
+
emptyBlocks?: boolean;
|
1086
|
+
};
|
1087
|
+
};
|
1079
1088
|
/**
|
1080
1089
|
* Tells Storybook where to find stories.
|
1081
1090
|
*
|
@@ -1118,7 +1127,7 @@ interface StorybookConfig {
|
|
1118
1127
|
previewAnnotations?: PresetValue<Entry[]>;
|
1119
1128
|
/**
|
1120
1129
|
* Process CSF files for the story index.
|
1121
|
-
* @
|
1130
|
+
* @deprecated use {@link experimental_indexers} instead
|
1122
1131
|
*/
|
1123
1132
|
storyIndexers?: PresetValue<StoryIndexer[]>;
|
1124
1133
|
/**
|
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-24676-sha-7d703fa3",
|
4
4
|
"description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.",
|
5
5
|
"keywords": [
|
6
6
|
"storybook"
|
@@ -47,20 +47,18 @@
|
|
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-24676-sha-7d703fa3",
|
51
|
+
"@storybook/core-common": "0.0.0-pr-24676-sha-7d703fa3",
|
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-24676-sha-7d703fa3",
|
54
|
+
"@storybook/preset-html-webpack": "0.0.0-pr-24676-sha-7d703fa3",
|
55
|
+
"@types/node": "^18.0.0"
|
56
56
|
},
|
57
57
|
"devDependencies": {
|
58
58
|
"typescript": "~4.9.3"
|
59
59
|
},
|
60
60
|
"peerDependencies": {
|
61
|
-
"@babel/core": "*"
|
62
|
-
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
63
|
-
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
61
|
+
"@babel/core": "*"
|
64
62
|
},
|
65
63
|
"engines": {
|
66
64
|
"node": ">=16.0.0"
|