@teambit/clear-cache 0.0.16 → 0.0.19

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,6 +2,7 @@ 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;
5
6
  name: string;
6
7
  description: string;
7
8
  group: string;
@@ -10,7 +11,7 @@ export default class ClearCacheCmd implements Command {
10
11
  options: CommandOptions;
11
12
  loader: boolean;
12
13
  skipWorkspace: boolean;
13
- constructor(clearCache: ClearCacheMain);
14
+ constructor(clearCache: ClearCacheMain, docsDomain: string);
14
15
  report(arg: any, { remote }: {
15
16
  remote?: string;
16
17
  }): Promise<string>;
@@ -29,31 +29,23 @@ function _chalk() {
29
29
  return data;
30
30
  }
31
31
 
32
- function _constants() {
33
- const data = require("@teambit/legacy/dist/constants");
34
-
35
- _constants = function () {
36
- return data;
37
- };
38
-
39
- return data;
40
- }
41
-
42
32
  class ClearCacheCmd {
43
- constructor(clearCache) {
33
+ constructor(clearCache, docsDomain) {
44
34
  this.clearCache = clearCache;
35
+ this.docsDomain = docsDomain;
45
36
  (0, _defineProperty2().default)(this, "name", 'clear-cache');
46
37
  (0, _defineProperty2().default)(this, "description", "clears Bit's cache from current working machine");
47
38
  (0, _defineProperty2().default)(this, "group", 'general');
48
- (0, _defineProperty2().default)(this, "extendedDescription", `The following gets removed by this command:
49
- 1) V8 compiled code (generated the first time Bit is loaded by v8-compile-cache package)
50
- 2) components cache on the filesystem (mainly the dependencies graph and docs)
51
- 3) scope's index file, which maps the component-id:object-hash
52
- https://${_constants().BASE_DOCS_DOMAIN}/docs/workspace#cache`);
39
+ (0, _defineProperty2().default)(this, "extendedDescription", void 0);
53
40
  (0, _defineProperty2().default)(this, "alias", 'cc');
54
41
  (0, _defineProperty2().default)(this, "options", [['r', 'remote <remote-name>', 'clear memory cache from a remote scope']]);
55
42
  (0, _defineProperty2().default)(this, "loader", false);
56
43
  (0, _defineProperty2().default)(this, "skipWorkspace", true);
44
+ this.extendedDescription = `The following gets removed by this command:
45
+ 1) V8 compiled code (generated the first time Bit is loaded by v8-compile-cache package)
46
+ 2) components cache on the filesystem (mainly the dependencies graph and docs)
47
+ 3) scope's index file, which maps the component-id:object-hash
48
+ https://${docsDomain}/workspace/clearing-cache`;
57
49
  }
58
50
 
59
51
  async report(arg, {
@@ -1 +1 @@
1
- {"version":3,"sources":["clear-cache-cmd.ts"],"names":["ClearCacheCmd","constructor","clearCache","BASE_DOCS_DOMAIN","report","arg","remote","success","clearRemoteCache","chalk","green","red","cacheCleared","title","output","map","str","join","bold"],"mappings":";;;;;;;;;;;;;;;;;;;;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAGe,MAAMA,aAAN,CAAuC;AAcpDC,EAAAA,WAAW,CAASC,UAAT,EAAqC;AAAA,SAA5BA,UAA4B,GAA5BA,UAA4B;AAAA,kDAbzC,aAayC;AAAA,yDAZlC,iDAYkC;AAAA,mDAXxC,SAWwC;AAAA,iEAVzB;AACzB;AACA;AACA;AACA,UAAUC,6BAAiB,uBAMuB;AAAA,mDALxC,IAKwC;AAAA,qDAJtC,CAAC,CAAC,GAAD,EAAM,sBAAN,EAA8B,wCAA9B,CAAD,CAIsC;AAAA,oDAHvC,KAGuC;AAAA,2DAFhC,IAEgC;AAAE;;AAEtC,QAANC,MAAM,CAACC,GAAD,EAAM;AAAEC,IAAAA;AAAF,GAAN,EAAwD;AAClE,QAAIA,MAAJ,EAAY;AACV,YAAMC,OAAO,GAAG,MAAM,KAAKL,UAAL,CAAgBM,gBAAhB,CAAiCF,MAAjC,CAAtB;;AACA,UAAIC,OAAJ,EAAa;AACX,eAAOE,iBAAMC,KAAN,CAAa,sCAAqCJ,MAAO,GAAzD,CAAP;AACD;;AACD,aAAOG,iBAAME,GAAN,CAAW,iCAAgCL,MAAO,GAAlD,CAAP;AACD;;AACD,UAAMM,YAAY,GAAG,MAAM,KAAKV,UAAL,CAAgBA,UAAhB,EAA3B;AACA,UAAMW,KAAK,GAAG,2CAAd;AACA,UAAMC,MAAM,GAAGF,YAAY,CAACG,GAAb,CAAkBC,GAAD,IAAU,OAAMA,GAAI,EAArC,EAAwCC,IAAxC,CAA6C,IAA7C,CAAf;AACA,WAAOR,iBAAMC,KAAN,CAAa,GAAED,iBAAMS,IAAN,CAAWL,KAAX,CAAkB,KAAIC,MAAO,EAA5C,CAAP;AACD;;AA5BmD","sourcesContent":["import { Command, CommandOptions } from '@teambit/cli';\nimport chalk from 'chalk';\nimport { BASE_DOCS_DOMAIN } from '@teambit/legacy/dist/constants';\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 = `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\nhttps://${BASE_DOCS_DOMAIN}/docs/workspace#cache`;\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\n constructor(private clearCache: ClearCacheMain) {}\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"]}
1
+ {"version":3,"sources":["clear-cache-cmd.ts"],"names":["ClearCacheCmd","constructor","clearCache","docsDomain","extendedDescription","report","arg","remote","success","clearRemoteCache","chalk","green","red","cacheCleared","title","output","map","str","join","bold"],"mappings":";;;;;;;;;;;;;;;;;;;;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAGe,MAAMA,aAAN,CAAuC;AAUpDC,EAAAA,WAAW,CAASC,UAAT,EAA6CC,UAA7C,EAAiE;AAAA,SAAxDD,UAAwD,GAAxDA,UAAwD;AAAA,SAApBC,UAAoB,GAApBA,UAAoB;AAAA,kDATrE,aASqE;AAAA,yDAR9D,iDAQ8D;AAAA,mDAPpE,SAOoE;AAAA;AAAA,mDALpE,IAKoE;AAAA,qDAJlE,CAAC,CAAC,GAAD,EAAM,sBAAN,EAA8B,wCAA9B,CAAD,CAIkE;AAAA,oDAHnE,KAGmE;AAAA,2DAF5D,IAE4D;AAC1E,SAAKC,mBAAL,GAA4B;AAChC;AACA;AACA;AACA,UAAUD,UAAW,2BAJjB;AAKD;;AAEW,QAANE,MAAM,CAACC,GAAD,EAAM;AAAEC,IAAAA;AAAF,GAAN,EAAwD;AAClE,QAAIA,MAAJ,EAAY;AACV,YAAMC,OAAO,GAAG,MAAM,KAAKN,UAAL,CAAgBO,gBAAhB,CAAiCF,MAAjC,CAAtB;;AACA,UAAIC,OAAJ,EAAa;AACX,eAAOE,iBAAMC,KAAN,CAAa,sCAAqCJ,MAAO,GAAzD,CAAP;AACD;;AACD,aAAOG,iBAAME,GAAN,CAAW,iCAAgCL,MAAO,GAAlD,CAAP;AACD;;AACD,UAAMM,YAAY,GAAG,MAAM,KAAKX,UAAL,CAAgBA,UAAhB,EAA3B;AACA,UAAMY,KAAK,GAAG,2CAAd;AACA,UAAMC,MAAM,GAAGF,YAAY,CAACG,GAAb,CAAkBC,GAAD,IAAU,OAAMA,GAAI,EAArC,EAAwCC,IAAxC,CAA6C,IAA7C,CAAf;AACA,WAAOR,iBAAMC,KAAN,CAAa,GAAED,iBAAMS,IAAN,CAAWL,KAAX,CAAkB,KAAIC,MAAO,EAA5C,CAAP;AACD;;AA9BmD","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\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\nhttps://${docsDomain}/workspace/clearing-cache`;\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"]}
@@ -1,6 +1,7 @@
1
1
  import { 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';
4
5
  export declare class ClearCacheMain {
5
6
  private workspace?;
6
7
  constructor(workspace?: Workspace | undefined);
@@ -9,5 +10,5 @@ export declare class ClearCacheMain {
9
10
  static slots: never[];
10
11
  static dependencies: import("@teambit/harmony").Aspect[];
11
12
  static runtime: import("@teambit/harmony").RuntimeDefinition;
12
- static provider([workspace, cli, scope]: [Workspace, CLIMain, ScopeMain]): Promise<ClearCacheMain>;
13
+ static provider([workspace, cli, scope, community]: [Workspace, CLIMain, ScopeMain, CommunityMain]): Promise<ClearCacheMain>;
13
14
  }
@@ -71,6 +71,16 @@ function _action() {
71
71
  return data;
72
72
  }
73
73
 
74
+ function _community() {
75
+ const data = require("@teambit/community");
76
+
77
+ _community = function () {
78
+ return data;
79
+ };
80
+
81
+ return data;
82
+ }
83
+
74
84
  function _getRemoteByName() {
75
85
  const data = _interopRequireDefault(require("@teambit/legacy/dist/remotes/get-remote-by-name"));
76
86
 
@@ -128,9 +138,9 @@ class ClearCacheMain {
128
138
  return result;
129
139
  }
130
140
 
131
- static async provider([workspace, cli, scope]) {
141
+ static async provider([workspace, cli, scope, community]) {
132
142
  const clearCacheMain = new ClearCacheMain(workspace);
133
- cli.register(new (_clearCacheCmd().default)(clearCacheMain));
143
+ cli.register(new (_clearCacheCmd().default)(clearCacheMain, community.getDocsDomain()));
134
144
 
135
145
  _action().ExternalActions.externalActions.push(new (_clearCacheAction().ClearCacheAction)(scope));
136
146
 
@@ -141,7 +151,7 @@ class ClearCacheMain {
141
151
 
142
152
  exports.ClearCacheMain = ClearCacheMain;
143
153
  (0, _defineProperty2().default)(ClearCacheMain, "slots", []);
144
- (0, _defineProperty2().default)(ClearCacheMain, "dependencies", [_workspace().default, _cli().CLIAspect, _scope().default]);
154
+ (0, _defineProperty2().default)(ClearCacheMain, "dependencies", [_workspace().default, _cli().CLIAspect, _scope().default, _community().CommunityAspect]);
145
155
  (0, _defineProperty2().default)(ClearCacheMain, "runtime", _cli().MainRuntime);
146
156
 
147
157
  _clearCache().ClearCacheAspect.addRuntime(ClearCacheMain);
@@ -1 +1 @@
1
- {"version":3,"sources":["clear-cache.main.runtime.ts"],"names":["ClearCacheMain","constructor","workspace","clearCache","clearRemoteCache","remote","remoteObj","consumer","result","action","ClearCacheAction","name","provider","cli","scope","clearCacheMain","register","ClearCacheCmd","ExternalActions","externalActions","push","WorkspaceAspect","CLIAspect","ScopeAspect","MainRuntime","ClearCacheAspect","addRuntime"],"mappings":";;;;;;;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cW,CAACqB,oBAAD,EAAkBC,gBAAlB,EAA6BC,gBAA7B,C;gCAdXvB,c,aAeMwB,kB;;AAUnBC,+BAAiBC,UAAjB,CAA4B1B,cAA5B","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"]}
1
+ {"version":3,"sources":["clear-cache.main.runtime.ts"],"names":["ClearCacheMain","constructor","workspace","clearCache","clearRemoteCache","remote","remoteObj","consumer","result","action","ClearCacheAction","name","provider","cli","scope","community","clearCacheMain","register","ClearCacheCmd","getDocsDomain","ExternalActions","externalActions","push","WorkspaceAspect","CLIAspect","ScopeAspect","CommunityAspect","MainRuntime","ClearCacheAspect","addRuntime"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;;AAAA;AAAA;AAAA;;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;;AAtByB;;;gCAAfhB,c,WAaI,E;gCAbJA,c,kBAcW,CAACuB,oBAAD,EAAkBC,gBAAlB,EAA6BC,gBAA7B,EAA0CC,4BAA1C,C;gCAdX1B,c,aAeM2B,kB;;AAUnBC,+BAAiBC,UAAjB,CAA4B7B,cAA5B","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 ClearCacheAction(scope));\n\n return clearCacheMain;\n }\n}\n\nClearCacheAspect.addRuntime(ClearCacheMain);\n"]}
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/clear-cache",
3
- "version": "0.0.16",
3
+ "version": "0.0.19",
4
4
  "homepage": "https://bit.dev/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.16"
9
+ "version": "0.0.19"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "2.4.2",
@@ -23,7 +23,7 @@
23
23
  "@types/node": "12.20.4"
24
24
  },
25
25
  "peerDependencies": {
26
- "@teambit/legacy": "1.0.232",
26
+ "@teambit/legacy": "1.0.235",
27
27
  "react-dom": "^16.8.0 || ^17.0.0",
28
28
  "react": "^16.8.0 || ^17.0.0"
29
29
  },
@@ -51,7 +51,7 @@
51
51
  "react": "-"
52
52
  },
53
53
  "peerDependencies": {
54
- "@teambit/legacy": "1.0.232",
54
+ "@teambit/legacy": "1.0.235",
55
55
  "react-dom": "^16.8.0 || ^17.0.0",
56
56
  "react": "^16.8.0 || ^17.0.0"
57
57
  }