@teambit/global-config 0.0.843 → 0.0.845

Sign up to get free protection for your applications and to get access to all the features.
@@ -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={18390:(e,t,o)=>{var n={id:"teambit.harmony/global-config@0.0.843",homepage:"https://bit.cloud/teambit/harmony/global-config",exported:!0};function r(){const e=i(o(87363));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},87363: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(18390);o(87363);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})()));
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={51559:(e,t,o)=>{var n={id:"teambit.harmony/global-config@0.0.845",homepage:"https://bit.cloud/teambit/harmony/global-config",exported:!0};function r(){const e=i(o(87363));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},87363: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(51559);o(87363);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})()));
@@ -14,6 +14,7 @@ export declare class GlobalConfigMain {
14
14
  del(key: string): Promise<GlobalConfig>;
15
15
  delSync(key: string): GlobalConfig;
16
16
  getGlobalCapsulesBaseDir(): string;
17
+ invalidateCache(): void;
17
18
  getKnownGlobalDirs(): {
18
19
  'Global Dir': string;
19
20
  'Log file': string;
@@ -85,6 +85,9 @@ class GlobalConfigMain {
85
85
  getGlobalCapsulesBaseDir() {
86
86
  return this.getSync(_constants().CFG_CAPSULES_ROOT_BASE_DIR) || _constants().GLOBALS_DEFAULT_CAPSULES;
87
87
  }
88
+ invalidateCache() {
89
+ (0, _globalConfig().invalidateCache)();
90
+ }
88
91
  getKnownGlobalDirs() {
89
92
  return {
90
93
  'Global Dir': _constants().CACHE_ROOT,
@@ -1 +1 @@
1
- {"version":3,"names":["_cli","data","require","_constants","_globalConfig","_globalConfig2","_globals","_system","_defineProperty","obj","key","value","_toPropertyKey","Object","defineProperty","enumerable","configurable","writable","t","i","_toPrimitive","String","r","e","Symbol","toPrimitive","call","TypeError","Number","GlobalConfigMain","get","getBool","result","undefined","Error","getSync","list","listSync","set","val","setSync","del","delSync","getGlobalCapsulesBaseDir","CFG_CAPSULES_ROOT_BASE_DIR","GLOBALS_DEFAULT_CAPSULES","getKnownGlobalDirs","CACHE_ROOT","DEBUG_LOG","GLOBAL_SCOPE","GLOBAL_CONFIG","provider","cli","globalConfig","systemCmd","SystemCmd","systemLogCmd","SystemLogCmd","commands","register","GlobalsCmd","exports","MainRuntime","CLIAspect","GlobalConfigAspect","addRuntime"],"sources":["global-config.main.runtime.ts"],"sourcesContent":["import { CLIAspect, CLIMain, MainRuntime } from '@teambit/cli';\nimport {\n CACHE_ROOT,\n DEBUG_LOG,\n GLOBAL_SCOPE,\n GLOBAL_CONFIG,\n CFG_CAPSULES_ROOT_BASE_DIR,\n GLOBALS_DEFAULT_CAPSULES,\n} from '@teambit/legacy/dist/constants';\nimport {\n del,\n delSync,\n get,\n getSync,\n list,\n listSync,\n set,\n setSync,\n} from '@teambit/legacy/dist/api/consumer/lib/global-config';\nimport { GlobalConfig } from '@teambit/legacy/dist/global-config';\nimport { GlobalConfigAspect } from './global-config.aspect';\nimport { GlobalsCmd } from './globals.cmd';\nimport { SystemCmd, SystemLogCmd } from './system.cmd';\n\nexport class GlobalConfigMain {\n static runtime = MainRuntime;\n static dependencies = [CLIAspect];\n static slots = [];\n\n async get(key: string): Promise<string | undefined> {\n return get(key);\n }\n\n async getBool(key: string): Promise<boolean | undefined> {\n const result = await get(key);\n if (result === undefined || result === null) return undefined;\n if (typeof result === 'boolean') return result;\n if (result === 'true') return true;\n if (result === 'false') return false;\n throw new Error(`the configuration \"${key}\" has an invalid value \"${result}\". it should be boolean`);\n }\n\n getSync(key: string): string | undefined {\n return getSync(key);\n }\n\n list(): Promise<Record<string, string>> {\n return list();\n }\n listSync(): Record<string, string> {\n return listSync();\n }\n\n async set(key: string, val: string): Promise<GlobalConfig> {\n return set(key, val);\n }\n setSync(key: string, val: string): GlobalConfig {\n return setSync(key, val);\n }\n\n async del(key: string): Promise<GlobalConfig> {\n return del(key);\n }\n\n delSync(key: string): GlobalConfig {\n return delSync(key);\n }\n\n getGlobalCapsulesBaseDir() {\n return this.getSync(CFG_CAPSULES_ROOT_BASE_DIR) || GLOBALS_DEFAULT_CAPSULES;\n }\n\n getKnownGlobalDirs() {\n return {\n 'Global Dir': CACHE_ROOT,\n 'Log file': DEBUG_LOG,\n 'Global Scope Dir': GLOBAL_SCOPE,\n 'Config Dir': GLOBAL_CONFIG,\n 'Capsules Dir': this.getGlobalCapsulesBaseDir(),\n };\n }\n\n static async provider([cli]: [CLIMain]) {\n const globalConfig = new GlobalConfigMain();\n const systemCmd = new SystemCmd();\n const systemLogCmd = new SystemLogCmd();\n systemCmd.commands = [systemLogCmd];\n cli.register(new GlobalsCmd(globalConfig), systemCmd);\n return globalConfig;\n }\n}\n\nGlobalConfigAspect.addRuntime(GlobalConfigMain);\n"],"mappings":";;;;;;AAAA,SAAAA,KAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,IAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,WAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,UAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAQA,SAAAG,cAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,aAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAWA,SAAA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L,YAAY,EAAEC,uBAAU;MACxB,UAAU,EAAEC,sBAAS;MACrB,kBAAkB,EAAEC,yBAAY;MAChC,YAAY,EAAEC,0BAAa;MAC3B,cAAc,EAAE,IAAI,CAACP,wBAAwB,CAAC;IAChD,CAAC;EACH;EAEA,aAAaQ,QAAQA,CAAC,CAACC,GAAG,CAAY,EAAE;IACtC,MAAMC,YAAY,GAAG,IAAIxB,gBAAgB,CAAC,CAAC;IAC3C,MAAMyB,SAAS,GAAG,KAAIC,mBAAS,EAAC,CAAC;IACjC,MAAMC,YAAY,GAAG,KAAIC,sBAAY,EAAC,CAAC;IACvCH,SAAS,CAACI,QAAQ,GAAG,CAACF,YAAY,CAAC;IACnCJ,GAAG,CAACO,QAAQ,CAAC,KAAIC,qBAAU,EAACP,YAAY,CAAC,EAAEC,SAAS,CAAC;IACrD,OAAOD,YAAY;EACrB;AACF;AAACQ,OAAA,CAAAhC,gBAAA,GAAAA,gBAAA;AAAArB,eAAA,CAlEYqB,gBAAgB,aACViC,kBAAW;AAAAtD,eAAA,CADjBqB,gBAAgB,kBAEL,CAACkC,gBAAS,CAAC;AAAAvD,eAAA,CAFtBqB,gBAAgB,WAGZ,EAAE;AAiEnBmC,mCAAkB,CAACC,UAAU,CAACpC,gBAAgB,CAAC"}
1
+ {"version":3,"names":["_cli","data","require","_constants","_globalConfig","_globalConfig2","_globals","_system","_defineProperty","obj","key","value","_toPropertyKey","Object","defineProperty","enumerable","configurable","writable","t","i","_toPrimitive","String","r","e","Symbol","toPrimitive","call","TypeError","Number","GlobalConfigMain","get","getBool","result","undefined","Error","getSync","list","listSync","set","val","setSync","del","delSync","getGlobalCapsulesBaseDir","CFG_CAPSULES_ROOT_BASE_DIR","GLOBALS_DEFAULT_CAPSULES","invalidateCache","getKnownGlobalDirs","CACHE_ROOT","DEBUG_LOG","GLOBAL_SCOPE","GLOBAL_CONFIG","provider","cli","globalConfig","systemCmd","SystemCmd","systemLogCmd","SystemLogCmd","commands","register","GlobalsCmd","exports","MainRuntime","CLIAspect","GlobalConfigAspect","addRuntime"],"sources":["global-config.main.runtime.ts"],"sourcesContent":["import { CLIAspect, CLIMain, MainRuntime } from '@teambit/cli';\nimport {\n CACHE_ROOT,\n DEBUG_LOG,\n GLOBAL_SCOPE,\n GLOBAL_CONFIG,\n CFG_CAPSULES_ROOT_BASE_DIR,\n GLOBALS_DEFAULT_CAPSULES,\n} from '@teambit/legacy/dist/constants';\nimport {\n del,\n delSync,\n get,\n getSync,\n list,\n listSync,\n set,\n setSync,\n invalidateCache,\n} from '@teambit/legacy/dist/api/consumer/lib/global-config';\nimport { GlobalConfig } from '@teambit/legacy/dist/global-config';\nimport { GlobalConfigAspect } from './global-config.aspect';\nimport { GlobalsCmd } from './globals.cmd';\nimport { SystemCmd, SystemLogCmd } from './system.cmd';\n\nexport class GlobalConfigMain {\n static runtime = MainRuntime;\n static dependencies = [CLIAspect];\n static slots = [];\n\n async get(key: string): Promise<string | undefined> {\n return get(key);\n }\n\n async getBool(key: string): Promise<boolean | undefined> {\n const result = await get(key);\n if (result === undefined || result === null) return undefined;\n if (typeof result === 'boolean') return result;\n if (result === 'true') return true;\n if (result === 'false') return false;\n throw new Error(`the configuration \"${key}\" has an invalid value \"${result}\". it should be boolean`);\n }\n\n getSync(key: string): string | undefined {\n return getSync(key);\n }\n\n list(): Promise<Record<string, string>> {\n return list();\n }\n listSync(): Record<string, string> {\n return listSync();\n }\n\n async set(key: string, val: string): Promise<GlobalConfig> {\n return set(key, val);\n }\n setSync(key: string, val: string): GlobalConfig {\n return setSync(key, val);\n }\n\n async del(key: string): Promise<GlobalConfig> {\n return del(key);\n }\n\n delSync(key: string): GlobalConfig {\n return delSync(key);\n }\n\n getGlobalCapsulesBaseDir() {\n return this.getSync(CFG_CAPSULES_ROOT_BASE_DIR) || GLOBALS_DEFAULT_CAPSULES;\n }\n\n invalidateCache() {\n invalidateCache();\n }\n\n getKnownGlobalDirs() {\n return {\n 'Global Dir': CACHE_ROOT,\n 'Log file': DEBUG_LOG,\n 'Global Scope Dir': GLOBAL_SCOPE,\n 'Config Dir': GLOBAL_CONFIG,\n 'Capsules Dir': this.getGlobalCapsulesBaseDir(),\n };\n }\n\n static async provider([cli]: [CLIMain]) {\n const globalConfig = new GlobalConfigMain();\n const systemCmd = new SystemCmd();\n const systemLogCmd = new SystemLogCmd();\n systemCmd.commands = [systemLogCmd];\n cli.register(new GlobalsCmd(globalConfig), systemCmd);\n return globalConfig;\n }\n}\n\nGlobalConfigAspect.addRuntime(GlobalConfigMain);\n"],"mappings":";;;;;;AAAA,SAAAA,KAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,IAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,WAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,UAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAQA,SAAAG,cAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,aAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAYA,SAAAI,eAAA;EAAA,MAAAJ,IAAA,GAAAC,OAAA;EAAAG,cAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAK,SAAA;EAAA,MAAAL,IAAA,GAAAC,OAAA;EAAAI,QAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAM,QAAA;EAAA,MAAAN,IAAA,GAAAC,OAAA;EAAAK,OAAA,YAAAA,CAAA;IAAA,OAAAN,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAAuD,SAAAO,gBAAAC,GAAA,EAAAC,GAAA,EAAAC,KAAA,IAAAD,GAAA,GAAAE,cAAA,CAAAF,GAAA,OAAAA,GAAA,IAAAD,GAAA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nCJ,GAAG,CAACO,QAAQ,CAAC,KAAIC,qBAAU,EAACP,YAAY,CAAC,EAAEC,SAAS,CAAC;IACrD,OAAOD,YAAY;EACrB;AACF;AAACQ,OAAA,CAAAjC,gBAAA,GAAAA,gBAAA;AAAArB,eAAA,CAtEYqB,gBAAgB,aACVkC,kBAAW;AAAAvD,eAAA,CADjBqB,gBAAgB,kBAEL,CAACmC,gBAAS,CAAC;AAAAxD,eAAA,CAFtBqB,gBAAgB,WAGZ,EAAE;AAqEnBoC,mCAAkB,CAACC,UAAU,CAACrC,gBAAgB,CAAC"}
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_global-config@0.0.843/dist/global-config.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_global-config@0.0.843/dist/global-config.docs.md';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_global-config@0.0.845/dist/global-config.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_global-config@0.0.845/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,26 +1,26 @@
1
1
  {
2
2
  "name": "@teambit/global-config",
3
- "version": "0.0.843",
3
+ "version": "0.0.845",
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.843"
9
+ "version": "0.0.845"
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.841"
16
+ "@teambit/cli": "0.0.842"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@types/fs-extra": "9.0.7",
20
20
  "@types/mocha": "9.1.0",
21
21
  "@types/jest": "^29.2.2",
22
22
  "@types/testing-library__jest-dom": "^5.9.5",
23
- "@teambit/harmony.envs.core-aspect-env": "0.0.14"
23
+ "@teambit/harmony.envs.core-aspect-env": "0.0.15"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "react": "^17.0.0 || ^18.0.0",
@@ -31,11 +31,15 @@
31
31
  "optionalDependencies": {},
32
32
  "peerDependenciesMeta": {},
33
33
  "exports": {
34
- "node": {
35
- "require": "./dist/index.js",
36
- "import": "./dist/esm.mjs"
34
+ ".": {
35
+ "node": {
36
+ "require": "./dist/index.js",
37
+ "import": "./dist/esm.mjs"
38
+ },
39
+ "default": "./dist/index.js"
37
40
  },
38
- "default": "./dist/index.js"
41
+ "./dist/*": "./dist/*",
42
+ "./artifacts/*": "./artifacts/*"
39
43
  },
40
44
  "private": false,
41
45
  "engines": {