@teambit/lister 1.0.228 → 1.0.229
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.
- package/artifacts/__bit_junit.xml +1 -1
- package/artifacts/schema.json +59 -15
- package/dist/index.d.ts +4 -0
- package/dist/list-template.d.ts +2 -0
- package/dist/list.cmd.d.ts +26 -0
- package/dist/lister.aspect.d.ts +2 -0
- package/dist/lister.main.runtime.d.ts +23 -0
- package/package.json +6 -6
- package/tsconfig.json +1 -13
- /package/dist/{preview-1712805335812.js → preview-1712822929999.js} +0 -0
|
@@ -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.
|
|
3
|
+
<testsuite name="teambit.component/lister@1.0.229" tests="0" failures="0" errors="0" skipped="0"/>
|
|
4
4
|
</testsuites>
|
package/artifacts/schema.json
CHANGED
|
@@ -48,7 +48,11 @@
|
|
|
48
48
|
"line": 24,
|
|
49
49
|
"character": 31
|
|
50
50
|
},
|
|
51
|
-
"name": "Logger"
|
|
51
|
+
"name": "Logger",
|
|
52
|
+
"componentId": {
|
|
53
|
+
"scope": "teambit.harmony",
|
|
54
|
+
"name": "logger"
|
|
55
|
+
}
|
|
52
56
|
},
|
|
53
57
|
"isOptional": false,
|
|
54
58
|
"isSpread": false
|
|
@@ -68,7 +72,11 @@
|
|
|
68
72
|
"line": 24,
|
|
69
73
|
"character": 59
|
|
70
74
|
},
|
|
71
|
-
"name": "Workspace"
|
|
75
|
+
"name": "Workspace",
|
|
76
|
+
"componentId": {
|
|
77
|
+
"scope": "teambit.workspace",
|
|
78
|
+
"name": "workspace"
|
|
79
|
+
}
|
|
72
80
|
},
|
|
73
81
|
"isOptional": true,
|
|
74
82
|
"isSpread": false
|
|
@@ -159,7 +167,8 @@
|
|
|
159
167
|
"line": 26,
|
|
160
168
|
"character": 83
|
|
161
169
|
},
|
|
162
|
-
"name": "ListScopeResult"
|
|
170
|
+
"name": "ListScopeResult",
|
|
171
|
+
"internalFilePath": "lister.main.runtime.ts"
|
|
163
172
|
}
|
|
164
173
|
}
|
|
165
174
|
]
|
|
@@ -264,7 +273,8 @@
|
|
|
264
273
|
"line": 37,
|
|
265
274
|
"character": 14
|
|
266
275
|
},
|
|
267
|
-
"name": "ListScopeResult"
|
|
276
|
+
"name": "ListScopeResult",
|
|
277
|
+
"internalFilePath": "lister.main.runtime.ts"
|
|
268
278
|
}
|
|
269
279
|
}
|
|
270
280
|
]
|
|
@@ -369,7 +379,11 @@
|
|
|
369
379
|
"line": 68,
|
|
370
380
|
"character": 56
|
|
371
381
|
},
|
|
372
|
-
"name": "CLIMain"
|
|
382
|
+
"name": "CLIMain",
|
|
383
|
+
"componentId": {
|
|
384
|
+
"scope": "teambit.harmony",
|
|
385
|
+
"name": "cli"
|
|
386
|
+
}
|
|
373
387
|
},
|
|
374
388
|
{
|
|
375
389
|
"__schema": "TypeRefSchema",
|
|
@@ -378,7 +392,11 @@
|
|
|
378
392
|
"line": 68,
|
|
379
393
|
"character": 65
|
|
380
394
|
},
|
|
381
|
-
"name": "LoggerMain"
|
|
395
|
+
"name": "LoggerMain",
|
|
396
|
+
"componentId": {
|
|
397
|
+
"scope": "teambit.harmony",
|
|
398
|
+
"name": "logger"
|
|
399
|
+
}
|
|
382
400
|
},
|
|
383
401
|
{
|
|
384
402
|
"__schema": "TypeRefSchema",
|
|
@@ -387,7 +405,11 @@
|
|
|
387
405
|
"line": 68,
|
|
388
406
|
"character": 77
|
|
389
407
|
},
|
|
390
|
-
"name": "Workspace"
|
|
408
|
+
"name": "Workspace",
|
|
409
|
+
"componentId": {
|
|
410
|
+
"scope": "teambit.workspace",
|
|
411
|
+
"name": "workspace"
|
|
412
|
+
}
|
|
391
413
|
}
|
|
392
414
|
]
|
|
393
415
|
},
|
|
@@ -657,7 +679,11 @@
|
|
|
657
679
|
"line": 24,
|
|
658
680
|
"character": 31
|
|
659
681
|
},
|
|
660
|
-
"name": "Logger"
|
|
682
|
+
"name": "Logger",
|
|
683
|
+
"componentId": {
|
|
684
|
+
"scope": "teambit.harmony",
|
|
685
|
+
"name": "logger"
|
|
686
|
+
}
|
|
661
687
|
},
|
|
662
688
|
"isOptional": false,
|
|
663
689
|
"isSpread": false
|
|
@@ -677,7 +703,11 @@
|
|
|
677
703
|
"line": 24,
|
|
678
704
|
"character": 59
|
|
679
705
|
},
|
|
680
|
-
"name": "Workspace"
|
|
706
|
+
"name": "Workspace",
|
|
707
|
+
"componentId": {
|
|
708
|
+
"scope": "teambit.workspace",
|
|
709
|
+
"name": "workspace"
|
|
710
|
+
}
|
|
681
711
|
},
|
|
682
712
|
"isOptional": true,
|
|
683
713
|
"isSpread": false
|
|
@@ -768,7 +798,8 @@
|
|
|
768
798
|
"line": 26,
|
|
769
799
|
"character": 83
|
|
770
800
|
},
|
|
771
|
-
"name": "ListScopeResult"
|
|
801
|
+
"name": "ListScopeResult",
|
|
802
|
+
"internalFilePath": "lister.main.runtime.ts"
|
|
772
803
|
}
|
|
773
804
|
}
|
|
774
805
|
]
|
|
@@ -873,7 +904,8 @@
|
|
|
873
904
|
"line": 37,
|
|
874
905
|
"character": 14
|
|
875
906
|
},
|
|
876
|
-
"name": "ListScopeResult"
|
|
907
|
+
"name": "ListScopeResult",
|
|
908
|
+
"internalFilePath": "lister.main.runtime.ts"
|
|
877
909
|
}
|
|
878
910
|
}
|
|
879
911
|
]
|
|
@@ -978,7 +1010,11 @@
|
|
|
978
1010
|
"line": 68,
|
|
979
1011
|
"character": 56
|
|
980
1012
|
},
|
|
981
|
-
"name": "CLIMain"
|
|
1013
|
+
"name": "CLIMain",
|
|
1014
|
+
"componentId": {
|
|
1015
|
+
"scope": "teambit.harmony",
|
|
1016
|
+
"name": "cli"
|
|
1017
|
+
}
|
|
982
1018
|
},
|
|
983
1019
|
{
|
|
984
1020
|
"__schema": "TypeRefSchema",
|
|
@@ -987,7 +1023,11 @@
|
|
|
987
1023
|
"line": 68,
|
|
988
1024
|
"character": 65
|
|
989
1025
|
},
|
|
990
|
-
"name": "LoggerMain"
|
|
1026
|
+
"name": "LoggerMain",
|
|
1027
|
+
"componentId": {
|
|
1028
|
+
"scope": "teambit.harmony",
|
|
1029
|
+
"name": "logger"
|
|
1030
|
+
}
|
|
991
1031
|
},
|
|
992
1032
|
{
|
|
993
1033
|
"__schema": "TypeRefSchema",
|
|
@@ -996,7 +1036,11 @@
|
|
|
996
1036
|
"line": 68,
|
|
997
1037
|
"character": 77
|
|
998
1038
|
},
|
|
999
|
-
"name": "Workspace"
|
|
1039
|
+
"name": "Workspace",
|
|
1040
|
+
"componentId": {
|
|
1041
|
+
"scope": "teambit.workspace",
|
|
1042
|
+
"name": "workspace"
|
|
1043
|
+
}
|
|
1000
1044
|
}
|
|
1001
1045
|
]
|
|
1002
1046
|
},
|
|
@@ -1077,7 +1121,7 @@
|
|
|
1077
1121
|
"componentId": {
|
|
1078
1122
|
"scope": "teambit.component",
|
|
1079
1123
|
"name": "lister",
|
|
1080
|
-
"version": "1.0.
|
|
1124
|
+
"version": "1.0.229"
|
|
1081
1125
|
},
|
|
1082
1126
|
"taggedModuleExports": []
|
|
1083
1127
|
}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/lister",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.229",
|
|
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.
|
|
9
|
+
"version": "1.0.229"
|
|
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.
|
|
19
|
-
"@teambit/logger": "0.0.
|
|
20
|
-
"@teambit/workspace": "1.0.
|
|
18
|
+
"@teambit/cli": "0.0.862",
|
|
19
|
+
"@teambit/logger": "0.0.955",
|
|
20
|
+
"@teambit/workspace": "1.0.229"
|
|
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.
|
|
28
|
+
"@teambit/harmony.envs.core-aspect-env": "0.0.33"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"@teambit/legacy": "1.0.624"
|
package/tsconfig.json
CHANGED
|
@@ -20,8 +20,7 @@
|
|
|
20
20
|
"emitDeclarationOnly": true,
|
|
21
21
|
"strict": true,
|
|
22
22
|
"strictPropertyInitialization": false,
|
|
23
|
-
"noImplicitAny": false
|
|
24
|
-
"composite": true
|
|
23
|
+
"noImplicitAny": false
|
|
25
24
|
},
|
|
26
25
|
"exclude": [
|
|
27
26
|
"artifacts",
|
|
@@ -36,16 +35,5 @@
|
|
|
36
35
|
"include": [
|
|
37
36
|
"**/*",
|
|
38
37
|
"**/*.json"
|
|
39
|
-
],
|
|
40
|
-
"references": [
|
|
41
|
-
{
|
|
42
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_cli@0.0.861"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_logger@0.0.954"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@1.0.228"
|
|
49
|
-
}
|
|
50
38
|
]
|
|
51
39
|
}
|
|
File without changes
|