@teambit/global-config 0.0.862 → 0.0.864
Sign up to get free protection for your applications and to get access to all the features.
- package/artifacts/__bit_junit.xml +1 -1
- package/artifacts/preview/teambit_harmony_global_config-preview.js +1 -1
- package/artifacts/schema.json +7 -19
- package/dist/{preview-1712287228511.js → preview-1712805335812.js} +2 -2
- package/package.json +4 -4
- package/tsconfig.json +7 -1
- package/dist/exceptions/index.d.ts +0 -0
- package/dist/global-config.aspect.d.ts +0 -3
- package/dist/global-config.composition.d.ts +0 -1
- package/dist/global-config.main.runtime.d.ts +0 -26
- package/dist/globals.cmd.d.ts +0 -20
- package/dist/index.d.ts +0 -4
- package/dist/system.cmd.d.ts +0 -18
@@ -1,4 +1,4 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
2
|
<testsuites tests="0" failures="0" errors="0" skipped="0">
|
3
|
-
<testsuite name="teambit.harmony/global-config@0.0.
|
3
|
+
<testsuite name="teambit.harmony/global-config@0.0.864" tests="0" failures="0" errors="0" skipped="0"/>
|
4
4
|
</testsuites>
|
@@ -1 +1 @@
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.harmony/global-config-preview"]=t():e["teambit.harmony/global-config-preview"]=t()}(self,(()=>(()=>{"use strict";var e={
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.harmony/global-config-preview"]=t():e["teambit.harmony/global-config-preview"]=t()}(self,(()=>(()=>{"use strict";var e={15970:(e,t,o)=>{var n={id:"teambit.harmony/global-config@0.0.864",homepage:"https://bit.cloud/teambit/harmony/global-config",exported:!0};function r(){const e=i(o(41594));return r=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,r.__bit_component=n,i.__bit_component=n;const a=()=>r().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},r().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/global-config.svg"}));a.__bit_component=n,t.Logo=a},41594:e=>{e.exports=React}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{o.r(n),o.d(n,{compositions:()=>d,compositions_metadata:()=>u,overview:()=>f});var e={};o.r(e),o.d(e,{default:()=>s});var t=o(15970);o(41594);const r=MdxJsReact,i=TeambitMdxUiMdxScopeContext;var a=["components"];function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},c.apply(this,arguments)}var p={},l="wrapper";function s(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o,n,r={},i=Object.keys(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||(r[o]=e[o]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,a);return(0,r.mdx)(l,c({},p,o,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(i.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"},(0,r.mdx)("p",null,"This aspect let you read / change / delete bit's global config.")))}s.isMDXComponent=!0;const d=[t],f=[e],u={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),n})()));
|
package/artifacts/schema.json
CHANGED
@@ -455,8 +455,7 @@
|
|
455
455
|
"line": 55,
|
456
456
|
"character": 48
|
457
457
|
},
|
458
|
-
"name": "GlobalConfig"
|
459
|
-
"packageName": "@teambit/legacy/dist/global-config"
|
458
|
+
"name": "GlobalConfig"
|
460
459
|
}
|
461
460
|
]
|
462
461
|
},
|
@@ -574,8 +573,7 @@
|
|
574
573
|
"line": 62,
|
575
574
|
"character": 35
|
576
575
|
},
|
577
|
-
"name": "GlobalConfig"
|
578
|
-
"packageName": "@teambit/legacy/dist/global-config"
|
576
|
+
"name": "GlobalConfig"
|
579
577
|
}
|
580
578
|
]
|
581
579
|
},
|
@@ -722,11 +720,7 @@
|
|
722
720
|
"line": 88,
|
723
721
|
"character": 33
|
724
722
|
},
|
725
|
-
"name": "CLIMain"
|
726
|
-
"componentId": {
|
727
|
-
"scope": "teambit.harmony",
|
728
|
-
"name": "cli"
|
729
|
-
}
|
723
|
+
"name": "CLIMain"
|
730
724
|
}
|
731
725
|
]
|
732
726
|
},
|
@@ -1242,8 +1236,7 @@
|
|
1242
1236
|
"line": 55,
|
1243
1237
|
"character": 48
|
1244
1238
|
},
|
1245
|
-
"name": "GlobalConfig"
|
1246
|
-
"packageName": "@teambit/legacy/dist/global-config"
|
1239
|
+
"name": "GlobalConfig"
|
1247
1240
|
}
|
1248
1241
|
]
|
1249
1242
|
},
|
@@ -1361,8 +1354,7 @@
|
|
1361
1354
|
"line": 62,
|
1362
1355
|
"character": 35
|
1363
1356
|
},
|
1364
|
-
"name": "GlobalConfig"
|
1365
|
-
"packageName": "@teambit/legacy/dist/global-config"
|
1357
|
+
"name": "GlobalConfig"
|
1366
1358
|
}
|
1367
1359
|
]
|
1368
1360
|
},
|
@@ -1509,11 +1501,7 @@
|
|
1509
1501
|
"line": 88,
|
1510
1502
|
"character": 33
|
1511
1503
|
},
|
1512
|
-
"name": "CLIMain"
|
1513
|
-
"componentId": {
|
1514
|
-
"scope": "teambit.harmony",
|
1515
|
-
"name": "cli"
|
1516
|
-
}
|
1504
|
+
"name": "CLIMain"
|
1517
1505
|
}
|
1518
1506
|
]
|
1519
1507
|
},
|
@@ -1604,7 +1592,7 @@
|
|
1604
1592
|
"componentId": {
|
1605
1593
|
"scope": "teambit.harmony",
|
1606
1594
|
"name": "global-config",
|
1607
|
-
"version": "0.0.
|
1595
|
+
"version": "0.0.864"
|
1608
1596
|
},
|
1609
1597
|
"taggedModuleExports": []
|
1610
1598
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_global-config@0.0.
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_global-config@0.0.
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_global-config@0.0.864/dist/global-config.composition.js';
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_global-config@0.0.864/dist/global-config.docs.md';
|
3
3
|
|
4
4
|
export const compositions = [compositions_0];
|
5
5
|
export const overview = [overview_0];
|
package/package.json
CHANGED
@@ -1,25 +1,25 @@
|
|
1
1
|
{
|
2
2
|
"name": "@teambit/global-config",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.864",
|
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.864"
|
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.861"
|
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.30"
|
23
23
|
},
|
24
24
|
"peerDependencies": {
|
25
25
|
"react": "^17.0.0 || ^18.0.0",
|
package/tsconfig.json
CHANGED
@@ -20,7 +20,8 @@
|
|
20
20
|
"emitDeclarationOnly": true,
|
21
21
|
"strict": true,
|
22
22
|
"strictPropertyInitialization": false,
|
23
|
-
"noImplicitAny": false
|
23
|
+
"noImplicitAny": false,
|
24
|
+
"composite": true
|
24
25
|
},
|
25
26
|
"exclude": [
|
26
27
|
"artifacts",
|
@@ -35,5 +36,10 @@
|
|
35
36
|
"include": [
|
36
37
|
"**/*",
|
37
38
|
"**/*.json"
|
39
|
+
],
|
40
|
+
"references": [
|
41
|
+
{
|
42
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_cli@0.0.861"
|
43
|
+
}
|
38
44
|
]
|
39
45
|
}
|
File without changes
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const Logo: () => import("react/jsx-runtime").JSX.Element;
|
@@ -1,26 +0,0 @@
|
|
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
|
-
}
|
package/dist/globals.cmd.d.ts
DELETED
@@ -1,20 +0,0 @@
|
|
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
DELETED
package/dist/system.cmd.d.ts
DELETED
@@ -1,18 +0,0 @@
|
|
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
|
-
}
|