@teambit/clear-cache 0.0.303 → 0.0.305

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.
File without changes
@@ -3,5 +3,5 @@ export declare class ClearCacheAction {
3
3
  private scope;
4
4
  name: string;
5
5
  constructor(scope: ScopeMain);
6
- execute(): boolean;
6
+ execute(): Promise<boolean>;
7
7
  }
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ require("core-js/modules/es.promise.js");
4
5
  Object.defineProperty(exports, "__esModule", {
5
6
  value: true
6
7
  });
@@ -17,9 +18,9 @@ class ClearCacheAction {
17
18
  this.scope = scope;
18
19
  (0, _defineProperty2().default)(this, "name", ClearCacheAction.name);
19
20
  }
20
- execute() {
21
+ async execute() {
21
22
  if (!this.scope) return false;
22
- this.scope.clearCache();
23
+ await this.scope.clearCache();
23
24
  return true;
24
25
  }
25
26
  }
@@ -1 +1 @@
1
- {"version":3,"names":["ClearCacheAction","constructor","scope","name","execute","clearCache"],"sources":["clear-cache-action.ts"],"sourcesContent":["import { ScopeMain } from '@teambit/scope';\n\nexport class ClearCacheAction {\n name = ClearCacheAction.name;\n constructor(private scope: ScopeMain) {}\n execute() {\n if (!this.scope) return false;\n this.scope.clearCache();\n return true;\n }\n}\n"],"mappings":";;;;;;;;;;;;;;AAEO,MAAMA,gBAAgB,CAAC;EAE5BC,WAAW,CAASC,KAAgB,EAAE;IAAA,KAAlBA,KAAgB,GAAhBA,KAAgB;IAAA,8CAD7BF,gBAAgB,CAACG,IAAI;EACW;EACvCC,OAAO,GAAG;IACR,IAAI,CAAC,IAAI,CAACF,KAAK,EAAE,OAAO,KAAK;IAC7B,IAAI,CAACA,KAAK,CAACG,UAAU,EAAE;IACvB,OAAO,IAAI;EACb;AACF;AAAC"}
1
+ {"version":3,"names":["ClearCacheAction","constructor","scope","_defineProperty2","default","name","execute","clearCache","exports"],"sources":["clear-cache-action.ts"],"sourcesContent":["import { ScopeMain } from '@teambit/scope';\n\nexport class ClearCacheAction {\n name = ClearCacheAction.name;\n constructor(private scope: ScopeMain) {}\n async execute() {\n if (!this.scope) return false;\n await this.scope.clearCache();\n return true;\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;AAEO,MAAMA,gBAAgB,CAAC;EAE5BC,WAAWA,CAASC,KAAgB,EAAE;IAAA,KAAlBA,KAAgB,GAAhBA,KAAgB;IAAA,IAAAC,gBAAA,GAAAC,OAAA,gBAD7BJ,gBAAgB,CAACK,IAAI;EACW;EACvC,MAAMC,OAAOA,CAAA,EAAG;IACd,IAAI,CAAC,IAAI,CAACJ,KAAK,EAAE,OAAO,KAAK;IAC7B,MAAM,IAAI,CAACA,KAAK,CAACK,UAAU,CAAC,CAAC;IAC7B,OAAO,IAAI;EACb;AACF;AAACC,OAAA,CAAAR,gBAAA,GAAAA,gBAAA"}
@@ -1 +1 @@
1
- {"version":3,"names":["ClearCacheCmd","constructor","clearCache","extendedDescription","report","arg","remote","success","clearRemoteCache","chalk","green","red","cacheCleared","title","output","map","str","join","bold"],"sources":["clear-cache-cmd.ts"],"sourcesContent":["import { Command, CommandOptions } from '@teambit/cli';\nimport chalk from 'chalk';\nimport { ClearCacheMain } from './clear-cache.main.runtime';\n\nexport default class ClearCacheCmd implements Command {\n name = 'clear-cache';\n description = \"clears Bit's cache from current working machine\";\n group = 'general';\n extendedDescription: string;\n alias = 'cc';\n options = [['r', 'remote <remote-name>', 'clear memory cache from a remote scope']] as CommandOptions;\n loader = false;\n skipWorkspace = true;\n helpUrl = 'reference/workspace/clearing-cache';\n\n constructor(private clearCache: ClearCacheMain) {\n this.extendedDescription = `The following gets removed by this command:\n1) V8 compiled code (generated the first time Bit is loaded by v8-compile-cache package)\n2) components cache on the filesystem (mainly the dependencies graph and docs)\n3) scope's index file, which maps the component-id:object-hash`;\n }\n\n async report(arg, { remote }: { remote?: string }): Promise<string> {\n if (remote) {\n const success = await this.clearCache.clearRemoteCache(remote);\n if (success) {\n return chalk.green(`successfully cleaned the cache of \"${remote}\"`);\n }\n return chalk.red(`failed cleaning the cache of \"${remote}\"`);\n }\n const cacheCleared = await this.clearCache.clearCache();\n const title = 'the following cache(s) have been cleared:';\n const output = cacheCleared.map((str) => ` ✔ ${str}`).join('\\n');\n return chalk.green(`${chalk.bold(title)}\\n${output}`);\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAGe,MAAMA,aAAa,CAAoB;EAWpDC,WAAW,CAASC,UAA0B,EAAE;IAAA,KAA5BA,UAA0B,GAA1BA,UAA0B;IAAA,8CAVvC,aAAa;IAAA,qDACN,iDAAiD;IAAA,+CACvD,SAAS;IAAA;IAAA,+CAET,IAAI;IAAA,iDACF,CAAC,CAAC,GAAG,EAAE,sBAAsB,EAAE,wCAAwC,CAAC,CAAC;IAAA,gDAC1E,KAAK;IAAA,uDACE,IAAI;IAAA,iDACV,oCAAoC;IAG5C,IAAI,CAACC,mBAAmB,GAAI;AAChC;AACA;AACA,+DAA+D;EAC7D;EAEA,MAAMC,MAAM,CAACC,GAAG,EAAE;IAAEC;EAA4B,CAAC,EAAmB;IAClE,IAAIA,MAAM,EAAE;MACV,MAAMC,OAAO,GAAG,MAAM,IAAI,CAACL,UAAU,CAACM,gBAAgB,CAACF,MAAM,CAAC;MAC9D,IAAIC,OAAO,EAAE;QACX,OAAOE,gBAAK,CAACC,KAAK,CAAE,sCAAqCJ,MAAO,GAAE,CAAC;MACrE;MACA,OAAOG,gBAAK,CAACE,GAAG,CAAE,iCAAgCL,MAAO,GAAE,CAAC;IAC9D;IACA,MAAMM,YAAY,GAAG,MAAM,IAAI,CAACV,UAAU,CAACA,UAAU,EAAE;IACvD,MAAMW,KAAK,GAAG,2CAA2C;IACzD,MAAMC,MAAM,GAAGF,YAAY,CAACG,GAAG,CAAEC,GAAG,IAAM,OAAMA,GAAI,EAAC,CAAC,CAACC,IAAI,CAAC,IAAI,CAAC;IACjE,OAAOR,gBAAK,CAACC,KAAK,CAAE,GAAED,gBAAK,CAACS,IAAI,CAACL,KAAK,CAAE,KAAIC,MAAO,EAAC,CAAC;EACvD;AACF;AAAC"}
1
+ {"version":3,"names":["_chalk","data","_interopRequireDefault","require","ClearCacheCmd","constructor","clearCache","_defineProperty2","default","extendedDescription","report","arg","remote","success","clearRemoteCache","chalk","green","red","cacheCleared","title","output","map","str","join","bold","exports"],"sources":["clear-cache-cmd.ts"],"sourcesContent":["import { Command, CommandOptions } from '@teambit/cli';\nimport chalk from 'chalk';\nimport { ClearCacheMain } from './clear-cache.main.runtime';\n\nexport default class ClearCacheCmd implements Command {\n name = 'clear-cache';\n description = \"clears Bit's cache from current working machine\";\n group = 'general';\n extendedDescription: string;\n alias = 'cc';\n options = [['r', 'remote <remote-name>', 'clear memory cache from a remote scope']] as CommandOptions;\n loader = false;\n skipWorkspace = true;\n helpUrl = 'reference/workspace/clearing-cache';\n\n constructor(private clearCache: ClearCacheMain) {\n this.extendedDescription = `The following gets removed by this command:\n1) V8 compiled code (generated the first time Bit is loaded by v8-compile-cache package)\n2) components cache on the filesystem (mainly the dependencies graph and docs)\n3) scope's index file, which maps the component-id:object-hash`;\n }\n\n async report(arg, { remote }: { remote?: string }): Promise<string> {\n if (remote) {\n const success = await this.clearCache.clearRemoteCache(remote);\n if (success) {\n return chalk.green(`successfully cleaned the cache of \"${remote}\"`);\n }\n return chalk.red(`failed cleaning the cache of \"${remote}\"`);\n }\n const cacheCleared = await this.clearCache.clearCache();\n const title = 'the following cache(s) have been cleared:';\n const output = cacheCleared.map((str) => ` ✔ ${str}`).join('\\n');\n return chalk.green(`${chalk.bold(title)}\\n${output}`);\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;AACA,SAAAA,OAAA;EAAA,MAAAC,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAH,MAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IA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,KAAK,CAAE,GAAED,gBAAK,CAACS,IAAI,CAACL,KAAK,CAAE,KAAIC,MAAO,EAAC,CAAC;EACvD;AACF;AAACK,OAAA,CAAAjB,OAAA,GAAAJ,aAAA"}
@@ -1 +1 @@
1
- {"version":3,"names":["ClearCacheAspect","Aspect","create","id"],"sources":["clear-cache.aspect.ts"],"sourcesContent":["import { Aspect } from '@teambit/harmony';\n\nexport const ClearCacheAspect = Aspect.create({\n id: 'teambit.bit/clear-cache',\n});\n"],"mappings":";;;;;;AAAA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAEO,MAAMA,gBAAgB,GAAGC,iBAAM,CAACC,MAAM,CAAC;EAC5CC,EAAE,EAAE;AACN,CAAC,CAAC;AAAC"}
1
+ {"version":3,"names":["_harmony","data","require","ClearCacheAspect","Aspect","create","id","exports"],"sources":["clear-cache.aspect.ts"],"sourcesContent":["import { Aspect } from '@teambit/harmony';\n\nexport const ClearCacheAspect = Aspect.create({\n id: 'teambit.bit/clear-cache',\n});\n"],"mappings":";;;;;;AAAA,SAAAA,SAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,QAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEO,MAAME,gBAAgB,GAAGC,iBAAM,CAACC,MAAM,CAAC;EAC5CC,EAAE,EAAE;AACN,CAAC,CAAC;AAACC,OAAA,CAAAJ,gBAAA,GAAAA,gBAAA"}
@@ -1 +1 @@
1
- {"version":3,"names":["Logo","height","display","justifyContent","width"],"sources":["clear-cache.composition.tsx"],"sourcesContent":["import React from 'react';\n\nexport const Logo = () => (\n <div style={{ height: '100%', display: 'flex', justifyContent: 'center' }}>\n <img style={{ width: 70 }} src=\"https://static.bit.dev/extensions-icons/clean-cache.svg\" />\n </div>\n);\n"],"mappings":";;;;;;;AAAA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAEO,MAAMA,IAAI,GAAG,mBAClB;EAAK,KAAK,EAAE;IAAEC,MAAM,EAAE,MAAM;IAAEC,OAAO,EAAE,MAAM;IAAEC,cAAc,EAAE;EAAS;AAAE,gBACxE;EAAK,KAAK,EAAE;IAAEC,KAAK,EAAE;EAAG,CAAE;EAAC,GAAG,EAAC;AAAyD,EAAG,CAE9F;AAAC"}
1
+ {"version":3,"names":["_react","data","_interopRequireDefault","require","Logo","default","createElement","style","height","display","justifyContent","width","src","exports"],"sources":["clear-cache.composition.tsx"],"sourcesContent":["import React from 'react';\n\nexport const Logo = () => (\n <div style={{ height: '100%', display: 'flex', justifyContent: 'center' }}>\n <img style={{ width: 70 }} src=\"https://static.bit.dev/extensions-icons/clean-cache.svg\" />\n </div>\n);\n"],"mappings":";;;;;;;AAAA,SAAAA,OAAA;EAAA,MAAAC,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAH,MAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEO,MAAMG,IAAI,GAAGA,CAAA,kBAClBJ,MAAA,GAAAK,OAAA,CAAAC,aAAA;EAAKC,KAAK,EAAE;IAAEC,MAAM,EAAE,MAAM;IAAEC,OAAO,EAAE,MAAM;IAAEC,cAAc,EAAE;EAAS;AAAE,gBACxEV,MAAA,GAAAK,OAAA,CAAAC,aAAA;EAAKC,KAAK,EAAE;IAAEI,KAAK,EAAE;EAAG,CAAE;EAACC,GAAG,EAAC;AAAyD,CAAE,CACvF,CACN;AAACC,OAAA,CAAAT,IAAA,GAAAA,IAAA"}
@@ -1 +1 @@
1
- {"version":3,"names":["ClearCacheMain","constructor","workspace","clearCache","clearRemoteCache","remote","remoteObj","getRemoteByName","consumer","result","action","ClearCacheAction","name","provider","cli","scope","clearCacheMain","register","ClearCacheCmd","ExternalActions","externalActions","push","WorkspaceAspect","CLIAspect","ScopeAspect","MainRuntime","ClearCacheAspect","addRuntime"],"sources":["clear-cache.main.runtime.ts"],"sourcesContent":["import { CLIAspect, CLIMain, MainRuntime } from '@teambit/cli';\nimport WorkspaceAspect, { Workspace } from '@teambit/workspace';\nimport ScopeAspect, { ScopeMain } from '@teambit/scope';\nimport { clearCache } from '@teambit/legacy/dist/api/consumer';\nimport { ExternalActions } from '@teambit/legacy/dist/api/scope/lib/action';\nimport getRemoteByName from '@teambit/legacy/dist/remotes/get-remote-by-name';\nimport ClearCacheCmd from './clear-cache-cmd';\nimport { ClearCacheAspect } from './clear-cache.aspect';\nimport { ClearCacheAction } from './clear-cache-action';\n\nexport class ClearCacheMain {\n constructor(private workspace?: Workspace) {}\n\n async clearCache(): Promise<string[]> {\n return clearCache();\n }\n\n async clearRemoteCache(remote: string) {\n const remoteObj = await getRemoteByName(remote, this.workspace?.consumer);\n const result = await remoteObj.action(ClearCacheAction.name, {});\n return result;\n }\n\n static slots = [];\n static dependencies = [WorkspaceAspect, CLIAspect, ScopeAspect];\n static runtime = MainRuntime;\n static async provider([workspace, cli, scope]: [Workspace, CLIMain, ScopeMain]) {\n const clearCacheMain = new ClearCacheMain(workspace);\n cli.register(new ClearCacheCmd(clearCacheMain));\n ExternalActions.externalActions.push(new ClearCacheAction(scope));\n\n return clearCacheMain;\n }\n}\n\nClearCacheAspect.addRuntime(ClearCacheMain);\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAEO,MAAMA,cAAc,CAAC;EAC1BC,WAAW,CAASC,SAAqB,EAAE;IAAA,KAAvBA,SAAqB,GAArBA,SAAqB;EAAG;EAE5C,MAAMC,UAAU,GAAsB;IACpC,OAAO,IAAAA,sBAAU,GAAE;EACrB;EAEA,MAAMC,gBAAgB,CAACC,MAAc,EAAE;IAAA;IACrC,MAAMC,SAAS,GAAG,MAAM,IAAAC,0BAAe,EAACF,MAAM,qBAAE,IAAI,CAACH,SAAS,oDAAd,gBAAgBM,QAAQ,CAAC;IACzE,MAAMC,MAAM,GAAG,MAAMH,SAAS,CAACI,MAAM,CAACC,oCAAgB,CAACC,IAAI,EAAE,CAAC,CAAC,CAAC;IAChE,OAAOH,MAAM;EACf;EAKA,aAAaI,QAAQ,CAAC,CAACX,SAAS,EAAEY,GAAG,EAAEC,KAAK,CAAkC,EAAE;IAC9E,MAAMC,cAAc,GAAG,IAAIhB,cAAc,CAACE,SAAS,CAAC;IACpDY,GAAG,CAACG,QAAQ,CAAC,KAAIC,wBAAa,EAACF,cAAc,CAAC,CAAC;IAC/CG,yBAAe,CAACC,eAAe,CAACC,IAAI,CAAC,KAAIV,oCAAgB,EAACI,KAAK,CAAC,CAAC;IAEjE,OAAOC,cAAc;EACvB;AACF;AAAC;AAAA,gCAvBYhB,cAAc,WAaV,EAAE;AAAA,gCAbNA,cAAc,kBAcH,CAACsB,oBAAe,EAAEC,gBAAS,EAAEC,gBAAW,CAAC;AAAA,gCAdpDxB,cAAc,aAeRyB,kBAAW;AAU9BC,8BAAgB,CAACC,UAAU,CAAC3B,cAAc,CAAC"}
1
+ {"version":3,"names":["_cli","data","require","_workspace","_interopRequireDefault","_scope","_consumer","_action","_getRemoteByName","_clearCacheCmd","_clearCache","_clearCacheAction","ClearCacheMain","constructor","workspace","clearCache","clearRemoteCache","remote","_this$workspace","remoteObj","getRemoteByName","consumer","result","action","ClearCacheAction","name","provider","cli","scope","clearCacheMain","register","ClearCacheCmd","ExternalActions","externalActions","push","exports","_defineProperty2","default","WorkspaceAspect","CLIAspect","ScopeAspect","MainRuntime","ClearCacheAspect","addRuntime"],"sources":["clear-cache.main.runtime.ts"],"sourcesContent":["import { CLIAspect, CLIMain, MainRuntime } from '@teambit/cli';\nimport WorkspaceAspect, { Workspace } from '@teambit/workspace';\nimport ScopeAspect, { ScopeMain } from '@teambit/scope';\nimport { clearCache } from '@teambit/legacy/dist/api/consumer';\nimport { ExternalActions } from '@teambit/legacy/dist/api/scope/lib/action';\nimport getRemoteByName from '@teambit/legacy/dist/remotes/get-remote-by-name';\nimport ClearCacheCmd from './clear-cache-cmd';\nimport { ClearCacheAspect } from './clear-cache.aspect';\nimport { ClearCacheAction } from './clear-cache-action';\n\nexport class ClearCacheMain {\n constructor(private workspace?: Workspace) {}\n\n async clearCache(): Promise<string[]> {\n return clearCache();\n }\n\n async clearRemoteCache(remote: string) {\n const remoteObj = await getRemoteByName(remote, this.workspace?.consumer);\n const result = await remoteObj.action(ClearCacheAction.name, {});\n return result;\n }\n\n static slots = [];\n static dependencies = [WorkspaceAspect, CLIAspect, ScopeAspect];\n static runtime = MainRuntime;\n static async provider([workspace, cli, scope]: [Workspace, CLIMain, ScopeMain]) {\n const clearCacheMain = new ClearCacheMain(workspace);\n cli.register(new ClearCacheCmd(clearCacheMain));\n ExternalActions.externalActions.push(new ClearCacheAction(scope));\n\n return clearCacheMain;\n }\n}\n\nClearCacheAspect.addRuntime(ClearCacheMain);\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,GAAAG,sBAAA,CAAAF,OAAA;EAAAC,UAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAI,OAAA;EAAA,MAAAJ,IAAA,GAAAG,sBAAA,CAAAF,OAAA;EAAAG,MAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAA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AMH,SAAS,CAACI,MAAM,CAACC,oCAAgB,CAACC,IAAI,EAAE,CAAC,CAAC,CAAC;IAChE,OAAOH,MAAM;EACf;EAKA,aAAaI,QAAQA,CAAC,CAACZ,SAAS,EAAEa,GAAG,EAAEC,KAAK,CAAkC,EAAE;IAC9E,MAAMC,cAAc,GAAG,IAAIjB,cAAc,CAACE,SAAS,CAAC;IACpDa,GAAG,CAACG,QAAQ,CAAC,KAAIC,wBAAa,EAACF,cAAc,CAAC,CAAC;IAC/CG,yBAAe,CAACC,eAAe,CAACC,IAAI,CAAC,KAAIV,oCAAgB,EAACI,KAAK,CAAC,CAAC;IAEjE,OAAOC,cAAc;EACvB;AACF;AAACM,OAAA,CAAAvB,cAAA,GAAAA,cAAA;AAAA,IAAAwB,gBAAA,GAAAC,OAAA,EAvBYzB,cAAc,WAaV,EAAE;AAAA,IAAAwB,gBAAA,GAAAC,OAAA,EAbNzB,cAAc,kBAcH,CAAC0B,oBAAe,EAAEC,gBAAS,EAAEC,gBAAW,CAAC;AAAA,IAAAJ,gBAAA,GAAAC,OAAA,EAdpDzB,cAAc,aAeR6B,kBAAW;AAU9BC,8BAAgB,CAACC,UAAU,CAAC/B,cAAc,CAAC"}
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"names":["ClearCacheAspect"],"sources":["index.ts"],"sourcesContent":["import { ClearCacheAspect } from './clear-cache.aspect';\n\nexport type { ClearCacheMain } from './clear-cache.main.runtime';\nexport default ClearCacheAspect;\nexport { ClearCacheAspect };\n"],"mappings":";;;;;;;;;;;;AAAA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAAwD,eAGzCA,8BAAgB;AAAA"}
1
+ {"version":3,"names":["_clearCache","data","require","_default","ClearCacheAspect","exports","default"],"sources":["index.ts"],"sourcesContent":["import { ClearCacheAspect } from './clear-cache.aspect';\n\nexport type { ClearCacheMain } from './clear-cache.main.runtime';\nexport default ClearCacheAspect;\nexport { ClearCacheAspect };\n"],"mappings":";;;;;;;;;;;;AAAA,SAAAA,YAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,WAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAAwD,IAAAE,QAAA,GAGzCC,8BAAgB;AAAAC,OAAA,CAAAC,OAAA,GAAAH,QAAA"}
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_clear-cache@0.0.303/dist/clear-cache.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_clear-cache@0.0.303/dist/clear-cache.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_clear-cache@0.0.305/dist/clear-cache.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_clear-cache@0.0.305/dist/clear-cache.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/clear-cache",
3
- "version": "0.0.303",
3
+ "version": "0.0.305",
4
4
  "homepage": "https://bit.cloud/teambit/workspace/clear-cache",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.workspace",
8
8
  "name": "clear-cache",
9
- "version": "0.0.303"
9
+ "version": "0.0.305"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "2.4.2",
@@ -23,7 +23,7 @@
23
23
  "@types/testing-library__jest-dom": "5.9.5"
24
24
  },
25
25
  "peerDependencies": {
26
- "@teambit/legacy": "1.0.525",
26
+ "@teambit/legacy": "1.0.527",
27
27
  "react": "^16.8.0 || ^17.0.0",
28
28
  "react-dom": "^16.8.0 || ^17.0.0"
29
29
  },