@storybook/telemetry 7.0.0-alpha.49 → 7.0.0-alpha.50

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 CHANGED
@@ -718,39 +718,9 @@ PackageJson$1.NonStandardEntryPoints &
718
718
  PackageJson$1.TypeScriptConfiguration &
719
719
  PackageJson$1.YarnConfiguration &
720
720
  PackageJson$1.JSPMConfiguration;
721
-
722
- declare type StoryId = string;
723
721
  declare type Tag = string;
724
- declare type Parameters$1 = {
722
+ interface Parameters {
725
723
  [name: string]: any;
726
- };
727
- declare type Addon_Comparator<T> = ((a: T, b: T) => boolean) | ((a: T, b: T) => number);
728
- declare type Addon_StorySortMethod = 'configure' | 'alphabetical';
729
- interface Addon_StorySortObjectParameter {
730
- method?: Addon_StorySortMethod;
731
- order?: any[];
732
- locales?: string;
733
- includeNames?: boolean;
734
- }
735
- declare type Addon_IndexEntryLegacy = [StoryId, any, Parameters, Parameters];
736
- declare type Addon_StorySortComparator = Addon_Comparator<Addon_IndexEntryLegacy>;
737
- declare type Addon_StorySortParameter = Addon_StorySortComparator | Addon_StorySortObjectParameter;
738
- interface Addon_OptionsParameter extends Object {
739
- storySort?: Addon_StorySortParameter;
740
- theme?: {
741
- base: string;
742
- brandTitle?: string;
743
- };
744
- [key: string]: any;
745
- }
746
- declare type Layout = 'centered' | 'fullscreen' | 'padded' | 'none';
747
- interface Parameters extends Parameters$1 {
748
- fileName?: string;
749
- options?: Addon_OptionsParameter;
750
- /** The layout property defines basic styles added to the preview body where the story is rendered. If you pass 'none', no styles are applied. */
751
- layout?: Layout;
752
- docsOnly?: boolean;
753
- [key: string]: any;
754
724
  }
755
725
 
756
726
  interface Options$1 {
package/jest.config.js ADDED
@@ -0,0 +1,7 @@
1
+ const path = require('path');
2
+ const baseConfig = require('../../jest.config.node');
3
+
4
+ module.exports = {
5
+ ...baseConfig,
6
+ displayName: __dirname.split(path.sep).slice(-2).join(path.posix.sep),
7
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/telemetry",
3
- "version": "7.0.0-alpha.49",
3
+ "version": "7.0.0-alpha.50",
4
4
  "description": "Telemetry logging for crash reports and usage statistics",
5
5
  "keywords": [
6
6
  "storybook"
@@ -42,8 +42,8 @@
42
42
  "prep": "../../../scripts/prepare/bundle.ts"
43
43
  },
44
44
  "dependencies": {
45
- "@storybook/client-logger": "7.0.0-alpha.49",
46
- "@storybook/core-common": "7.0.0-alpha.49",
45
+ "@storybook/client-logger": "7.0.0-alpha.50",
46
+ "@storybook/core-common": "7.0.0-alpha.50",
47
47
  "chalk": "^4.1.0",
48
48
  "detect-package-manager": "^2.0.1",
49
49
  "fetch-retry": "^5.0.2",
@@ -64,5 +64,5 @@
64
64
  ],
65
65
  "platform": "node"
66
66
  },
67
- "gitHead": "d7eb433300cac55d3c7256c8181eb6fd7a47b4c8"
67
+ "gitHead": "77184d039091f4782dc4540df6d271a24fb3e242"
68
68
  }