@teambit/preview 1.0.228 → 1.0.230
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/artifacts/__bit_junit.xml +2 -2
- package/artifacts/preview/teambit_preview_preview-preview.js +1 -1
- package/artifacts/schema.json +889 -205
- package/dist/artifact-file-middleware.d.ts +12 -0
- package/dist/bundler/chunks.d.ts +17 -0
- package/dist/bundler/create-peer-link.spec.d.ts +1 -0
- package/dist/bundler/create-peers-link.d.ts +2 -0
- package/dist/bundler/html-plugin.d.ts +5 -0
- package/dist/bundler/html-template.d.ts +2 -0
- package/dist/bundling-strategy.d.ts +23 -0
- package/dist/component-preview.d.ts +2 -0
- package/dist/component-preview.route.d.ts +20 -0
- package/dist/env-preview-template.task.d.ts +45 -0
- package/dist/env-template.route.d.ts +25 -0
- package/dist/events/click-inside-an-iframe.d.ts +12 -0
- package/dist/events/index.d.ts +1 -0
- package/dist/exceptions/bundling-strategy-not-found.d.ts +4 -0
- package/dist/exceptions/index.d.ts +4 -0
- package/dist/exceptions/preview-artifact-not-found.d.ts +5 -0
- package/dist/exceptions/preview-not-found.d.ts +3 -0
- package/dist/exceptions/preview-output-file-not-found.d.ts +5 -0
- package/dist/execution-ref.d.ts +11 -0
- package/dist/generate-link.d.ts +9 -0
- package/dist/gql/fetch-component-aspects.d.ts +1 -0
- package/dist/html-utils.d.ts +6 -0
- package/dist/index.d.ts +9 -0
- package/dist/mk-temp-dir.d.ts +1 -0
- package/dist/pre-bundle-utils.d.ts +12 -0
- package/dist/pre-bundle.d.ts +8 -0
- package/dist/pre-bundle.task.d.ts +15 -0
- package/dist/{preview-1712805335812.js → preview-1712891953391.js} +2 -2
- package/dist/preview-artifact.d.ts +8 -0
- package/dist/preview-assets.route.d.ts +19 -0
- package/dist/preview-context.d.ts +4 -0
- package/dist/preview-definition.d.ts +34 -0
- package/dist/preview-env.d.ts +39 -0
- package/dist/preview-modules.d.ts +1 -0
- package/dist/preview-type.d.ts +25 -0
- package/dist/preview.aspect.d.ts +4 -0
- package/dist/preview.composition.d.ts +1 -0
- package/dist/preview.d.ts +11 -0
- package/dist/preview.graphql.d.ts +32 -0
- package/dist/preview.main.runtime.d.ts +343 -0
- package/dist/preview.preview.runtime.d.ts +77 -0
- package/dist/preview.route.d.ts +20 -0
- package/dist/preview.service.d.ts +29 -0
- package/dist/preview.start-plugin.d.ts +35 -0
- package/dist/preview.task.d.ts +39 -0
- package/dist/rendering-context.d.ts +18 -0
- package/dist/size-event.d.ts +9 -0
- package/dist/strategies/component-strategy.d.ts +54 -0
- package/dist/strategies/env-strategy.d.ts +41 -0
- package/dist/strategies/generate-component-link.d.ts +6 -0
- package/dist/strategies/index.d.ts +3 -0
- package/dist/strategies/strategies-names.d.ts +2 -0
- package/dist/types/preview-module.d.ts +1 -0
- package/dist/webpack/webpack.config.d.ts +2 -0
- package/package.json +23 -23
- package/tsconfig.json +1 -61
@@ -0,0 +1,3 @@
|
|
1
|
+
export { EnvBundlingStrategy, ENV_STRATEGY_ARTIFACT_NAME } from './env-strategy';
|
2
|
+
export { ComponentBundlingStrategy, COMPONENT_STRATEGY_ARTIFACT_NAME, COMPONENT_STRATEGY_SIZE_KEY_NAME, } from './component-strategy';
|
3
|
+
export { ENV_PREVIEW_STRATEGY_NAME, COMPONENT_PREVIEW_STRATEGY_NAME } from './strategies-names';
|
@@ -0,0 +1 @@
|
|
1
|
+
export type { PreviewModule, ModuleFile } from '@teambit/preview.modules.preview-modules';
|
package/package.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@teambit/preview",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.230",
|
4
4
|
"homepage": "https://bit.cloud/teambit/preview/preview",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"componentId": {
|
7
7
|
"scope": "teambit.preview",
|
8
8
|
"name": "preview",
|
9
|
-
"version": "1.0.
|
9
|
+
"version": "1.0.230"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"mime": "2.5.2",
|
@@ -28,30 +28,30 @@
|
|
28
28
|
"@teambit/component-id": "1.2.0",
|
29
29
|
"@teambit/bit-error": "0.0.404",
|
30
30
|
"@teambit/react.webpack.react-webpack": "1.0.25",
|
31
|
-
"@teambit/express": "0.0.
|
32
|
-
"@teambit/logger": "0.0.
|
33
|
-
"@teambit/builder": "1.0.
|
34
|
-
"@teambit/bundler": "1.0.
|
35
|
-
"@teambit/component": "1.0.
|
31
|
+
"@teambit/express": "0.0.961",
|
32
|
+
"@teambit/logger": "0.0.955",
|
33
|
+
"@teambit/builder": "1.0.230",
|
34
|
+
"@teambit/bundler": "1.0.230",
|
35
|
+
"@teambit/component": "1.0.230",
|
36
36
|
"@teambit/preview.ui.component-preview": "1.0.5",
|
37
|
-
"@teambit/aspect-loader": "1.0.
|
38
|
-
"@teambit/cli": "0.0.
|
39
|
-
"@teambit/dependency-resolver": "1.0.
|
40
|
-
"@teambit/envs": "1.0.
|
37
|
+
"@teambit/aspect-loader": "1.0.230",
|
38
|
+
"@teambit/cli": "0.0.862",
|
39
|
+
"@teambit/dependency-resolver": "1.0.230",
|
40
|
+
"@teambit/envs": "1.0.230",
|
41
41
|
"@teambit/toolbox.path.to-windows-compatible-path": "0.0.496",
|
42
|
-
"@teambit/ui": "1.0.
|
43
|
-
"@teambit/isolator": "1.0.
|
42
|
+
"@teambit/ui": "1.0.230",
|
43
|
+
"@teambit/isolator": "1.0.230",
|
44
44
|
"@teambit/harmony.modules.harmony-root-generator": "0.0.4",
|
45
|
-
"@teambit/cache": "0.0.
|
46
|
-
"@teambit/graphql": "1.0.
|
47
|
-
"@teambit/pkg": "1.0.
|
48
|
-
"@teambit/pubsub": "1.0.
|
49
|
-
"@teambit/scope": "1.0.
|
50
|
-
"@teambit/watcher": "1.0.
|
51
|
-
"@teambit/workspace": "1.0.
|
52
|
-
"@teambit/compiler": "1.0.
|
45
|
+
"@teambit/cache": "0.0.955",
|
46
|
+
"@teambit/graphql": "1.0.230",
|
47
|
+
"@teambit/pkg": "1.0.230",
|
48
|
+
"@teambit/pubsub": "1.0.230",
|
49
|
+
"@teambit/scope": "1.0.230",
|
50
|
+
"@teambit/watcher": "1.0.230",
|
51
|
+
"@teambit/workspace": "1.0.230",
|
52
|
+
"@teambit/compiler": "1.0.230",
|
53
53
|
"@teambit/preview.cli.webpack-events-listener": "0.0.175",
|
54
|
-
"@teambit/webpack": "1.0.
|
54
|
+
"@teambit/webpack": "1.0.230"
|
55
55
|
},
|
56
56
|
"devDependencies": {
|
57
57
|
"@types/mime": "2.0.3",
|
@@ -66,7 +66,7 @@
|
|
66
66
|
"chai": "4.3.0",
|
67
67
|
"@types/lodash.compact": "3.0.6",
|
68
68
|
"@types/mocha": "9.1.0",
|
69
|
-
"@teambit/harmony.envs.core-aspect-env": "0.0.
|
69
|
+
"@teambit/harmony.envs.core-aspect-env": "0.0.33",
|
70
70
|
"@teambit/preview.aspect-docs.preview": "0.0.167"
|
71
71
|
},
|
72
72
|
"peerDependencies": {
|
package/tsconfig.json
CHANGED
@@ -20,8 +20,7 @@
|
|
20
20
|
"emitDeclarationOnly": true,
|
21
21
|
"strict": true,
|
22
22
|
"strictPropertyInitialization": false,
|
23
|
-
"noImplicitAny": false
|
24
|
-
"composite": true
|
23
|
+
"noImplicitAny": false
|
25
24
|
},
|
26
25
|
"exclude": [
|
27
26
|
"artifacts",
|
@@ -36,64 +35,5 @@
|
|
36
35
|
"include": [
|
37
36
|
"**/*",
|
38
37
|
"**/*.json"
|
39
|
-
],
|
40
|
-
"references": [
|
41
|
-
{
|
42
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_express@0.0.960"
|
43
|
-
},
|
44
|
-
{
|
45
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_logger@0.0.954"
|
46
|
-
},
|
47
|
-
{
|
48
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.pipelines_builder@1.0.228"
|
49
|
-
},
|
50
|
-
{
|
51
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.compilation_bundler@1.0.228"
|
52
|
-
},
|
53
|
-
{
|
54
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component@1.0.228"
|
55
|
-
},
|
56
|
-
{
|
57
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_aspect-loader@1.0.228"
|
58
|
-
},
|
59
|
-
{
|
60
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_cli@0.0.861"
|
61
|
-
},
|
62
|
-
{
|
63
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.envs_envs@1.0.228"
|
64
|
-
},
|
65
|
-
{
|
66
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_ui@1.0.228"
|
67
|
-
},
|
68
|
-
{
|
69
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_isolator@1.0.228"
|
70
|
-
},
|
71
|
-
{
|
72
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_cache@0.0.954"
|
73
|
-
},
|
74
|
-
{
|
75
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_graphql@1.0.228"
|
76
|
-
},
|
77
|
-
{
|
78
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.pkg_pkg@1.0.228"
|
79
|
-
},
|
80
|
-
{
|
81
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_pubsub@1.0.228"
|
82
|
-
},
|
83
|
-
{
|
84
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.scope_scope@1.0.228"
|
85
|
-
},
|
86
|
-
{
|
87
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_watcher@1.0.228"
|
88
|
-
},
|
89
|
-
{
|
90
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@1.0.228"
|
91
|
-
},
|
92
|
-
{
|
93
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.compilation_compiler@1.0.228"
|
94
|
-
},
|
95
|
-
{
|
96
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.webpack_webpack@1.0.228"
|
97
|
-
}
|
98
38
|
]
|
99
39
|
}
|