@teambit/global-config 0.0.864 → 0.0.866
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 +1 -1
- package/artifacts/preview/teambit_harmony_global_config-preview.js +1 -1
- package/artifacts/schema.json +627 -597
- package/dist/exceptions/index.d.ts +0 -0
- package/dist/global-config.aspect.d.ts +3 -0
- package/dist/global-config.composition.d.ts +1 -0
- package/dist/global-config.main.runtime.d.ts +26 -0
- package/dist/globals.cmd.d.ts +20 -0
- package/dist/index.d.ts +4 -0
- package/dist/{preview-1712805335812.js → preview-1714533890836.js} +2 -2
- package/dist/system.cmd.d.ts +18 -0
- package/package.json +4 -4
- package/tsconfig.json +1 -7
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Logo: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { CLIMain } from '@teambit/cli';
|
|
2
|
+
import { GlobalConfig } from '@teambit/legacy/dist/global-config';
|
|
3
|
+
export declare class GlobalConfigMain {
|
|
4
|
+
static runtime: import("@teambit/harmony").RuntimeDefinition;
|
|
5
|
+
static dependencies: import("@teambit/harmony").Aspect[];
|
|
6
|
+
static slots: never[];
|
|
7
|
+
get(key: string): Promise<string | undefined>;
|
|
8
|
+
getBool(key: string): Promise<boolean | undefined>;
|
|
9
|
+
getSync(key: string): string | undefined;
|
|
10
|
+
list(): Promise<Record<string, string>>;
|
|
11
|
+
listSync(): Record<string, string>;
|
|
12
|
+
set(key: string, val: string): Promise<GlobalConfig>;
|
|
13
|
+
setSync(key: string, val: string): GlobalConfig;
|
|
14
|
+
del(key: string): Promise<GlobalConfig>;
|
|
15
|
+
delSync(key: string): GlobalConfig;
|
|
16
|
+
getGlobalCapsulesBaseDir(): string;
|
|
17
|
+
invalidateCache(): void;
|
|
18
|
+
getKnownGlobalDirs(): {
|
|
19
|
+
'Global Dir': string;
|
|
20
|
+
'Log file': string;
|
|
21
|
+
'Global Scope Dir': string;
|
|
22
|
+
'Config Dir': string;
|
|
23
|
+
'Capsules Dir': string;
|
|
24
|
+
};
|
|
25
|
+
static provider([cli]: [CLIMain]): Promise<GlobalConfigMain>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Command, CommandOptions } from '@teambit/cli';
|
|
2
|
+
import { GlobalConfigMain } from './global-config.main.runtime';
|
|
3
|
+
export declare class GlobalsCmd implements Command {
|
|
4
|
+
private globalConfig;
|
|
5
|
+
name: string;
|
|
6
|
+
description: string;
|
|
7
|
+
group: string;
|
|
8
|
+
helpUrl: string;
|
|
9
|
+
alias: string;
|
|
10
|
+
options: CommandOptions;
|
|
11
|
+
constructor(globalConfig: GlobalConfigMain);
|
|
12
|
+
report(): Promise<string>;
|
|
13
|
+
json(): Promise<{
|
|
14
|
+
'Global Dir': string;
|
|
15
|
+
'Log file': string;
|
|
16
|
+
'Global Scope Dir': string;
|
|
17
|
+
'Config Dir': string;
|
|
18
|
+
'Capsules Dir': string;
|
|
19
|
+
}>;
|
|
20
|
+
}
|
package/dist/index.d.ts
ADDED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_global-config@0.0.866/dist/global-config.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_global-config@0.0.866/dist/global-config.docs.md';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Command, CommandOptions } from '@teambit/cli';
|
|
2
|
+
export declare class SystemCmd implements Command {
|
|
3
|
+
name: string;
|
|
4
|
+
description: string;
|
|
5
|
+
group: string;
|
|
6
|
+
alias: string;
|
|
7
|
+
options: CommandOptions;
|
|
8
|
+
commands: Command[];
|
|
9
|
+
report([unrecognizedSubcommand]: [string]): Promise<string>;
|
|
10
|
+
}
|
|
11
|
+
export declare class SystemLogCmd implements Command {
|
|
12
|
+
name: string;
|
|
13
|
+
description: string;
|
|
14
|
+
group: string;
|
|
15
|
+
alias: string;
|
|
16
|
+
options: CommandOptions;
|
|
17
|
+
report(): Promise<string>;
|
|
18
|
+
}
|
package/package.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/global-config",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.866",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/harmony/global-config",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.harmony",
|
|
8
8
|
"name": "global-config",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.866"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"chalk": "2.4.2",
|
|
13
13
|
"pad-right": "0.2.2",
|
|
14
14
|
"fs-extra": "10.0.0",
|
|
15
15
|
"@teambit/harmony": "0.4.6",
|
|
16
|
-
"@teambit/cli": "0.0.
|
|
16
|
+
"@teambit/cli": "0.0.863"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@types/fs-extra": "9.0.7",
|
|
20
20
|
"@types/mocha": "9.1.0",
|
|
21
21
|
"chai": "4.3.0",
|
|
22
|
-
"@teambit/harmony.envs.core-aspect-env": "0.0.
|
|
22
|
+
"@teambit/harmony.envs.core-aspect-env": "0.0.33"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"react": "^17.0.0 || ^18.0.0",
|
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,10 +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_cli@0.0.861"
|
|
43
|
-
}
|
|
44
38
|
]
|
|
45
39
|
}
|