@teambit/clear-cache 0.0.263 → 0.0.265

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.
@@ -2,7 +2,6 @@ import { Command, CommandOptions } from '@teambit/cli';
2
2
  import { ClearCacheMain } from './clear-cache.main.runtime';
3
3
  export default class ClearCacheCmd implements Command {
4
4
  private clearCache;
5
- private docsDomain;
6
5
  name: string;
7
6
  description: string;
8
7
  group: string;
@@ -12,7 +11,7 @@ export default class ClearCacheCmd implements Command {
12
11
  loader: boolean;
13
12
  skipWorkspace: boolean;
14
13
  helpUrl: string;
15
- constructor(clearCache: ClearCacheMain, docsDomain: string);
14
+ constructor(clearCache: ClearCacheMain);
16
15
  report(arg: any, { remote }: {
17
16
  remote?: string;
18
17
  }): Promise<string>;
@@ -21,9 +21,8 @@ function _chalk() {
21
21
  return data;
22
22
  }
23
23
  class ClearCacheCmd {
24
- constructor(clearCache, docsDomain) {
24
+ constructor(clearCache) {
25
25
  this.clearCache = clearCache;
26
- this.docsDomain = docsDomain;
27
26
  (0, _defineProperty2().default)(this, "name", 'clear-cache');
28
27
  (0, _defineProperty2().default)(this, "description", "clears Bit's cache from current working machine");
29
28
  (0, _defineProperty2().default)(this, "group", 'general');
@@ -1 +1 @@
1
- {"version":3,"names":["ClearCacheCmd","constructor","clearCache","docsDomain","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, private docsDomain: string) {\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,EAAUC,UAAkB,EAAE;IAAA,KAAxDD,UAA0B,GAA1BA,UAA0B;IAAA,KAAUC,UAAkB,GAAlBA,UAAkB;IAAA,8CAVnE,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,CAACN,UAAU,CAACO,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,CAACX,UAAU,CAACA,UAAU,EAAE;IACvD,MAAMY,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":["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 = cacheCle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{ CLIMain } from '@teambit/cli';
2
2
  import { Workspace } from '@teambit/workspace';
3
3
  import { ScopeMain } from '@teambit/scope';
4
- import type { CommunityMain } from '@teambit/community';
5
4
  export declare class ClearCacheMain {
6
5
  private workspace?;
7
6
  constructor(workspace?: Workspace | undefined);
@@ -10,5 +9,5 @@ export declare class ClearCacheMain {
10
9
  static slots: never[];
11
10
  static dependencies: import("@teambit/harmony").Aspect[];
12
11
  static runtime: import("@teambit/harmony").RuntimeDefinition;
13
- static provider([workspace, cli, scope, community]: [Workspace, CLIMain, ScopeMain, CommunityMain]): Promise<ClearCacheMain>;
12
+ static provider([workspace, cli, scope]: [Workspace, CLIMain, ScopeMain]): Promise<ClearCacheMain>;
14
13
  }
@@ -49,13 +49,6 @@ function _action() {
49
49
  };
50
50
  return data;
51
51
  }
52
- function _community() {
53
- const data = require("@teambit/community");
54
- _community = function () {
55
- return data;
56
- };
57
- return data;
58
- }
59
52
  function _getRemoteByName() {
60
53
  const data = _interopRequireDefault(require("@teambit/legacy/dist/remotes/get-remote-by-name"));
61
54
  _getRemoteByName = function () {
@@ -97,16 +90,16 @@ class ClearCacheMain {
97
90
  const result = await remoteObj.action(_clearCacheAction().ClearCacheAction.name, {});
98
91
  return result;
99
92
  }
100
- static async provider([workspace, cli, scope, community]) {
93
+ static async provider([workspace, cli, scope]) {
101
94
  const clearCacheMain = new ClearCacheMain(workspace);
102
- cli.register(new (_clearCacheCmd().default)(clearCacheMain, community.getDocsDomain()));
95
+ cli.register(new (_clearCacheCmd().default)(clearCacheMain));
103
96
  _action().ExternalActions.externalActions.push(new (_clearCacheAction().ClearCacheAction)(scope));
104
97
  return clearCacheMain;
105
98
  }
106
99
  }
107
100
  exports.ClearCacheMain = ClearCacheMain;
108
101
  (0, _defineProperty2().default)(ClearCacheMain, "slots", []);
109
- (0, _defineProperty2().default)(ClearCacheMain, "dependencies", [_workspace().default, _cli().CLIAspect, _scope().default, _community().CommunityAspect]);
102
+ (0, _defineProperty2().default)(ClearCacheMain, "dependencies", [_workspace().default, _cli().CLIAspect, _scope().default]);
110
103
  (0, _defineProperty2().default)(ClearCacheMain, "runtime", _cli().MainRuntime);
111
104
  _clearCache().ClearCacheAspect.addRuntime(ClearCacheMain);
112
105
 
@@ -1 +1 @@
1
- {"version":3,"names":["ClearCacheMain","constructor","workspace","clearCache","clearRemoteCache","remote","remoteObj","getRemoteByName","consumer","result","action","ClearCacheAction","name","provider","cli","scope","community","clearCacheMain","register","ClearCacheCmd","getDocsDomain","ExternalActions","externalActions","push","WorkspaceAspect","CLIAspect","ScopeAspect","CommunityAspect","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 { CommunityAspect } from '@teambit/community';\nimport type { CommunityMain } from '@teambit/community';\n\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, CommunityAspect];\n static runtime = MainRuntime;\n static async provider([workspace, cli, scope, community]: [Workspace, CLIMain, ScopeMain, CommunityMain]) {\n const clearCacheMain = new ClearCacheMain(workspace);\n cli.register(new ClearCacheCmd(clearCacheMain, community.getDocsDomain()));\n ExternalActions.externalActions.push(new ClearC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AAe,CAACC,IAAI,CAAC,KAAIZ,oCAAgB,EAACI,KAAK,CAAC,CAAC;IAEjE,OAAOE,cAAc;EACvB;AACF;AAAC;AAAA,gCAvBYjB,cAAc,WAaV,EAAE;AAAA,gCAbNA,cAAc,kBAcH,CAACwB,oBAAe,EAAEC,gBAAS,EAAEC,gBAAW,EAAEC,4BAAe,CAAC;AAAA,gCAdrE3B,cAAc,aAeR4B,kBAAW;AAU9BC,8BAAgB,CAACC,UAAU,CAAC9B,cAAc,CAAC"}
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,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_clear-cache@0.0.263/dist/clear-cache.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_clear-cache@0.0.263/dist/clear-cache.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_clear-cache@0.0.265/dist/clear-cache.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_clear-cache@0.0.265/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.263",
3
+ "version": "0.0.265",
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.263"
9
+ "version": "0.0.265"
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.483",
26
+ "@teambit/legacy": "1.0.486",
27
27
  "react": "^16.8.0 || ^17.0.0",
28
28
  "react-dom": "^16.8.0 || ^17.0.0"
29
29
  },