@teambit/lister 1.0.225 → 1.0.227

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,4 +1,4 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <testsuites tests="0" failures="0" errors="0" skipped="0">
3
- <testsuite name="teambit.component/lister@1.0.225" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.component/lister@1.0.227" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -48,11 +48,7 @@
48
48
  "line": 24,
49
49
  "character": 31
50
50
  },
51
- "name": "Logger",
52
- "componentId": {
53
- "scope": "teambit.harmony",
54
- "name": "logger"
55
- }
51
+ "name": "Logger"
56
52
  },
57
53
  "isOptional": false,
58
54
  "isSpread": false
@@ -72,11 +68,7 @@
72
68
  "line": 24,
73
69
  "character": 59
74
70
  },
75
- "name": "Workspace",
76
- "componentId": {
77
- "scope": "teambit.workspace",
78
- "name": "workspace"
79
- }
71
+ "name": "Workspace"
80
72
  },
81
73
  "isOptional": true,
82
74
  "isSpread": false
@@ -167,8 +159,7 @@
167
159
  "line": 26,
168
160
  "character": 83
169
161
  },
170
- "name": "ListScopeResult",
171
- "internalFilePath": "lister.main.runtime.ts"
162
+ "name": "ListScopeResult"
172
163
  }
173
164
  }
174
165
  ]
@@ -273,8 +264,7 @@
273
264
  "line": 37,
274
265
  "character": 14
275
266
  },
276
- "name": "ListScopeResult",
277
- "internalFilePath": "lister.main.runtime.ts"
267
+ "name": "ListScopeResult"
278
268
  }
279
269
  }
280
270
  ]
@@ -379,11 +369,7 @@
379
369
  "line": 68,
380
370
  "character": 56
381
371
  },
382
- "name": "CLIMain",
383
- "componentId": {
384
- "scope": "teambit.harmony",
385
- "name": "cli"
386
- }
372
+ "name": "CLIMain"
387
373
  },
388
374
  {
389
375
  "__schema": "TypeRefSchema",
@@ -392,11 +378,7 @@
392
378
  "line": 68,
393
379
  "character": 65
394
380
  },
395
- "name": "LoggerMain",
396
- "componentId": {
397
- "scope": "teambit.harmony",
398
- "name": "logger"
399
- }
381
+ "name": "LoggerMain"
400
382
  },
401
383
  {
402
384
  "__schema": "TypeRefSchema",
@@ -405,11 +387,7 @@
405
387
  "line": 68,
406
388
  "character": 77
407
389
  },
408
- "name": "Workspace",
409
- "componentId": {
410
- "scope": "teambit.workspace",
411
- "name": "workspace"
412
- }
390
+ "name": "Workspace"
413
391
  }
414
392
  ]
415
393
  },
@@ -679,11 +657,7 @@
679
657
  "line": 24,
680
658
  "character": 31
681
659
  },
682
- "name": "Logger",
683
- "componentId": {
684
- "scope": "teambit.harmony",
685
- "name": "logger"
686
- }
660
+ "name": "Logger"
687
661
  },
688
662
  "isOptional": false,
689
663
  "isSpread": false
@@ -703,11 +677,7 @@
703
677
  "line": 24,
704
678
  "character": 59
705
679
  },
706
- "name": "Workspace",
707
- "componentId": {
708
- "scope": "teambit.workspace",
709
- "name": "workspace"
710
- }
680
+ "name": "Workspace"
711
681
  },
712
682
  "isOptional": true,
713
683
  "isSpread": false
@@ -798,8 +768,7 @@
798
768
  "line": 26,
799
769
  "character": 83
800
770
  },
801
- "name": "ListScopeResult",
802
- "internalFilePath": "lister.main.runtime.ts"
771
+ "name": "ListScopeResult"
803
772
  }
804
773
  }
805
774
  ]
@@ -904,8 +873,7 @@
904
873
  "line": 37,
905
874
  "character": 14
906
875
  },
907
- "name": "ListScopeResult",
908
- "internalFilePath": "lister.main.runtime.ts"
876
+ "name": "ListScopeResult"
909
877
  }
910
878
  }
911
879
  ]
@@ -1010,11 +978,7 @@
1010
978
  "line": 68,
1011
979
  "character": 56
1012
980
  },
1013
- "name": "CLIMain",
1014
- "componentId": {
1015
- "scope": "teambit.harmony",
1016
- "name": "cli"
1017
- }
981
+ "name": "CLIMain"
1018
982
  },
1019
983
  {
1020
984
  "__schema": "TypeRefSchema",
@@ -1023,11 +987,7 @@
1023
987
  "line": 68,
1024
988
  "character": 65
1025
989
  },
1026
- "name": "LoggerMain",
1027
- "componentId": {
1028
- "scope": "teambit.harmony",
1029
- "name": "logger"
1030
- }
990
+ "name": "LoggerMain"
1031
991
  },
1032
992
  {
1033
993
  "__schema": "TypeRefSchema",
@@ -1036,11 +996,7 @@
1036
996
  "line": 68,
1037
997
  "character": 77
1038
998
  },
1039
- "name": "Workspace",
1040
- "componentId": {
1041
- "scope": "teambit.workspace",
1042
- "name": "workspace"
1043
- }
999
+ "name": "Workspace"
1044
1000
  }
1045
1001
  ]
