@storybook/html-webpack5 7.5.0-alpha.2 → 7.5.0-alpha.4
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 -5
- package/package.json +5 -5
package/dist/preset.d.ts
CHANGED
@@ -798,18 +798,18 @@ type Indexer = BaseIndexer & {
|
|
798
798
|
* @param options {@link IndexerOptions} for indexing the file.
|
799
799
|
* @returns A promise that resolves to an array of {@link IndexInput} objects.
|
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
|
};
|
807
807
|
type DeprecatedIndexer = BaseIndexer & {
|
808
808
|
indexer: (fileName: string, options: IndexerOptions) => Promise<IndexedCSFFile>;
|
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
|
/**
|
@@ -1117,7 +1117,7 @@ interface StorybookConfig {
|
|
1117
1117
|
previewAnnotations?: PresetValue<Entry[]>;
|
1118
1118
|
/**
|
1119
1119
|
* Process CSF files for the story index.
|
1120
|
-
* @
|
1120
|
+
* @deprecated use {@link experimental_indexers} instead
|
1121
1121
|
*/
|
1122
1122
|
storyIndexers?: PresetValue<StoryIndexer[]>;
|
1123
1123
|
/**
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@storybook/html-webpack5",
|
3
|
-
"version": "7.5.0-alpha.
|
3
|
+
"version": "7.5.0-alpha.4",
|
4
4
|
"description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.",
|
5
5
|
"keywords": [
|
6
6
|
"storybook"
|
@@ -47,11 +47,11 @@
|
|
47
47
|
"prep": "../../../scripts/prepare/bundle.ts"
|
48
48
|
},
|
49
49
|
"dependencies": {
|
50
|
-
"@storybook/builder-webpack5": "7.5.0-alpha.
|
51
|
-
"@storybook/core-common": "7.5.0-alpha.
|
50
|
+
"@storybook/builder-webpack5": "7.5.0-alpha.4",
|
51
|
+
"@storybook/core-common": "7.5.0-alpha.4",
|
52
52
|
"@storybook/global": "^5.0.0",
|
53
|
-
"@storybook/html": "7.5.0-alpha.
|
54
|
-
"@storybook/preset-html-webpack": "7.5.0-alpha.
|
53
|
+
"@storybook/html": "7.5.0-alpha.4",
|
54
|
+
"@storybook/preset-html-webpack": "7.5.0-alpha.4",
|
55
55
|
"@types/node": "^16.0.0"
|
56
56
|
},
|
57
57
|
"devDependencies": {
|