@teambit/config 0.0.893 → 0.0.894

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.
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuites>
3
+ <testsuite name="teambit.harmony/config@0.0.894" tests="0" failures="0" errors="0" skipped="0"/>
4
+ </testsuites>
@@ -11,9 +11,9 @@ export type SetExtensionOptions = {
11
11
  export type ConfigDeps = [];
12
12
  export type ConfigConfig = {};
13
13
  export declare class ConfigMain {
14
- workspaceConfig?: WorkspaceConfig;
15
- scopeConfig?: WorkspaceConfig;
16
- constructor(workspaceConfig?: WorkspaceConfig, scopeConfig?: WorkspaceConfig);
14
+ workspaceConfig?: WorkspaceConfig | undefined;
15
+ scopeConfig?: WorkspaceConfig | undefined;
16
+ constructor(workspaceConfig?: WorkspaceConfig | undefined, scopeConfig?: WorkspaceConfig | undefined);
17
17
  get type(): ConfigType;
18
18
  get path(): PathOsBased | undefined;
19
19
  get config(): HostConfig | undefined;
@@ -34,8 +34,8 @@ export declare class ConfigMain {
34
34
  setExtension(extensionId: string, config: Record<string, any>, options: SetExtensionOptions): void;
35
35
  getHarmonyConfigObject(): GlobalConfig;
36
36
  static runtime: import("@teambit/harmony").RuntimeDefinition;
37
- static slots: any[];
38
- static dependencies: any[];
37
+ static slots: never[];
38
+ static dependencies: never[];
39
39
  static config: {};
40
40
  static provider(): Promise<any>;
41
41
  }
package/dist/esm.mjs CHANGED
@@ -5,5 +5,6 @@ export const ConfigAspect = cjsModule.ConfigAspect;
5
5
  export const ConfigRuntime = cjsModule.ConfigRuntime;
6
6
  export const getWorkspaceConfigTemplateParsed = cjsModule.getWorkspaceConfigTemplateParsed;
7
7
  export const stringifyWorkspaceConfig = cjsModule.stringifyWorkspaceConfig;
8
+ export const getConfigAspect = cjsModule.getConfigAspect;
8
9
 
9
10
  export default cjsModule;
@@ -43,7 +43,7 @@ export declare class WorkspaceConfig implements HostConfig {
43
43
  raw?: any;
44
44
  _extensions: ExtensionDataList;
45
45
  isLegacy: boolean;
46
- constructor(data: WorkspaceConfigFileProps, _path: PathOsBasedAbsolute, scopePath?: PathOsBasedAbsolute);
46
+ constructor(data: WorkspaceConfigFileProps, _path: PathOsBasedAbsolute, scopePath?: string | undefined);
47
47
  get path(): PathOsBased;
48
48
  get extensions(): ExtensionDataList;
49
49
  private loadExtensions;
package/esm.mjs CHANGED
@@ -5,5 +5,6 @@ export const ConfigAspect = cjsModule.ConfigAspect;
5
5
  export const ConfigRuntime = cjsModule.ConfigRuntime;
6
6
  export const getWorkspaceConfigTemplateParsed = cjsModule.getWorkspaceConfigTemplateParsed;
7
7
  export const stringifyWorkspaceConfig = cjsModule.stringifyWorkspaceConfig;
8
+ export const getConfigAspect = cjsModule.getConfigAspect;
8
9
 
9
10
  export default cjsModule;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/config",
3
- "version": "0.0.893",
3
+ "version": "0.0.894",
4
4
  "homepage": "https://bit.cloud/teambit/harmony/config",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.harmony",
8
8
  "name": "config",
9
- "version": "0.0.893"
9
+ "version": "0.0.894"
10
10
  },
11
11
  "dependencies": {
12
12
  "comment-json": "3.0.3",
@@ -15,16 +15,15 @@
15
15
  "chalk": "2.4.2",
16
16
  "@teambit/harmony": "0.4.6",
17
17
  "@teambit/bit-error": "0.0.404",
18
- "@teambit/cli": "0.0.848",
19
- "@teambit/workspace": "1.0.142"
18
+ "@teambit/cli": "0.0.849",
19
+ "@teambit/workspace": "1.0.143"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@types/fs-extra": "9.0.7",
23
23
  "@types/lodash": "4.14.165",
24
24
  "@types/mocha": "9.1.0",
25
- "@types/jest": "^29.2.2",
26
- "@types/testing-library__jest-dom": "^5.9.5",
27
- "@teambit/harmony.envs.core-aspect-env": "0.0.19"
25
+ "chai": "4.3.0",
26
+ "@teambit/harmony.envs.core-aspect-env": "0.0.24"
28
27
  },
29
28
  "peerDependencies": {
30
29
  "@teambit/legacy": "1.0.624"
@@ -41,7 +40,8 @@
41
40
  "default": "./dist/index.js"
42
41
  },
43
42
  "./dist/*": "./dist/*",
44
- "./artifacts/*": "./artifacts/*"
43
+ "./artifacts/*": "./artifacts/*",
44
+ "./*": "./*.ts"
45
45
  },
46
46
  "private": false,
47
47
  "engines": {
package/tsconfig.json CHANGED
@@ -17,7 +17,10 @@
17
17
  "resolveJsonModule": true,
18
18
  "allowJs": true,
19
19
  "outDir": "dist",
20
- "emitDeclarationOnly": true
20
+ "emitDeclarationOnly": true,
21
+ "strict": true,
22
+ "strictPropertyInitialization": false,
23
+ "noImplicitAny": false
21
24
  },
22
25
  "exclude": [
23
26
  "artifacts",