@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/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.107",
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.107"
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.107",
25
- "@teambit/aspect-loader": "1.0.107",
26
- "@teambit/cli": "0.0.839",
27
- "@teambit/logger": "0.0.932",
28
- "@teambit/worker": "0.0.1143",
29
- "@teambit/builder": "1.0.107",
30
- "@teambit/bundler": "1.0.107",
31
- "@teambit/compiler": "1.0.107",
32
- "@teambit/dependency-resolver": "1.0.107",
33
- "@teambit/formatter": "1.0.107",
34
- "@teambit/isolator": "1.0.107",
35
- "@teambit/linter": "1.0.107",
36
- "@teambit/pkg": "1.0.107",
37
- "@teambit/preview": "1.0.107",
38
- "@teambit/schema": "1.0.107",
39
- "@teambit/tester": "1.0.107",
40
- "@teambit/webpack": "1.0.107",
41
- "@teambit/graphql": "1.0.107",
42
- "@teambit/bit": "1.6.0",
43
- "@teambit/component-issues": "0.0.137",
44
- "@teambit/issues": "1.0.107",
45
- "@teambit/cli-table": "0.0.45"
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/node": "12.20.4",
52
- "@types/react-dom": "^17.0.5",
53
- "@types/jest": "^26.0.0",
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
- "@teambit/legacy": "1.0.624",
59
- "react": "^16.8.0 || ^17.0.0",
60
- "react-dom": "^16.8.0 || ^17.0.0"
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": ">=12.22.0"
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
- "es2019",
5
- "DOM",
6
- "ES6",
7
- "DOM.Iterable",
8
- "ScriptHost"
4
+ "esnext",
5
+ "dom",
6
+ "dom.Iterable"
9
7
  ],
10
- "target": "es2015",
11
- "module": "CommonJS",
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
- "outDir": "dist",
14
+ "skipLibCheck": true,
20
15
  "moduleResolution": "node",
21
16
  "esModuleInterop": true,
22
- "rootDir": ".",
23
17
  "resolveJsonModule": true,
24
- "emitDeclarationOnly": true,
25
- "emitDecoratorMetadata": true,
26
- "allowSyntheticDefaultImports": true,
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
- "package.json"
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<SVGProps<SVGSVGElement> & { title?: string }>;
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
+ }