@teambit/envs 1.0.107 → 1.0.108
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/components/env-console/env-console.d.ts +3 -3
- package/dist/components/env-overview/env-overview.d.ts +3 -3
- package/dist/context/context.d.ts +1 -1
- package/dist/env-definition.d.ts +4 -4
- package/dist/env-service-list.d.ts +5 -5
- package/dist/env.composition.d.ts +2 -2
- package/dist/environment.d.ts +3 -3
- package/dist/environments.main.runtime.d.ts +12 -12
- package/dist/environments.main.runtime.js +12 -13
- package/dist/environments.main.runtime.js.map +1 -1
- package/dist/envs.cmd.d.ts +5 -5
- package/dist/exceptions/env-not-found.d.ts +1 -1
- package/dist/{preview-1703590665075.js → preview-1703647408454.js} +2 -2
- package/dist/services/service-handler.d.ts +3 -3
- package/dist/services/service.d.ts +3 -3
- package/env-definition.ts +50 -0
- package/env-interface.ts +5 -0
- package/env-service-list.ts +31 -0
- package/env.fragment.ts +35 -0
- package/env.plugin.ts +60 -0
- package/environment.ts +236 -0
- package/environments.aspect.ts +5 -0
- package/environments.graphql.ts +27 -0
- package/environments.main.runtime.ts +1058 -0
- package/index.ts +29 -0
- package/package.json +33 -40
- package/tsconfig.json +16 -21
- package/types/asset.d.ts +15 -3
package/index.ts
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
import { EnvsAspect } from './environments.aspect';
|
2
|
+
|
3
|
+
export { ServiceHandlerContext as EnvContext } from './services';
|
4
|
+
|
5
|
+
export type {
|
6
|
+
ServiceHandlerFactory as EnvHandler,
|
7
|
+
AsyncServiceHandlerFactory as AsyncEnvHandler,
|
8
|
+
ServiceHandler,
|
9
|
+
ServiceTransformationMap,
|
10
|
+
} from './services';
|
11
|
+
export { DEFAULT_ENV } from './environments.main.runtime';
|
12
|
+
export * from './environment';
|
13
|
+
export { ExecutionContext } from './context';
|
14
|
+
export type { EnvService, ConcreteService } from './services';
|
15
|
+
export { reduceServiceHandlersFactories } from './services';
|
16
|
+
export { EnvRuntime } from './runtime/env-runtime';
|
17
|
+
export type { Env } from './env-interface';
|
18
|
+
export type {
|
19
|
+
EnvsMain,
|
20
|
+
EnvTransformer,
|
21
|
+
Descriptor,
|
22
|
+
RegularCompDescriptor,
|
23
|
+
EnvCompDescriptor,
|
24
|
+
} from './environments.main.runtime';
|
25
|
+
export { EnvsAspect };
|
26
|
+
export { EnvsExecutionResult } from './runtime/envs-execution-result';
|
27
|
+
export type { EnvServiceList } from './env-service-list';
|
28
|
+
export { EnvDefinition } from './env-definition';
|
29
|
+
export default EnvsAspect;
|
package/package.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@teambit/envs",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.108",
|
4
4
|
"homepage": "https://bit.cloud/teambit/envs/envs",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"componentId": {
|
7
7
|
"scope": "teambit.envs",
|
8
8
|
"name": "envs",
|
9
|
-
"version": "1.0.
|
9
|
+
"version": "1.0.108"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"chalk": "2.4.2",
|
@@ -16,48 +16,44 @@
|
|
16
16
|
"p-locate": "5.0.0",
|
17
17
|
"p-map-series": "2.1.0",
|
18
18
|
"ink": "3.2.0",
|
19
|
-
"core-js": "^3.0.0",
|
20
|
-
"@babel/runtime": "7.20.0",
|
21
19
|
"@teambit/harmony": "0.4.6",
|
22
20
|
"@teambit/bit-error": "0.0.404",
|
23
21
|
"@teambit/component-id": "1.2.0",
|
24
|
-
"@teambit/component": "1.0.
|
25
|
-
"@teambit/aspect-loader": "1.0.
|
26
|
-
"@teambit/cli": "0.0.
|
27
|
-
"@teambit/logger": "0.0.
|
28
|
-
"@teambit/worker": "0.0.
|
29
|
-
"@teambit/builder": "1.0.
|
30
|
-
"@teambit/bundler": "1.0.
|
31
|
-
"@teambit/compiler": "1.0.
|
32
|
-
"@teambit/dependency-resolver": "1.0.
|
33
|
-
"@teambit/formatter": "1.0.
|
34
|
-
"@teambit/isolator": "1.0.
|
35
|
-
"@teambit/linter": "1.0.
|
36
|
-
"@teambit/pkg": "1.0.
|
37
|
-
"@teambit/preview": "1.0.
|
38
|
-
"@teambit/schema": "1.0.
|
39
|
-
"@teambit/tester": "1.0.
|
40
|
-
"@teambit/webpack": "1.0.
|
41
|
-
"@teambit/graphql": "1.0.
|
42
|
-
"@teambit/bit": "1.6.
|
43
|
-
"@teambit/component-issues": "0.0.
|
44
|
-
"@teambit/issues": "1.0.
|
45
|
-
"@teambit/cli-table": "0.0.
|
22
|
+
"@teambit/component": "1.0.108",
|
23
|
+
"@teambit/aspect-loader": "1.0.108",
|
24
|
+
"@teambit/cli": "0.0.840",
|
25
|
+
"@teambit/logger": "0.0.933",
|
26
|
+
"@teambit/worker": "0.0.1144",
|
27
|
+
"@teambit/builder": "1.0.108",
|
28
|
+
"@teambit/bundler": "1.0.108",
|
29
|
+
"@teambit/compiler": "1.0.108",
|
30
|
+
"@teambit/dependency-resolver": "1.0.108",
|
31
|
+
"@teambit/formatter": "1.0.108",
|
32
|
+
"@teambit/isolator": "1.0.108",
|
33
|
+
"@teambit/linter": "1.0.108",
|
34
|
+
"@teambit/pkg": "1.0.108",
|
35
|
+
"@teambit/preview": "1.0.108",
|
36
|
+
"@teambit/schema": "1.0.108",
|
37
|
+
"@teambit/tester": "1.0.108",
|
38
|
+
"@teambit/webpack": "1.0.108",
|
39
|
+
"@teambit/graphql": "1.0.108",
|
40
|
+
"@teambit/bit": "1.6.1",
|
41
|
+
"@teambit/component-issues": "0.0.138",
|
42
|
+
"@teambit/issues": "1.0.108",
|
43
|
+
"@teambit/cli-table": "0.0.46"
|
46
44
|
},
|
47
45
|
"devDependencies": {
|
48
|
-
"@types/react": "^17.0.8",
|
49
46
|
"@types/lodash": "4.14.165",
|
50
47
|
"@types/mocha": "9.1.0",
|
51
|
-
"@types/
|
52
|
-
"@types/
|
53
|
-
"@
|
54
|
-
"@types/testing-library__jest-dom": "5.9.5",
|
48
|
+
"@types/jest": "^29.2.2",
|
49
|
+
"@types/testing-library__jest-dom": "^5.9.5",
|
50
|
+
"@teambit/harmony.envs.core-aspect-env": "0.0.13",
|
55
51
|
"@teambit/envs.aspect-docs.envs": "0.0.165"
|
56
52
|
},
|
57
53
|
"peerDependencies": {
|
58
|
-
"
|
59
|
-
"react": "^
|
60
|
-
"
|
54
|
+
"react": "^17.0.0 || ^18.0.0",
|
55
|
+
"@types/react": "^18.2.12",
|
56
|
+
"@teambit/legacy": "1.0.624"
|
61
57
|
},
|
62
58
|
"license": "Apache-2.0",
|
63
59
|
"optionalDependencies": {},
|
@@ -71,7 +67,7 @@
|
|
71
67
|
},
|
72
68
|
"private": false,
|
73
69
|
"engines": {
|
74
|
-
"node": ">=
|
70
|
+
"node": ">=16.0.0"
|
75
71
|
},
|
76
72
|
"repository": {
|
77
73
|
"type": "git",
|
@@ -80,12 +76,9 @@
|
|
80
76
|
"keywords": [
|
81
77
|
"bit",
|
82
78
|
"bit-aspect",
|
79
|
+
"bit-core-aspect",
|
83
80
|
"components",
|
84
81
|
"collaboration",
|
85
|
-
"web"
|
86
|
-
"react",
|
87
|
-
"react-components",
|
88
|
-
"angular",
|
89
|
-
"angular-components"
|
82
|
+
"web"
|
90
83
|
]
|
91
84
|
}
|
package/tsconfig.json
CHANGED
@@ -1,38 +1,33 @@
|
|
1
1
|
{
|
2
2
|
"compilerOptions": {
|
3
3
|
"lib": [
|
4
|
-
"
|
5
|
-
"
|
6
|
-
"
|
7
|
-
"DOM.Iterable",
|
8
|
-
"ScriptHost"
|
4
|
+
"esnext",
|
5
|
+
"dom",
|
6
|
+
"dom.Iterable"
|
9
7
|
],
|
10
|
-
"target": "
|
11
|
-
"module": "
|
12
|
-
"jsx": "react",
|
13
|
-
"allowJs": true,
|
14
|
-
"composite": true,
|
8
|
+
"target": "es2020",
|
9
|
+
"module": "es2020",
|
10
|
+
"jsx": "react-jsx",
|
15
11
|
"declaration": true,
|
16
12
|
"sourceMap": true,
|
17
|
-
"skipLibCheck": true,
|
18
13
|
"experimentalDecorators": true,
|
19
|
-
"
|
14
|
+
"skipLibCheck": true,
|
20
15
|
"moduleResolution": "node",
|
21
16
|
"esModuleInterop": true,
|
22
|
-
"rootDir": ".",
|
23
17
|
"resolveJsonModule": true,
|
24
|
-
"
|
25
|
-
"
|
26
|
-
"
|
27
|
-
"strictPropertyInitialization": false,
|
28
|
-
"strict": true,
|
29
|
-
"noImplicitAny": false,
|
30
|
-
"preserveConstEnums": true
|
18
|
+
"allowJs": true,
|
19
|
+
"outDir": "dist",
|
20
|
+
"emitDeclarationOnly": true
|
31
21
|
},
|
32
22
|
"exclude": [
|
23
|
+
"artifacts",
|
24
|
+
"public",
|
33
25
|
"dist",
|
26
|
+
"node_modules",
|
27
|
+
"package.json",
|
34
28
|
"esm.mjs",
|
35
|
-
"
|
29
|
+
"**/*.cjs",
|
30
|
+
"./dist"
|
36
31
|
],
|
37
32
|
"include": [
|
38
33
|
"**/*",
|
package/types/asset.d.ts
CHANGED
@@ -5,12 +5,12 @@ declare module '*.png' {
|
|
5
5
|
declare module '*.svg' {
|
6
6
|
import type { FunctionComponent, SVGProps } from 'react';
|
7
7
|
|
8
|
-
export const ReactComponent: FunctionComponent<
|
8
|
+
export const ReactComponent: FunctionComponent<
|
9
|
+
SVGProps<SVGSVGElement> & { title?: string }
|
10
|
+
>;
|
9
11
|
const src: string;
|
10
12
|
export default src;
|
11
13
|
}
|
12
|
-
|
13
|
-
// @TODO Gilad
|
14
14
|
declare module '*.jpg' {
|
15
15
|
const value: any;
|
16
16
|
export = value;
|
@@ -27,3 +27,15 @@ declare module '*.bmp' {
|
|
27
27
|
const value: any;
|
28
28
|
export = value;
|
29
29
|
}
|
30
|
+
declare module '*.otf' {
|
31
|
+
const value: any;
|
32
|
+
export = value;
|
33
|
+
}
|
34
|
+
declare module '*.woff' {
|
35
|
+
const value: any;
|
36
|
+
export = value;
|
37
|
+
}
|
38
|
+
declare module '*.woff2' {
|
39
|
+
const value: any;
|
40
|
+
export = value;
|
41
|
+
}
|