1046
1002
  },
@@ -1121,7 +1077,7 @@
1121
1077
  "componentId": {
1122
1078
  "scope": "teambit.component",
1123
1079
  "name": "lister",
1124
- "version": "1.0.225"
1080
+ "version": "1.0.227"
1125
1081
  },
1126
1082
  "taggedModuleExports": []
1127
1083
  }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/lister",
3
- "version": "1.0.225",
3
+ "version": "1.0.227",
4
4
  "homepage": "https://bit.cloud/teambit/component/lister",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.component",
8
8
  "name": "lister",
9
- "version": "1.0.225"
9
+ "version": "1.0.227"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "2.4.2",
@@ -15,9 +15,9 @@
15
15
  "lodash": "4.17.21",
16
16
  "@teambit/harmony": "0.4.6",
17
17
  "@teambit/component-id": "1.2.0",
18
- "@teambit/cli": "0.0.859",
19
- "@teambit/logger": "0.0.952",
20
- "@teambit/workspace": "1.0.225"
18
+ "@teambit/cli": "0.0.860",
19
+ "@teambit/logger": "0.0.953",
20
+ "@teambit/workspace": "1.0.227"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@types/cli-table": "^0.3.0",
@@ -25,7 +25,7 @@
25
25
  "@types/lodash": "4.14.165",
26
26
  "@types/mocha": "9.1.0",
27
27
  "chai": "4.3.0",
28
- "@teambit/harmony.envs.core-aspect-env": "0.0.27"
28
+ "@teambit/harmony.envs.core-aspect-env": "0.0.30"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "@teambit/legacy": "1.0.624"
package/tsconfig.json CHANGED
@@ -20,7 +20,8 @@
20
20
  "emitDeclarationOnly": true,
21
21
  "strict": true,
22
22
  "strictPropertyInitialization": false,
23
- "noImplicitAny": false
23
+ "noImplicitAny": false,
24
+ "composite": true
24
25
  },
25
26
  "exclude": [
26
27
  "artifacts",
@@ -35,5 +36,16 @@
35
36
  "include": [
36
37
  "**/*",
37
38
  "**/*.json"
39
+ ],
40
+ "references": [
41
+ {
42
+ "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_cli@0.0.860"
43
+ },
44
+ {
45
+ "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_logger@0.0.953"
46
+ },
47
+ {
48
+ "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@1.0.227"
49
+ }
38
50
  ]
39
51
  }
package/dist/index.d.ts DELETED
@@ -1,4 +0,0 @@
1
- import { ListerAspect } from './lister.aspect';
2
- export type { ListerMain } from './lister.main.runtime';
3
- export default ListerAspect;
4
- export { ListerAspect };
@@ -1,2 +0,0 @@
1
- import { ListScopeResult } from './lister.main.runtime';
2
- export declare function listTemplate(listScopeResults: ListScopeResult[], json: boolean, showRemoteVersion: boolean): string | Record<string, any>[];
@@ -1,26 +0,0 @@
1
- import { Command, CommandOptions } from '@teambit/cli';
2
- import { ListerMain } from './lister.main.runtime';
3
- type ListFlags = {
4
- ids?: boolean;
5
- scope?: boolean;
6
- json?: boolean;
7
- outdated?: boolean;
8
- namespace?: string;
9
- };
10
- export declare class ListCmd implements Command {
11
- private lister;
12
- name: string;
13
- description: string;
14
- group: string;
15
- helpUrl: string;
16
- alias: string;
17
- options: CommandOptions;
18
- loader: boolean;
19
- skipWorkspace: boolean;
20
- remoteOp: boolean;
21
- constructor(lister: ListerMain);
22
- report([scopeName]: string[], listFlags: ListFlags): Promise<string>;
23
- json([scopeName]: string[], listFlags: ListFlags): Promise<string[] | Record<string, any>>;
24
- private getListResults;
25
- }
26
- export {};
@@ -1,2 +0,0 @@
1
- import { Aspect } from '@teambit/harmony';
2
- export declare const ListerAspect: Aspect;
@@ -1,23 +0,0 @@
1
- import { CLIMain } from '@teambit/cli';
2
- import { Logger, LoggerMain } from '@teambit/logger';
3
- import { Workspace } from '@teambit/workspace';
4
- import { ComponentID } from '@teambit/component-id';
5
- export type ListScopeResult = {
6
- id: ComponentID;
7
- currentlyUsedVersion?: string | null | undefined;
8
- remoteVersion?: string;
9
- deprecated?: boolean;
10
- laneReadmeOf?: string[];
11
- };
12
- export declare class ListerMain {
13
- private logger;
14
- private workspace?;
15
- constructor(logger: Logger, workspace?: Workspace | undefined);
16
- remoteList(scopeName: string, namespacesUsingWildcards?: string): Promise<ListScopeResult[]>;
17
- localList(showAll?: boolean, showRemoteVersion?: boolean, namespacesUsingWildcards?: string): Promise<ListScopeResult[]>;
18
- private convertListScopeResultsFromLegacy;
19
- static slots: never[];
20
- static dependencies: import("@teambit/harmony").Aspect[];
21
- static runtime: import("@teambit/harmony").RuntimeDefinition;
22
- static provider([cli, loggerMain, workspace]: [CLIMain, LoggerMain, Workspace]): Promise<ListerMain>;
23
- }