@teambit/env 0.0.263 → 0.0.265
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/env-template/public/{960.90e2d003c35884a8501b.js → 160.a810cf718c35a84265ce.js} +19 -27
- package/artifacts/env-template/public/{22.8c98d2c3cd9d1bdb2d18.js → 22.b55ea0a041d1a669ba76.js} +6 -2
- package/artifacts/env-template/public/assets-manifest.json +16 -16
- package/artifacts/env-template/public/{compositions.9574b0e7439608b38fc6.js → compositions.eb879a8cdc3beab74067.js} +1 -1
- package/artifacts/env-template/public/compositions.html +1 -1
- package/artifacts/env-template/public/{overview.487f3890a016bf97fe1e.js → overview.8d7bb02d5a8aef48454d.js} +1 -1
- package/artifacts/env-template/public/overview.html +1 -1
- package/artifacts/env-template/public/{peers.59633638481769ab9cc0.js → peers.a419549e26a6a7959da6.js} +1 -1
- package/artifacts/env-template/public/{preview-root.06f29f27c838ad818ca0.js → preview-root.e4a1bcb2ee735355159f.js} +1 -1
- package/artifacts/env-template/public/static/css/{960.d4fac76e.css → 160.0382be7b.css} +1 -1
- package/artifacts/env-template/public/static/css/{overview.fff79c79.css → overview.79e8d4e8.css} +1 -1
- package/artifacts/preview/teambit_envs_env-preview.js +1 -1
- package/artifacts/schema.json +17 -17
- package/{compositions-1667360527523.js → compositions-1667620089698.js} +0 -0
- package/dist/env.env.d.ts +2 -1
- package/dist/env.env.js +8 -1
- package/dist/env.env.js.map +1 -1
- package/{overview-1667360527523.js → overview-1667620089698.js} +0 -0
- package/package-tar/teambit-env-0.0.265.tgz +0 -0
- package/package.json +7 -6
- package/{preview-1667360527523.js → preview-1667620089698.js} +2 -2
- package/package-tar/teambit-env-0.0.263.tgz +0 -0
package/artifacts/schema.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"className": "EnvEnv",
|
|
19
19
|
"location": {
|
|
20
20
|
"filePath": "env.env.ts",
|
|
21
|
-
"line":
|
|
21
|
+
"line": 8,
|
|
22
22
|
"character": 1
|
|
23
23
|
},
|
|
24
24
|
"members": [
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"__schema": "VariableLikeSchema",
|
|
27
27
|
"location": {
|
|
28
28
|
"filePath": "env.env.ts",
|
|
29
|
-
"line":
|
|
29
|
+
"line": 10,
|
|
30
30
|
"character": 3
|
|
31
31
|
},
|
|
32
32
|
"name": "icon",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"__schema": "InferenceTypeSchema",
|
|
37
37
|
"location": {
|
|
38
38
|
"filePath": "env.env.ts",
|
|
39
|
-
"line":
|
|
39
|
+
"line": 10,
|
|
40
40
|
"character": 3
|
|
41
41
|
},
|
|
42
42
|
"type": "string"
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"__schema": "FunctionLikeSchema",
|
|
47
47
|
"location": {
|
|
48
48
|
"filePath": "env.env.ts",
|
|
49
|
-
"line":
|
|
49
|
+
"line": 12,
|
|
50
50
|
"character": 3
|
|
51
51
|
},
|
|
52
52
|
"name": "__getDescriptor",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"__schema": "InferenceTypeSchema",
|
|
60
60
|
"location": {
|
|
61
61
|
"filePath": "env.env.ts",
|
|
62
|
-
"line":
|
|
62
|
+
"line": 12,
|
|
63
63
|
"character": 3
|
|
64
64
|
},
|
|
65
65
|
"type": "Promise<{\n type: string;\n}>"
|
|
@@ -69,21 +69,21 @@
|
|
|
69
69
|
"__schema": "FunctionLikeSchema",
|
|
70
70
|
"location": {
|
|
71
71
|
"filePath": "env.env.ts",
|
|
72
|
-
"line":
|
|
72
|
+
"line": 18,
|
|
73
73
|
"character": 3
|
|
74
74
|
},
|
|
75
75
|
"name": "getPreviewConfig",
|
|
76
|
-
"signature": "(method) EnvEnv.getPreviewConfig(): {\n strategyName:
|
|
76
|
+
"signature": "(method) EnvEnv.getPreviewConfig(): {\n strategyName: PreviewStrategyName;\n splitComponentBundle: boolean;\n}",
|
|
77
77
|
"modifiers": [],
|
|
78
78
|
"params": [],
|
|
79
79
|
"returnType": {
|
|
80
80
|
"__schema": "InferenceTypeSchema",
|
|
81
81
|
"location": {
|
|
82
82
|
"filePath": "env.env.ts",
|
|
83
|
-
"line":
|
|
83
|
+
"line": 18,
|
|
84
84
|
"character": 3
|
|
85
85
|
},
|
|
86
|
-
"type": "{\n strategyName:
|
|
86
|
+
"type": "{\n strategyName: PreviewStrategyName;\n splitComponentBundle: boolean;\n}"
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
],
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"__schema": "DocSchema",
|
|
92
92
|
"location": {
|
|
93
93
|
"filePath": "env.env.ts",
|
|
94
|
-
"line":
|
|
94
|
+
"line": 5,
|
|
95
95
|
"character": 1
|
|
96
96
|
},
|
|
97
97
|
"raw": "/**\n * a component environment built for Envs.\n */",
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
"componentId": {
|
|
155
155
|
"scope": "teambit.envs",
|
|
156
156
|
"name": "envs",
|
|
157
|
-
"version": "0.0.
|
|
157
|
+
"version": "0.0.892"
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
160
|
}
|
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
"componentId": {
|
|
200
200
|
"scope": "teambit.envs",
|
|
201
201
|
"name": "envs",
|
|
202
|
-
"version": "0.0.
|
|
202
|
+
"version": "0.0.892"
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
205
|
}
|
|
@@ -225,7 +225,7 @@
|
|
|
225
225
|
"componentId": {
|
|
226
226
|
"scope": "teambit.envs",
|
|
227
227
|
"name": "envs",
|
|
228
|
-
"version": "0.0.
|
|
228
|
+
"version": "0.0.892"
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
231
|
}
|
|
@@ -241,7 +241,7 @@
|
|
|
241
241
|
"componentId": {
|
|
242
242
|
"scope": "teambit.envs",
|
|
243
243
|
"name": "envs",
|
|
244
|
-
"version": "0.0.
|
|
244
|
+
"version": "0.0.892"
|
|
245
245
|
}
|
|
246
246
|
},
|
|
247
247
|
"doc": {
|
|
@@ -357,7 +357,7 @@
|
|
|
357
357
|
"componentId": {
|
|
358
358
|
"scope": "teambit.harmony",
|
|
359
359
|
"name": "aspect",
|
|
360
|
-
"version": "0.0.
|
|
360
|
+
"version": "0.0.892"
|
|
361
361
|
}
|
|
362
362
|
},
|
|
363
363
|
{
|
|
@@ -371,7 +371,7 @@
|
|
|
371
371
|
"componentId": {
|
|
372
372
|
"scope": "teambit.envs",
|
|
373
373
|
"name": "envs",
|
|
374
|
-
"version": "0.0.
|
|
374
|
+
"version": "0.0.892"
|
|
375
375
|
}
|
|
376
376
|
}
|
|
377
377
|
]
|
|
@@ -420,6 +420,6 @@
|
|
|
420
420
|
"componentId": {
|
|
421
421
|
"scope": "teambit.envs",
|
|
422
422
|
"name": "env",
|
|
423
|
-
"version": "0.0.
|
|
423
|
+
"version": "0.0.265"
|
|
424
424
|
}
|
|
425
425
|
}
|
|
File without changes
|
package/dist/env.env.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PreviewStrategyName } from "@teambit/preview";
|
|
1
2
|
export declare const EnvEnvType = "env";
|
|
2
3
|
/**
|
|
3
4
|
* a component environment built for Envs.
|
|
@@ -8,7 +9,7 @@ export declare class EnvEnv {
|
|
|
8
9
|
type: string;
|
|
9
10
|
}>;
|
|
10
11
|
getPreviewConfig(): {
|
|
11
|
-
strategyName:
|
|
12
|
+
strategyName: PreviewStrategyName;
|
|
12
13
|
splitComponentBundle: boolean;
|
|
13
14
|
};
|
|
14
15
|
}
|
package/dist/env.env.js
CHANGED
|
@@ -13,6 +13,13 @@ function _defineProperty2() {
|
|
|
13
13
|
};
|
|
14
14
|
return data;
|
|
15
15
|
}
|
|
16
|
+
function _preview() {
|
|
17
|
+
const data = require("@teambit/preview");
|
|
18
|
+
_preview = function () {
|
|
19
|
+
return data;
|
|
20
|
+
};
|
|
21
|
+
return data;
|
|
22
|
+
}
|
|
16
23
|
const EnvEnvType = 'env';
|
|
17
24
|
|
|
18
25
|
/**
|
|
@@ -30,7 +37,7 @@ class EnvEnv {
|
|
|
30
37
|
}
|
|
31
38
|
getPreviewConfig() {
|
|
32
39
|
return {
|
|
33
|
-
strategyName:
|
|
40
|
+
strategyName: _preview().COMPONENT_PREVIEW_STRATEGY_NAME,
|
|
34
41
|
splitComponentBundle: false
|
|
35
42
|
};
|
|
36
43
|
}
|
package/dist/env.env.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["EnvEnvType","EnvEnv","__getDescriptor","type","getPreviewConfig","strategyName","splitComponentBundle"],"sources":["env.env.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"names":["EnvEnvType","EnvEnv","__getDescriptor","type","getPreviewConfig","strategyName","COMPONENT_PREVIEW_STRATEGY_NAME","splitComponentBundle"],"sources":["env.env.ts"],"sourcesContent":["import { COMPONENT_PREVIEW_STRATEGY_NAME, PreviewStrategyName } from \"@teambit/preview\";\n\nexport const EnvEnvType = 'env';\n\n/**\n * a component environment built for Envs.\n */\nexport class EnvEnv {\n // TODO: consider special icon for envs?\n icon = 'https://static.bit.dev/extensions-icons/default.svg';\n\n async __getDescriptor() {\n return {\n type: EnvEnvType,\n };\n }\n\n getPreviewConfig() {\n return {\n strategyName: COMPONENT_PREVIEW_STRATEGY_NAME as PreviewStrategyName,\n splitComponentBundle: false,\n };\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;AAAA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAEO,MAAMA,UAAU,GAAG,KAAK;;AAE/B;AACA;AACA;AAFA;AAGO,MAAMC,MAAM,CAAC;EAAA;IAAA,8CAEX,qDAAqD;EAAA;EAE5D,MAAMC,eAAe,GAAG;IACtB,OAAO;MACLC,IAAI,EAAEH;IACR,CAAC;EACH;EAEAI,gBAAgB,GAAG;IACjB,OAAO;MACLC,YAAY,EAAEC,0CAAsD;MACpEC,oBAAoB,EAAE;IACxB,CAAC;EACH;AACF;AAAC"}
|
|
File without changes
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/env",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.265",
|
|
4
4
|
"homepage": "https://bit.dev/teambit/envs/env",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.envs",
|
|
8
8
|
"name": "env",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.265"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@babel/runtime": "7.20.0",
|
|
13
13
|
"core-js": "^3.0.0",
|
|
14
14
|
"@teambit/harmony": "0.3.3",
|
|
15
|
-
"@teambit/
|
|
16
|
-
"@teambit/
|
|
17
|
-
"@teambit/
|
|
15
|
+
"@teambit/preview": "0.0.892",
|
|
16
|
+
"@teambit/aspect": "0.0.892",
|
|
17
|
+
"@teambit/cli": "0.0.599",
|
|
18
|
+
"@teambit/envs": "0.0.892"
|
|
18
19
|
},
|
|
19
20
|
"devDependencies": {
|
|
20
21
|
"@types/react": "^17.0.8",
|
|
@@ -25,7 +26,7 @@
|
|
|
25
26
|
"@types/node": "12.20.4"
|
|
26
27
|
},
|
|
27
28
|
"peerDependencies": {
|
|
28
|
-
"@teambit/legacy": "1.0.
|
|
29
|
+
"@teambit/legacy": "1.0.382",
|
|
29
30
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
30
31
|
"react": "^16.8.0 || ^17.0.0"
|
|
31
32
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.envs_env@0.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.envs_env@0.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.envs_env@0.0.265/dist/env.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.envs_env@0.0.265/dist/env.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
|
Binary file
|