@storybook/telemetry 7.4.0-alpha.0 → 7.4.0-alpha.2
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/index.d.ts +15 -14
- package/package.json +6 -5
package/dist/index.d.ts
CHANGED
|
@@ -728,6 +728,19 @@ interface Parameters {
|
|
|
728
728
|
[name: string]: any;
|
|
729
729
|
}
|
|
730
730
|
|
|
731
|
+
interface Options$1 {
|
|
732
|
+
allowRegExp: boolean;
|
|
733
|
+
allowFunction: boolean;
|
|
734
|
+
allowSymbol: boolean;
|
|
735
|
+
allowDate: boolean;
|
|
736
|
+
allowUndefined: boolean;
|
|
737
|
+
allowClass: boolean;
|
|
738
|
+
allowError: boolean;
|
|
739
|
+
maxDepth: number;
|
|
740
|
+
space: number | undefined;
|
|
741
|
+
lazyEval: boolean;
|
|
742
|
+
}
|
|
743
|
+
|
|
731
744
|
type ExportName = string;
|
|
732
745
|
type MetaId = string;
|
|
733
746
|
interface StoriesSpecifier {
|
|
@@ -840,19 +853,6 @@ type DocsIndexInput = BaseIndexInput & {
|
|
|
840
853
|
storiesImports?: Path[];
|
|
841
854
|
};
|
|
842
855
|
type IndexInput = StoryIndexInput | DocsIndexInput;
|
|
843
|
-
type Path = string;
|
|
844
|
-
|
|
845
|
-
interface Options$1 {
|
|
846
|
-
allowRegExp: boolean;
|
|
847
|
-
allowFunction: boolean;
|
|
848
|
-
allowSymbol: boolean;
|
|
849
|
-
allowDate: boolean;
|
|
850
|
-
allowUndefined: boolean;
|
|
851
|
-
allowClass: boolean;
|
|
852
|
-
maxDepth: number;
|
|
853
|
-
space: number | undefined;
|
|
854
|
-
lazyEval: boolean;
|
|
855
|
-
}
|
|
856
856
|
|
|
857
857
|
/**
|
|
858
858
|
* ⚠️ This file contains internal WIP types they MUST NOT be exported outside this package for now!
|
|
@@ -1150,6 +1150,7 @@ interface StorybookConfig {
|
|
|
1150
1150
|
managerHead?: PresetValue<string>;
|
|
1151
1151
|
}
|
|
1152
1152
|
type PresetValue<T> = T | ((config: T, options: Options$2) => T | Promise<T>);
|
|
1153
|
+
type Path = string;
|
|
1153
1154
|
|
|
1154
1155
|
declare const monorepoConfigs: {
|
|
1155
1156
|
readonly Nx: "nx.json";
|
|
@@ -1160,7 +1161,7 @@ declare const monorepoConfigs: {
|
|
|
1160
1161
|
};
|
|
1161
1162
|
type MonorepoType = keyof typeof monorepoConfigs | 'Workspaces' | undefined;
|
|
1162
1163
|
|
|
1163
|
-
type EventType = 'boot' | 'dev' | 'build' | 'upgrade' | 'init' | 'canceled' | 'error' | 'error-metadata' | 'version-update' | 'core-config';
|
|
1164
|
+
type EventType = 'boot' | 'dev' | 'build' | 'upgrade' | 'init' | 'browser' | 'canceled' | 'error' | 'error-metadata' | 'version-update' | 'core-config';
|
|
1164
1165
|
interface Dependency {
|
|
1165
1166
|
version: string | undefined;
|
|
1166
1167
|
versionSpecifier?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/telemetry",
|
|
3
|
-
"version": "7.4.0-alpha.
|
|
3
|
+
"version": "7.4.0-alpha.2",
|
|
4
4
|
"description": "Telemetry logging for crash reports and usage statistics",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -36,16 +36,17 @@
|
|
|
36
36
|
"dist/**/*",
|
|
37
37
|
"README.md",
|
|
38
38
|
"*.js",
|
|
39
|
-
"*.d.ts"
|
|
39
|
+
"*.d.ts",
|
|
40
|
+
"!src/**/*"
|
|
40
41
|
],
|
|
41
42
|
"scripts": {
|
|
42
43
|
"check": "../../../scripts/prepare/check.ts",
|
|
43
44
|
"prep": "../../../scripts/prepare/bundle.ts"
|
|
44
45
|
},
|
|
45
46
|
"dependencies": {
|
|
46
|
-
"@storybook/client-logger": "7.4.0-alpha.
|
|
47
|
-
"@storybook/core-common": "7.4.0-alpha.
|
|
48
|
-
"@storybook/csf-tools": "7.4.0-alpha.
|
|
47
|
+
"@storybook/client-logger": "7.4.0-alpha.2",
|
|
48
|
+
"@storybook/core-common": "7.4.0-alpha.2",
|
|
49
|
+
"@storybook/csf-tools": "7.4.0-alpha.2",
|
|
49
50
|
"chalk": "^4.1.0",
|
|
50
51
|
"detect-package-manager": "^2.0.1",
|
|
51
52
|
"fetch-retry": "^5.0.2",
|