@storybook/web-components-vite 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.
@@ -798,7 +798,7 @@ type Indexer = BaseIndexer & {
|
|
798
798
|
*/
|
799
799
|
createIndex: (fileName: string, options: IndexerOptions) => Promise<IndexInput[]>;
|
800
800
|
/**
|
801
|
-
* @
|
801
|
+
* @soonDeprecated Use {@link index} instead
|
802
802
|
*/
|
803
803
|
indexer?: never;
|
804
804
|
};
|
@@ -807,7 +807,7 @@ type DeprecatedIndexer = BaseIndexer & {
|
|
807
807
|
createIndex?: never;
|
808
808
|
};
|
809
809
|
/**
|
810
|
-
* @
|
810
|
+
* @soonDeprecated Use {@link Indexer} instead
|
811
811
|
*/
|
812
812
|
type StoryIndexer = Indexer | DeprecatedIndexer;
|
813
813
|
/**
|
@@ -906,7 +906,6 @@ interface Presets {
|
|
906
906
|
apply(extension: 'managerEntries', config: [], args?: any): Promise<string[]>;
|
907
907
|
apply(extension: 'refs', config?: [], args?: any): Promise<unknown>;
|
908
908
|
apply(extension: 'core', config?: {}, args?: any): Promise<CoreConfig>;
|
909
|
-
apply(extension: 'build', config?: {}, args?: any): Promise<StorybookConfig$1['build']>;
|
910
909
|
apply<T>(extension: string, config?: T, args?: unknown): Promise<T>;
|
911
910
|
}
|
912
911
|
interface LoadedPreset {
|
@@ -938,6 +937,7 @@ interface CLIOptions {
|
|
938
937
|
enableCrashReports?: boolean;
|
939
938
|
host?: string;
|
940
939
|
initialPath?: string;
|
940
|
+
exactPort?: boolean;
|
941
941
|
/**
|
942
942
|
* @deprecated Use 'staticDirs' Storybook Configuration option instead
|
943
943
|
*/
|
@@ -955,7 +955,6 @@ interface CLIOptions {
|
|
955
955
|
quiet?: boolean;
|
956
956
|
versionUpdates?: boolean;
|
957
957
|
docs?: boolean;
|
958
|
-
test?: boolean;
|
959
958
|
debugWebpack?: boolean;
|
960
959
|
webpackStatsJson?: string | boolean;
|
961
960
|
outputDir?: string;
|
@@ -975,9 +974,7 @@ interface StorybookConfigOptions {
|
|
975
974
|
presets: Presets;
|
976
975
|
presetsList?: LoadedPreset[];
|
977
976
|
}
|
978
|
-
type Options = LoadOptions & StorybookConfigOptions & CLIOptions & BuilderOptions
|
979
|
-
build?: TestBuildConfig;
|
980
|
-
};
|
977
|
+
type Options = LoadOptions & StorybookConfigOptions & CLIOptions & BuilderOptions;
|
981
978
|
/**
|
982
979
|
* Options for TypeScript usage within Storybook.
|
983
980
|
*/
|
@@ -1027,31 +1024,6 @@ type DocsOptions = {
|
|
1027
1024
|
*/
|
1028
1025
|
docsMode?: boolean;
|
1029
1026
|
};
|
1030
|
-
interface TestBuildFlags {
|
1031
|
-
/**
|
1032
|
-
* The package @storybook/blocks will be excluded from the bundle, even when imported in e.g. the preview.
|
1033
|
-
*/
|
1034
|
-
emptyBlocks?: boolean;
|
1035
|
-
/**
|
1036
|
-
* Disable all addons
|
1037
|
-
*/
|
1038
|
-
removeNonFastAddons?: boolean;
|
1039
|
-
/**
|
1040
|
-
* Filter out .mdx stories entries
|
1041
|
-
*/
|
1042
|
-
removeMDXEntries?: boolean;
|
1043
|
-
/**
|
1044
|
-
* Override autodocs to be disabled
|
1045
|
-
*/
|
1046
|
-
removeAutoDocs?: boolean;
|
1047
|
-
/**
|
1048
|
-
* Override docgen to be disabled.
|
1049
|
-
*/
|
1050
|
-
disableDocgen?: boolean;
|
1051
|
-
}
|
1052
|
-
interface TestBuildConfig {
|
1053
|
-
test?: TestBuildFlags;
|
1054
|
-
}
|
1055
1027
|
/**
|
1056
1028
|
* The interface for Storybook configuration in `main.ts` files.
|
1057
1029
|
*/
|
@@ -1102,7 +1074,6 @@ interface StorybookConfig$1 {
|
|
1102
1074
|
*/
|
1103
1075
|
legacyDecoratorFileOrder?: boolean;
|
1104
1076
|
};
|
1105
|
-
build?: TestBuildConfig;
|
1106
1077
|
/**
|
1107
1078
|
* Tells Storybook where to find stories.
|
1108
1079
|
*
|
@@ -1145,7 +1116,7 @@ interface StorybookConfig$1 {
|
|
1145
1116
|
previewAnnotations?: PresetValue<Entry[]>;
|
1146
1117
|
/**
|
1147
1118
|
* Process CSF files for the story index.
|
1148
|
-
* @
|
1119
|
+
* @soonDeprecated use {@link experimental_indexers} instead
|
1149
1120
|
*/
|
1150
1121
|
storyIndexers?: PresetValue<StoryIndexer[]>;
|
1151
1122
|
/**
|
package/dist/index.d.ts
CHANGED
package/dist/preset.d.ts
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@storybook/web-components-vite",
|
3
|
-
"version": "0.0.0-pr-
|
3
|
+
"version": "0.0.0-pr-24819-sha-347fb4f6",
|
4
4
|
"description": "Storybook for web-components and Vite: Develop Web Components in isolation with Hot Reloading.",
|
5
5
|
"keywords": [
|
6
6
|
"storybook"
|
@@ -47,14 +47,14 @@
|
|
47
47
|
"prep": "../../../scripts/prepare/bundle.ts"
|
48
48
|
},
|
49
49
|
"dependencies": {
|
50
|
-
"@storybook/builder-vite": "0.0.0-pr-
|
51
|
-
"@storybook/core-server": "0.0.0-pr-
|
52
|
-
"@storybook/node-logger": "0.0.0-pr-
|
53
|
-
"@storybook/web-components": "0.0.0-pr-
|
50
|
+
"@storybook/builder-vite": "0.0.0-pr-24819-sha-347fb4f6",
|
51
|
+
"@storybook/core-server": "0.0.0-pr-24819-sha-347fb4f6",
|
52
|
+
"@storybook/node-logger": "0.0.0-pr-24819-sha-347fb4f6",
|
53
|
+
"@storybook/web-components": "0.0.0-pr-24819-sha-347fb4f6",
|
54
54
|
"magic-string": "^0.30.0"
|
55
55
|
},
|
56
56
|
"devDependencies": {
|
57
|
-
"@types/node": "^
|
57
|
+
"@types/node": "^16.0.0",
|
58
58
|
"typescript": "~4.9.3"
|
59
59
|
},
|
60
60
|
"peerDependencies": {
|