@teambit/clear-cache 0.0.53 → 0.0.54

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.
@@ -1 +1 @@
1
- {"version":3,"sources":["clear-cache-action.ts"],"names":["ClearCacheAction","constructor","scope","name","execute","clearCache"],"mappings":";;;;;;;;;;;;;;;;;;;AAEO,MAAMA,gBAAN,CAAuB;AAE5BC,EAAAA,WAAW,CAASC,KAAT,EAA2B;AAAA,SAAlBA,KAAkB,GAAlBA,KAAkB;AAAA,kDAD/BF,gBAAgB,CAACG,IACc;AAAE;;AACxCC,EAAAA,OAAO,GAAG;AACR,QAAI,CAAC,KAAKF,KAAV,EAAiB,OAAO,KAAP;AACjB,SAAKA,KAAL,CAAWG,UAAX;AACA,WAAO,IAAP;AACD;;AAP2B","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"]}
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,gBAAN,CAAuB;EAE5BC,WAAW,CAASC,KAAT,EAA2B;IAAA,KAAlBA,KAAkB,GAAlBA,KAAkB;IAAA,8CAD/BF,gBAAgB,CAACG,IACc;EAAE;;EACxCC,OAAO,GAAG;IACR,IAAI,CAAC,KAAKF,KAAV,EAAiB,OAAO,KAAP;IACjB,KAAKA,KAAL,CAAWG,UAAX;IACA,OAAO,IAAP;EACD;;AAP2B"}
@@ -1 +1 @@
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
+ {"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\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"],"mappings":";;;;;;;;;;;;;;;;;;;;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAGe,MAAMA,aAAN,CAAuC;EAUpDC,WAAW,CAASC,UAAT,EAA6CC,UAA7C,EAAiE;IAAA,KAAxDD,UAAwD,GAAxDA,UAAwD;IAAA,KAApBC,UAAoB,GAApBA,UAAoB;IAAA,8CATrE,aASqE;IAAA,qDAR9D,iDAQ8D;IAAA,+CAPpE,SAOoE;IAAA;IAAA,+CALpE,IAKoE;IAAA,iDAJlE,CAAC,CAAC,GAAD,EAAM,sBAAN,EAA8B,wCAA9B,CAAD,CAIkE;IAAA,gDAHnE,KAGmE;IAAA,uDAF5D,IAE4D;IAC1E,KAAKC,mBAAL,GAA4B;AAChC;AACA;AACA;AACA,UAAUD,UAAW,2BAJjB;EAKD;;EAEW,MAANE,MAAM,CAACC,GAAD,EAAM;IAAEC;EAAF,CAAN,EAAwD;IAClE,IAAIA,MAAJ,EAAY;MACV,MAAMC,OAAO,GAAG,MAAM,KAAKN,UAAL,CAAgBO,gBAAhB,CAAiCF,MAAjC,CAAtB;;MACA,IAAIC,OAAJ,EAAa;QACX,OAAOE,gBAAA,CAAMC,KAAN,CAAa,sCAAqCJ,MAAO,GAAzD,CAAP;MACD;;MACD,OAAOG,gBAAA,CAAME,GAAN,CAAW,iCAAgCL,MAAO,GAAlD,CAAP;IACD;;IACD,MAAMM,YAAY,GAAG,MAAM,KAAKX,UAAL,CAAgBA,UAAhB,EAA3B;IACA,MAAMY,KAAK,GAAG,2CAAd;IACA,MAAMC,MAAM,GAAGF,YAAY,CAACG,GAAb,CAAkBC,GAAD,IAAU,OAAMA,GAAI,EAArC,EAAwCC,IAAxC,CAA6C,IAA7C,CAAf;IACA,OAAOR,gBAAA,CAAMC,KAAN,CAAa,GAAED,gBAAA,CAAMS,IAAN,CAAWL,KAAX,CAAkB,KAAIC,MAAO,EAA5C,CAAP;EACD;;AA9BmD"}
@@ -1 +1 @@
1
- {"version":3,"sources":["clear-cache.aspect.ts"],"names":["ClearCacheAspect","Aspect","create","id"],"mappings":";;;;;;;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAEO,MAAMA,gBAAgB,GAAGC,kBAAOC,MAAP,CAAc;AAC5CC,EAAAA,EAAE,EAAE;AADwC,CAAd,CAAzB","sourcesContent":["import { Aspect } from '@teambit/harmony';\n\nexport const ClearCacheAspect = Aspect.create({\n id: 'teambit.bit/clear-cache',\n});\n"]}
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,iBAAA,CAAOC,MAAP,CAAc;EAC5CC,EAAE,EAAE;AADwC,CAAd,CAAzB"}
@@ -1 +1 @@
1
- {"version":3,"sources":["clear-cache.composition.tsx"],"names":["Logo","height","display","justifyContent","width"],"mappings":";;;;;;;;;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAEO,MAAMA,IAAI,GAAG,mBAClB;AAAK,EAAA,KAAK,EAAE;AAAEC,IAAAA,MAAM,EAAE,MAAV;AAAkBC,IAAAA,OAAO,EAAE,MAA3B;AAAmCC,IAAAA,cAAc,EAAE;AAAnD;AAAZ,gBACE;AAAK,EAAA,KAAK,EAAE;AAAEC,IAAAA,KAAK,EAAE;AAAT,GAAZ;AAA2B,EAAA,GAAG,EAAC;AAA/B,EADF,CADK","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"]}
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,MAAV;IAAkBC,OAAO,EAAE,MAA3B;IAAmCC,cAAc,EAAE;EAAnD;AAAZ,gBACE;EAAK,KAAK,EAAE;IAAEC,KAAK,EAAE;EAAT,CAAZ;EAA2B,GAAG,EAAC;AAA/B,EADF,CADK"}
@@ -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","community","clearCacheMain","register","ClearCacheCmd","getDocsDomain","ExternalActions","externalActions","push","WorkspaceAspect","CLIAspect","ScopeAspect","CommunityAspect","MainRuntime","ClearCacheAspect","addRuntime"],"mappings":";;;;;;;;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AAJ,EAAqBI,KAArB,CAArC;;AAEA,WAAOE,cAAP;AACD;;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"]}
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 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;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BAA1C,C;gCAdX3B,c,aAeM4B,kB;;AAUnBC,8BAAA,CAAiBC,UAAjB,CAA4B9B,cAA5B"}
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["index.ts"],"names":["ClearCacheAspect"],"mappings":";;;;;;;;;;;;;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;eAGeA,8B","sourcesContent":["import { ClearCacheAspect } from './clear-cache.aspect';\n\nexport type { ClearCacheMain } from './clear-cache.main.runtime';\nexport default ClearCacheAspect;\nexport { ClearCacheAspect };\n"]}
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;;eAGeA,8B"}
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/clear-cache",
3
- "version": "0.0.53",
3
+ "version": "0.0.54",
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.53"
9
+ "version": "0.0.54"
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.271",
26
+ "@teambit/legacy": "1.0.272",
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.271",
54
+ "@teambit/legacy": "1.0.272",
55
55
  "react-dom": "^16.8.0 || ^17.0.0",
56
56
  "react": "^16.8.0 || ^17.0.0"
57
57
  }
@@ -1,2 +1,2 @@
1
- export const compositions = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_clear-cache@0.0.53/dist/clear-cache.composition.js')]
2
- export const overview = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_clear-cache@0.0.53/dist/clear-cache.docs.mdx')]
1
+ export const compositions = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_clear-cache@0.0.54/dist/clear-cache.composition.js')]
2
+ export const overview = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_clear-cache@0.0.54/dist/clear-cache.docs.mdx')]
package/tsconfig.json CHANGED
@@ -15,13 +15,13 @@
15
15
  "declaration": true,
16
16
  "sourceMap": true,
17
17
  "skipLibCheck": true,
18
+ "experimentalDecorators": true,
18
19
  "outDir": "dist",
19
20
  "moduleResolution": "node",
20
21
  "esModuleInterop": true,
21
22
  "rootDir": ".",
22
23
  "resolveJsonModule": true,
23
24
  "emitDeclarationOnly": true,
24
- "experimentalDecorators": true,
25
25
  "emitDecoratorMetadata": true,
26
26
  "allowSyntheticDefaultImports": true,
27
27
  "strictPropertyInitialization": false,