@teambit/clear-cache 0.0.438 → 0.0.440

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,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_clear-cache@0.0.438/dist/clear-cache.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_clear-cache@0.0.438/dist/clear-cache.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_clear-cache@0.0.440/dist/clear-cache.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_clear-cache@0.0.440/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,27 +1,27 @@
1
1
  {
2
2
  "name": "@teambit/clear-cache",
3
- "version": "0.0.438",
3
+ "version": "0.0.440",
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.438"
9
+ "version": "0.0.440"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "2.4.2",
13
13
  "fs-extra": "10.0.0",
14
14
  "@teambit/harmony": "0.4.6",
15
- "@teambit/legacy.consumer": "0.0.20",
16
- "@teambit/scope.remotes": "0.0.20",
17
- "@teambit/scope.modules.find-scope-path": "0.0.7",
18
- "@teambit/workspace.modules.fs-cache": "0.0.13",
19
- "@teambit/workspace.modules.workspace-locator": "0.0.7"
15
+ "@teambit/legacy.consumer": "0.0.21",
16
+ "@teambit/scope.remotes": "0.0.21",
17
+ "@teambit/scope.modules.find-scope-path": "0.0.8",
18
+ "@teambit/workspace.modules.fs-cache": "0.0.14",
19
+ "@teambit/workspace.modules.workspace-locator": "0.0.8"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@types/fs-extra": "9.0.7",
23
23
  "@types/mocha": "9.1.0",
24
- "@teambit/harmony.envs.core-aspect-env": "0.0.68"
24
+ "@teambit/harmony.envs.core-aspect-env": "0.0.69"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "react": "^17.0.0 || ^18.0.0",
@@ -1,4 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuites tests="0" failures="0" errors="0" skipped="0">
3
- <testsuite name="teambit.workspace/clear-cache@0.0.438" tests="0" failures="0" errors="0" skipped="0"/>
4
- </testsuites>
@@ -1 +0,0 @@
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.workspace/clear-cache-preview"]=t():e["teambit.workspace/clear-cache-preview"]=t()}(self,(()=>(()=>{"use strict";var e={7854:(e,t,o)=>{var r={id:"teambit.workspace/clear-cache@0.0.438",homepage:"https://bit.cloud/teambit/workspace/clear-cache",exported:!0};function n(){const e=c(o(1594));return n=function(){return e},e}function c(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,n.__bit_component=r,c.__bit_component=r;const i=()=>n().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},n().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/clean-cache.svg"}));i.__bit_component=r,t.Logo=i},1594:e=>{e.exports=React}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var c=t[r]={exports:{}};return e[r](c,c.exports,o),c.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},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 r={};o.r(r),o.d(r,{compositions:()=>f,compositions_metadata:()=>v,overview:()=>m});var n={};o.r(n),o.d(n,{default:()=>d});var c=o(7854);o(1594);const i=MdxJsReact,a=TeambitMdxUiMdxScopeContext;var s=["components"];function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},p.apply(null,arguments)}var l={},u="wrapper";function d(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,r,n=function(e,t){if(null==e)return{};var o={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;o[r]=e[r]}return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(r=0;r<c.length;r++)o=c[r],t.includes(o)||{}.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}(e,s);return(0,i.mdx)(u,p({},l,o,{components:t,mdxType:"MDXLayout"}),(0,i.mdx)(a.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}d.isMDXComponent=!0;const f=[c],m=[n],v={compositions:[{displayName:"Logo",identifier:"Logo"}]};return r})()));
@@ -1,594 +0,0 @@
1
- {
2
- "__schema": "APISchema",
3
- "location": {
4
- "filePath": "index.ts",
5
- "line": 1,
6
- "character": 1
7
- },
8
- "module": {
9
- "__schema": "ModuleSchema",
10
- "location": {
11
- "filePath": "index.ts",
12
- "line": 1,
13
- "character": 1
14
- },
15
- "exports": [
16
- {
17
- "__schema": "ExportSchema",
18
- "location": {
19
- "filePath": "index.ts",
20
- "line": 3,
21
- "character": 15
22
- },
23
- "signature": "class ClearCacheMain",
24
- "name": "ClearCacheMain",
25
- "exportNode": {
26
- "__schema": "ClassSchema",
27
- "location": {
28
- "filePath": "clear-cache.main.runtime.ts",
29
- "line": 12,
30
- "character": 1
31
- },
32
- "doc": {
33
- "__schema": "DocSchema",
34
- "location": {
35
- "filePath": "clear-cache.main.runtime.ts",
36
- "line": 8,
37
- "character": 1
38
- },
39
- "raw": "/**\n * avoid adding `workspace` / `scope` aspects as dependencies to this aspect.\n * the clear-cache command is often being used when the workspace/scope is not working properly.\n */",
40
- "comment": "avoid adding `workspace` / `scope` aspects as dependencies to this aspect.\nthe clear-cache command is often being used when the workspace/scope is not working properly.",
41
- "tags": []
42
- },
43
- "signature": "class ClearCacheMain",
44
- "name": "ClearCacheMain",
45
- "members": [
46
- {
47
- "__schema": "FunctionLikeSchema",
48
- "location": {
49
- "filePath": "clear-cache.main.runtime.ts",
50
- "line": 13,
51
- "character": 3
52
- },
53
- "signature": "(method) ClearCacheMain.clearCache(): Promise<CacheClearResult>",
54
- "name": "clearCache",
55
- "params": [],
56
- "returnType": {
57
- "__schema": "TypeRefSchema",
58
- "location": {
59
- "filePath": "clear-cache.main.runtime.ts",
60
- "line": 13,
61
- "character": 23
62
- },
63
- "name": "Promise",
64
- "typeArgs": [
65
- {
66
- "__schema": "TypeRefSchema",
67
- "location": {
68
- "filePath": "clear-cache.main.runtime.ts",
69
- "line": 13,
70
- "character": 31
71
- },
72
- "name": "CacheClearResult",
73
- "internalFilePath": "clear-cache.ts"
74
- }
75
- ]
76
- },
77
- "modifiers": [
78
- "async"
79
- ]
80
- },
81
- {
82
- "__schema": "FunctionLikeSchema",
83
- "location": {
84
- "filePath": "clear-cache.main.runtime.ts",
85
- "line": 17,
86
- "character": 3
87
- },
88
- "signature": "(method) ClearCacheMain.clearRemoteCache(remote: string): Promise<unknown>",
89
- "name": "clearRemoteCache",
90
- "params": [
91
- {
92
- "__schema": "ParameterSchema",
93
- "location": {
94
- "filePath": "clear-cache.main.runtime.ts",
95
- "line": 17,
96
- "character": 26
97
- },
98
- "name": "remote",
99
- "type": {
100
- "__schema": "KeywordTypeSchema",
101
- "location": {
102
- "filePath": "clear-cache.main.runtime.ts",
103
- "line": 17,
104
- "character": 34
105
- },
106
- "name": "string"
107
- },
108
- "isOptional": false,
109
- "isSpread": false
110
- }
111
- ],
112
- "returnType": {
113
- "__schema": "InferenceTypeSchema",
114
- "location": {
115
- "filePath": "clear-cache.main.runtime.ts",
116
- "line": 17,
117
- "character": 3
118
- },
119
- "type": "Promise<unknown>"
120
- },
121
- "modifiers": [
122
- "async"
123
- ]
124
- },
125
- {
126
- "__schema": "VariableLikeSchema",
127
- "location": {
128
- "filePath": "clear-cache.main.runtime.ts",
129
- "line": 32,
130
- "character": 3
131
- },
132
- "signature": "(property) ClearCacheMain.slots: never[]",
133
- "name": "slots",
134
- "type": {
135
- "__schema": "InferenceTypeSchema",
136
- "location": {
137
- "filePath": "clear-cache.main.runtime.ts",
138
- "line": 32,
139
- "character": 3
140
- },
141
- "type": "never[]"
142
- },
143
- "isOptional": true,
144
- "defaultValue": "[]"
145
- },
146
- {
147
- "__schema": "VariableLikeSchema",
148
- "location": {
149
- "filePath": "clear-cache.main.runtime.ts",
150
- "line": 33,
151
- "character": 3
152
- },
153
- "signature": "(property) ClearCacheMain.dependencies: Aspect[]",
154
- "name": "dependencies",
155
- "type": {
156
- "__schema": "InferenceTypeSchema",
157
- "location": {
158
- "filePath": "clear-cache.main.runtime.ts",
159
- "line": 33,
160
- "character": 3
161
- },
162
- "type": "Aspect[]"
163
- },
164
- "isOptional": true,
165
- "defaultValue": "[CLIAspect]"
166
- },
167
- {
168
- "__schema": "VariableLikeSchema",
169
- "location": {
170
- "filePath": "clear-cache.main.runtime.ts",
171
- "line": 34,
172
- "character": 3
173
- },
174
- "signature": "(property) ClearCacheMain.runtime: RuntimeDefinition",
175
- "name": "runtime",
176
- "type": {
177
- "__schema": "InferenceTypeSchema",
178
- "location": {
179
- "filePath": "clear-cache.main.runtime.ts",
180
- "line": 34,
181
- "character": 3
182
- },
183
- "type": "RuntimeDefinition"
184
- },
185
- "isOptional": true,
186
- "defaultValue": "MainRuntime"
187
- },
188
- {
189
- "__schema": "FunctionLikeSchema",
190
- "location": {
191
- "filePath": "clear-cache.main.runtime.ts",
192
- "line": 35,
193
- "character": 3
194
- },
195
- "signature": "(method) ClearCacheMain.provider([cli]: [CLIMain]): Promise<ClearCacheMain>",
196
- "name": "provider",
197
- "params": [
198
- {
199
- "__schema": "ParameterSchema",
200
- "location": {
201
- "filePath": "clear-cache.main.runtime.ts",
202
- "line": 35,
203
- "character": 25
204
- },
205
- "name": "[ cli ]",
206
- "type": {
207
- "__schema": "TupleTypeSchema",
208
- "location": {
209
- "filePath": "clear-cache.main.runtime.ts",
210
- "line": 35,
211
- "character": 32
212
- },
213
- "elements": [
214
- {
215
- "__schema": "TypeRefSchema",
216
- "location": {
217
- "filePath": "clear-cache.main.runtime.ts",
218
- "line": 35,
219
- "character": 33
220
- },
221
- "name": "CLIMain",
222
- "componentId": {
223
- "scope": "teambit.harmony",
224
- "name": "cli"
225
- }
226
- }
227
- ]
228
- },
229
- "isOptional": false,
230
- "isSpread": false
231
- }
232
- ],
233
- "returnType": {
234
- "__schema": "InferenceTypeSchema",
235
- "location": {
236
- "filePath": "clear-cache.main.runtime.ts",
237
- "line": 35,
238
- "character": 3
239
- },
240
- "type": "Promise<ClearCacheMain>"
241
- },
242
- "modifiers": [
243
- "static",
244
- "async"
245
- ]
246
- }
247
- ],
248
- "extendsNodes": [],
249
- "implementNodes": []
250
- }
251
- },
252
- {
253
- "__schema": "UnImplementedSchema",
254
- "location": {
255
- "filePath": "index.ts",
256
- "line": 4,
257
- "character": 16
258
- },
259
- "name": "ClearCacheAspect",
260
- "type": "Identifier"
261
- },
262
- {
263
- "__schema": "ExportSchema",
264
- "location": {
265
- "filePath": "index.ts",
266
- "line": 5,
267
- "character": 10
268
- },
269
- "signature": "const ClearCacheAspect: Aspect",
270
- "name": "ClearCacheAspect",
271
- "exportNode": {
272
- "__schema": "VariableLikeSchema",
273
- "location": {
274
- "filePath": "clear-cache.aspect.ts",
275
- "line": 3,
276
- "character": 14
277
- },
278
- "signature": "const ClearCacheAspect: Aspect",
279
- "name": "ClearCacheAspect",
280
- "type": {
281
- "__schema": "TypeRefSchema",
282
- "location": {
283
- "filePath": "clear-cache.aspect.ts",
284
- "line": 3,
285
- "character": 14
286
- },
287
- "name": "Aspect",
288
- "componentId": {
289
- "scope": "teambit.harmony",
290
- "name": "harmony",
291
- "version": "0.4.6"
292
- }
293
- },
294
- "isOptional": false,
295
- "defaultValue": "Aspect.create({\n id: 'teambit.bit/clear-cache',\n})"
296
- }
297
- }
298
- ],
299
- "internals": []
300
- },
301
- "internals": [
302
- {
303
- "__schema": "ModuleSchema",
304
- "location": {
305
- "filePath": "clear-cache.main.runtime.ts",
306
- "line": 1,
307
- "character": 1
308
- },
309
- "exports": [
310
- {
311
- "__schema": "ClassSchema",
312
- "location": {
313
- "filePath": "clear-cache.main.runtime.ts",
314
- "line": 12,
315
- "character": 1
316
- },
317
- "doc": {
318
- "__schema": "DocSchema",
319
- "location": {
320
- "filePath": "clear-cache.main.runtime.ts",
321
- "line": 8,
322
- "character": 1
323
- },
324
- "raw": "/**\n * avoid adding `workspace` / `scope` aspects as dependencies to this aspect.\n * the clear-cache command is often being used when the workspace/scope is not working properly.\n */",
325
- "comment": "avoid adding `workspace` / `scope` aspects as dependencies to this aspect.\nthe clear-cache command is often being used when the workspace/scope is not working properly.",
326
- "tags": []
327
- },
328
- "signature": "class ClearCacheMain",
329
- "name": "ClearCacheMain",
330
- "members": [
331
- {
332
- "__schema": "FunctionLikeSchema",
333
- "location": {
334
- "filePath": "clear-cache.main.runtime.ts",
335
- "line": 13,
336
- "character": 3
337
- },
338
- "signature": "(method) ClearCacheMain.clearCache(): Promise<CacheClearResult>",
339
- "name": "clearCache",
340
- "params": [],
341
- "returnType": {
342
- "__schema": "TypeRefSchema",
343
- "location": {
344
- "filePath": "clear-cache.main.runtime.ts",
345
- "line": 13,
346
- "character": 23
347
- },
348
- "name": "Promise",
349
- "typeArgs": [
350
- {
351
- "__schema": "TypeRefSchema",
352
- "location": {
353
- "filePath": "clear-cache.main.runtime.ts",
354
- "line": 13,
355
- "character": 31
356
- },
357
- "name": "CacheClearResult",
358
- "internalFilePath": "clear-cache.ts"
359
- }
360
- ]
361
- },
362
- "modifiers": [
363
- "async"
364
- ]
365
- },
366
- {
367
- "__schema": "FunctionLikeSchema",
368
- "location": {
369
- "filePath": "clear-cache.main.runtime.ts",
370
- "line": 17,
371
- "character": 3
372
- },
373
- "signature": "(method) ClearCacheMain.clearRemoteCache(remote: string): Promise<unknown>",
374
- "name": "clearRemoteCache",
375
- "params": [
376
- {
377
- "__schema": "ParameterSchema",
378
- "location": {
379
- "filePath": "clear-cache.main.runtime.ts",
380
- "line": 17,
381
- "character": 26
382
- },
383
- "name": "remote",
384
- "type": {
385
- "__schema": "KeywordTypeSchema",
386
- "location": {
387
- "filePath": "clear-cache.main.runtime.ts",
388
- "line": 17,
389
- "character": 34
390
- },
391
- "name": "string"
392
- },
393
- "isOptional": false,
394
- "isSpread": false
395
- }
396
- ],
397
- "returnType": {
398
- "__schema": "InferenceTypeSchema",
399
- "location": {
400
- "filePath": "clear-cache.main.runtime.ts",
401
- "line": 17,
402
- "character": 3
403
- },
404
- "type": "Promise<unknown>"
405
- },
406
- "modifiers": [
407
- "async"
408
- ]
409
- },
410
- {
411
- "__schema": "VariableLikeSchema",
412
- "location": {
413
- "filePath": "clear-cache.main.runtime.ts",
414
- "line": 32,
415
- "character": 3
416
- },
417
- "signature": "(property) ClearCacheMain.slots: never[]",
418
- "name": "slots",
419
- "type": {
420
- "__schema": "InferenceTypeSchema",
421
- "location": {
422
- "filePath": "clear-cache.main.runtime.ts",
423
- "line": 32,
424
- "character": 3
425
- },
426
- "type": "never[]"
427
- },
428
- "isOptional": true,
429
- "defaultValue": "[]"
430
- },
431
- {
432
- "__schema": "VariableLikeSchema",
433
- "location": {
434
- "filePath": "clear-cache.main.runtime.ts",
435
- "line": 33,
436
- "character": 3
437
- },
438
- "signature": "(property) ClearCacheMain.dependencies: Aspect[]",
439
- "name": "dependencies",
440
- "type": {
441
- "__schema": "InferenceTypeSchema",
442
- "location": {
443
- "filePath": "clear-cache.main.runtime.ts",
444
- "line": 33,
445
- "character": 3
446
- },
447
- "type": "Aspect[]"
448
- },
449
- "isOptional": true,
450
- "defaultValue": "[CLIAspect]"
451
- },
452
- {
453
- "__schema": "VariableLikeSchema",
454
- "location": {
455
- "filePath": "clear-cache.main.runtime.ts",
456
- "line": 34,
457
- "character": 3
458
- },
459
- "signature": "(property) ClearCacheMain.runtime: RuntimeDefinition",
460
- "name": "runtime",
461
- "type": {
462
- "__schema": "InferenceTypeSchema",
463
- "location": {
464
- "filePath": "clear-cache.main.runtime.ts",
465
- "line": 34,
466
- "character": 3
467
- },
468
- "type": "RuntimeDefinition"
469
- },
470
- "isOptional": true,
471
- "defaultValue": "MainRuntime"
472
- },
473
- {
474
- "__schema": "FunctionLikeSchema",
475
- "location": {
476
- "filePath": "clear-cache.main.runtime.ts",
477
- "line": 35,
478
- "character": 3
479
- },
480
- "signature": "(method) ClearCacheMain.provider([cli]: [CLIMain]): Promise<ClearCacheMain>",
481
- "name": "provider",
482
- "params": [
483
- {
484
- "__schema": "ParameterSchema",
485
- "location": {
486
- "filePath": "clear-cache.main.runtime.ts",
487
- "line": 35,
488
- "character": 25
489
- },
490
- "name": "[ cli ]",
491
- "type": {
492
- "__schema": "TupleTypeSchema",
493
- "location": {
494
- "filePath": "clear-cache.main.runtime.ts",
495
- "line": 35,
496
- "character": 32
497
- },
498
- "elements": [
499
- {
500
- "__schema": "TypeRefSchema",
501
- "location": {
502
- "filePath": "clear-cache.main.runtime.ts",
503
- "line": 35,
504
- "character": 33
505
- },
506
- "name": "CLIMain",
507
- "componentId": {
508
- "scope": "teambit.harmony",
509
- "name": "cli"
510
- }
511
- }
512
- ]
513
- },
514
- "isOptional": false,
515
- "isSpread": false
516
- }
517
- ],
518
- "returnType": {
519
- "__schema": "InferenceTypeSchema",
520
- "location": {
521
- "filePath": "clear-cache.main.runtime.ts",
522
- "line": 35,
523
- "character": 3
524
- },
525
- "type": "Promise<ClearCacheMain>"
526
- },
527
- "modifiers": [
528
- "static",
529
- "async"
530
- ]
531
- }
532
- ],
533
- "extendsNodes": [],
534
- "implementNodes": []
535
- }
536
- ],
537
- "internals": [
538
- {
539
- "__schema": "UnImplementedSchema",
540
- "location": {
541
- "filePath": "clear-cache.main.runtime.ts",
542
- "line": 42,
543
- "character": 1
544
- },
545
- "name": "ClearCacheAspect.addRuntime(ClearCacheMain);",
546
- "type": "ExpressionStatement"
547
- }
548
- ]
549
- },
550
- {
551
- "__schema": "ModuleSchema",
552
- "location": {
553
- "filePath": "clear-cache.aspect.ts",
554
- "line": 1,
555
- "character": 1
556
- },
557
- "exports": [
558
- {
559
- "__schema": "VariableLikeSchema",
560
- "location": {
561
- "filePath": "clear-cache.aspect.ts",
562
- "line": 3,
563
- "character": 14
564
- },
565
- "signature": "const ClearCacheAspect: Aspect",
566
- "name": "ClearCacheAspect",
567
- "type": {
568
- "__schema": "TypeRefSchema",
569
- "location": {
570
- "filePath": "clear-cache.aspect.ts",
571
- "line": 3,
572
- "character": 14
573
- },
574
- "name": "Aspect",
575
- "componentId": {
576
- "scope": "teambit.harmony",
577
- "name": "harmony",
578
- "version": "0.4.6"
579
- }
580
- },
581
- "isOptional": false,
582
- "defaultValue": "Aspect.create({\n id: 'teambit.bit/clear-cache',\n})"
583
- }
584
- ],
585
- "internals": []
586
- }
587
- ],
588
- "componentId": {
589
- "scope": "teambit.workspace",
590
- "name": "clear-cache",
591
- "version": "0.0.438"
592
- },
593
- "taggedModuleExports": []
594
- }