@teambit/preview 0.0.785 → 0.0.788

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.
@@ -6,7 +6,10 @@ export declare type PreviewModule<T = any> = {
6
6
  componentMap: Record<string, ModuleFile<T>[]>;
7
7
  /** The 'main file' for this Preview type */
8
8
  mainModule: {
9
- default: (...args: any[]) => void;
9
+ default: {
10
+ (...args: any[]): void;
11
+ apiObject?: boolean;
12
+ };
10
13
  };
11
14
  isSplitComponentBundle?: boolean;
12
15
  };
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["preview-module.ts"],"sourcesContent":["/**\n * A full index of the preview data\n */\nexport type PreviewModule<T = any> = {\n /** Dictionary mapping components to their module files. */\n componentMap: Record<string, ModuleFile<T>[]>;\n\n /** The 'main file' for this Preview type */\n mainModule: {\n default: (...args: any[]) => void;\n };\n\n isSplitComponentBundle?: boolean;\n};\n\n/** single preview module, e.g. compositions file */\nexport type ModuleFile<T = any> = Record<string, T>;\n"],"mappings":""}
1
+ {"version":3,"names":[],"sources":["preview-module.ts"],"sourcesContent":["/**\n * A full index of the preview data\n */\nexport type PreviewModule<T = any> = {\n /** Dictionary mapping components to their module files. */\n componentMap: Record<string, ModuleFile<T>[]>;\n\n /** The 'main file' for this Preview type */\n mainModule: {\n default: {\n (...args: any[]): void;\n apiObject?: boolean;\n };\n };\n\n isSplitComponentBundle?: boolean;\n};\n\n/** single preview module, e.g. compositions file */\nexport type ModuleFile<T = any> = Record<string, T>;\n"],"mappings":""}
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/preview",
3
- "version": "0.0.785",
3
+ "version": "0.0.788",
4
4
  "homepage": "https://bit.dev/teambit/preview/preview",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.preview",
8
8
  "name": "preview",
9
- "version": "0.0.785"
9
+ "version": "0.0.788"
10
10
  },
11
11
  "dependencies": {
12
12
  "mime": "2.5.2",
@@ -23,28 +23,28 @@
23
23
  "@babel/runtime": "7.12.18",
24
24
  "core-js": "^3.0.0",
25
25
  "@teambit/harmony": "0.3.3",
26
- "@teambit/express": "0.0.617",
27
- "@teambit/logger": "0.0.612",
26
+ "@teambit/express": "0.0.619",
27
+ "@teambit/logger": "0.0.614",
28
28
  "@teambit/ui-foundation.ui.pages.static-error": "0.0.74",
29
- "@teambit/builder": "0.0.785",
30
- "@teambit/bundler": "0.0.785",
31
- "@teambit/component": "0.0.785",
32
- "@teambit/aspect-loader": "0.0.785",
33
- "@teambit/dependency-resolver": "0.0.785",
34
- "@teambit/envs": "0.0.785",
29
+ "@teambit/builder": "0.0.788",
30
+ "@teambit/bundler": "0.0.788",
31
+ "@teambit/component": "0.0.788",
32
+ "@teambit/aspect-loader": "0.0.788",
33
+ "@teambit/dependency-resolver": "0.0.788",
34
+ "@teambit/envs": "0.0.788",
35
35
  "@teambit/toolbox.path.to-windows-compatible-path": "0.0.483",
36
36
  "@teambit/component-id": "0.0.402",
37
37
  "@teambit/bit-error": "0.0.394",
38
- "@teambit/cli": "0.0.519",
39
- "@teambit/graphql": "0.0.785",
40
- "@teambit/pkg": "0.0.785",
41
- "@teambit/pubsub": "0.0.785",
42
- "@teambit/ui": "0.0.785",
43
- "@teambit/workspace": "0.0.785",
44
- "@teambit/compiler": "0.0.785",
38
+ "@teambit/cli": "0.0.521",
39
+ "@teambit/graphql": "0.0.788",
40
+ "@teambit/pkg": "0.0.788",
41
+ "@teambit/pubsub": "0.0.788",
42
+ "@teambit/ui": "0.0.788",
43
+ "@teambit/workspace": "0.0.788",
44
+ "@teambit/compiler": "0.0.788",
45
45
  "@teambit/preview.cli.preview-server-status": "0.0.492",
46
46
  "@teambit/preview.cli.webpack-events-listener": "0.0.161",
47
- "@teambit/isolator": "0.0.785"
47
+ "@teambit/isolator": "0.0.788"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@types/mime": "2.0.3",
@@ -62,7 +62,7 @@
62
62
  "@teambit/preview.aspect-docs.preview": "0.0.139"
63
63
  },
64
64
  "peerDependencies": {
65
- "@teambit/legacy": "1.0.300",
65
+ "@teambit/legacy": "1.0.303",
66
66
  "react-dom": "^16.8.0 || ^17.0.0",
67
67
  "react": "^16.8.0 || ^17.0.0"
68
68
  },
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.preview_preview@0.0.785/dist/preview.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.preview_preview@0.0.785/dist/preview.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.preview_preview@0.0.788/dist/preview.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.preview_preview@0.0.788/dist/preview.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
@@ -7,7 +7,10 @@ export type PreviewModule<T = any> = {
7
7
 
8
8
  /** The 'main file' for this Preview type */
9
9
  mainModule: {
10
- default: (...args: any[]) => void;
10
+ default: {
11
+ (...args: any[]): void;
12
+ apiObject?: boolean;
13
+ };
11
14
  };
12
15
 
13
16
  isSplitComponentBundle?: boolean;