@ws-tools/grapher 0.1.6 → 0.2.0
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/lib/commands/depsCommand.js +2 -3
- package/lib/commands/depsCommand.js.map +1 -1
- package/package.json +3 -3
- package/CHANGELOG.json +0 -122
- package/CHANGELOG.md +0 -55
|
@@ -3,20 +3,19 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.depsCommand = void 0;
|
|
4
4
|
const workspace_tools_1 = require("workspace-tools");
|
|
5
5
|
function depsCommand(options) {
|
|
6
|
-
var _a, _b;
|
|
7
6
|
const root = (0, workspace_tools_1.getWorkspaceRoot)(process.cwd());
|
|
8
7
|
if (!root) {
|
|
9
8
|
throw new Error("Could not find workspace root");
|
|
10
9
|
}
|
|
11
10
|
const packageInfos = (0, workspace_tools_1.getPackageInfos)(root);
|
|
12
|
-
const dependents = (0, workspace_tools_1.getTransitiveDependents)(
|
|
11
|
+
const dependents = (0, workspace_tools_1.getTransitiveDependents)(options.scope ?? [], packageInfos);
|
|
13
12
|
console.log("Dependent Packages:");
|
|
14
13
|
console.log(dependents
|
|
15
14
|
.sort()
|
|
16
15
|
.map((d) => ` - ${d}`)
|
|
17
16
|
.join("\n"));
|
|
18
17
|
console.log("");
|
|
19
|
-
const dependencies = (0, workspace_tools_1.getTransitiveDependencies)(
|
|
18
|
+
const dependencies = (0, workspace_tools_1.getTransitiveDependencies)(options.scope ?? [], packageInfos);
|
|
20
19
|
console.log("Dependencies of Package:");
|
|
21
20
|
console.log(dependencies
|
|
22
21
|
.sort()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"depsCommand.js","sourceRoot":"","sources":["../../src/commands/depsCommand.ts"],"names":[],"mappings":";;;AAAA,qDAAwH;AAMxH,SAAgB,WAAW,CAAC,OAA2B
|
|
1
|
+
{"version":3,"file":"depsCommand.js","sourceRoot":"","sources":["../../src/commands/depsCommand.ts"],"names":[],"mappings":";;;AAAA,qDAAwH;AAMxH,SAAgB,WAAW,CAAC,OAA2B;IACrD,MAAM,IAAI,GAAG,IAAA,kCAAgB,EAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC;IAE7C,IAAI,CAAC,IAAI,EAAE;QACT,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;KAClD;IAED,MAAM,YAAY,GAAG,IAAA,iCAAe,EAAC,IAAI,CAAC,CAAC;IAE3C,MAAM,UAAU,GAAG,IAAA,yCAAuB,EAAC,OAAO,CAAC,KAAK,IAAI,EAAE,EAAE,YAAY,CAAC,CAAC;IAC9E,OAAO,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC;IACnC,OAAO,CAAC,GAAG,CACT,UAAU;SACP,IAAI,EAAE;SACN,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;SACtB,IAAI,CAAC,IAAI,CAAC,CACd,CAAC;IAEF,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IAEhB,MAAM,YAAY,GAAG,IAAA,2CAAyB,EAAC,OAAO,CAAC,KAAK,IAAI,EAAE,EAAE,YAAY,CAAC,CAAC;IAClF,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,CAAC;IACxC,OAAO,CAAC,GAAG,CACT,YAAY;SACT,IAAI,EAAE;SACN,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;SACtB,IAAI,CAAC,IAAI,CAAC,CACd,CAAC;AACJ,CAAC;AA5BD,kCA4BC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ws-tools/grapher",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"test": "jest"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"commander": "^
|
|
24
|
-
"workspace-tools": "^0.
|
|
23
|
+
"commander": "^11.1.0",
|
|
24
|
+
"workspace-tools": "^0.36.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/node": "^16.0.0",
|
package/CHANGELOG.json
DELETED
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@ws-tools/grapher",
|
|
3
|
-
"entries": [
|
|
4
|
-
{
|
|
5
|
-
"date": "Wed, 18 Oct 2023 04:16:15 GMT",
|
|
6
|
-
"version": "0.1.6",
|
|
7
|
-
"tag": "@ws-tools/grapher_v0.1.6",
|
|
8
|
-
"comments": {
|
|
9
|
-
"patch": [
|
|
10
|
-
{
|
|
11
|
-
"author": "beachball",
|
|
12
|
-
"package": "@ws-tools/grapher",
|
|
13
|
-
"comment": "Bump workspace-tools to v0.35.3",
|
|
14
|
-
"commit": "not available"
|
|
15
|
-
}
|
|
16
|
-
]
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"date": "Thu, 21 Sep 2023 08:01:58 GMT",
|
|
21
|
-
"version": "0.1.5",
|
|
22
|
-
"tag": "@ws-tools/grapher_v0.1.5",
|
|
23
|
-
"comments": {
|
|
24
|
-
"patch": [
|
|
25
|
-
{
|
|
26
|
-
"author": "dzearing@microsoft.com",
|
|
27
|
-
"package": "@ws-tools/grapher",
|
|
28
|
-
"commit": "78092edbb6e6af87d5b9ceae75502f5d184e4536",
|
|
29
|
-
"comment": "Update README.md"
|
|
30
|
-
}
|
|
31
|
-
]
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"date": "Tue, 05 Sep 2023 21:12:43 GMT",
|
|
36
|
-
"version": "0.1.4",
|
|
37
|
-
"tag": "@ws-tools/grapher_v0.1.4",
|
|
38
|
-
"comments": {
|
|
39
|
-
"patch": [
|
|
40
|
-
{
|
|
41
|
-
"author": "beachball",
|
|
42
|
-
"package": "@ws-tools/grapher",
|
|
43
|
-
"comment": "Bump workspace-tools to v0.35.2",
|
|
44
|
-
"commit": "not available"
|
|
45
|
-
}
|
|
46
|
-
]
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"date": "Fri, 01 Sep 2023 08:02:04 GMT",
|
|
51
|
-
"version": "0.1.3",
|
|
52
|
-
"tag": "@ws-tools/grapher_v0.1.3",
|
|
53
|
-
"comments": {
|
|
54
|
-
"none": [
|
|
55
|
-
{
|
|
56
|
-
"author": "elcraig@microsoft.com",
|
|
57
|
-
"package": "@ws-tools/grapher",
|
|
58
|
-
"commit": "d72c67ada32cc7580a03ddb6d92aa343c090dfc1",
|
|
59
|
-
"comment": "Unpin devDependencies"
|
|
60
|
-
}
|
|
61
|
-
]
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"date": "Fri, 01 Sep 2023 01:20:47 GMT",
|
|
66
|
-
"tag": "@ws-tools/grapher_v0.1.3",
|
|
67
|
-
"version": "0.1.3",
|
|
68
|
-
"comments": {
|
|
69
|
-
"patch": [
|
|
70
|
-
{
|
|
71
|
-
"author": "beachball",
|
|
72
|
-
"package": "@ws-tools/grapher",
|
|
73
|
-
"comment": "Bump workspace-tools to v0.35.1",
|
|
74
|
-
"commit": "c73150422bbe64332daa3876b06ed81fdd363f36"
|
|
75
|
-
}
|
|
76
|
-
]
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"date": "Sat, 15 Jul 2023 08:02:42 GMT",
|
|
81
|
-
"tag": "@ws-tools/grapher_v0.1.2",
|
|
82
|
-
"version": "0.1.2",
|
|
83
|
-
"comments": {
|
|
84
|
-
"patch": [
|
|
85
|
-
{
|
|
86
|
-
"author": "beachball",
|
|
87
|
-
"package": "@ws-tools/grapher",
|
|
88
|
-
"comment": "Bump workspace-tools to v0.35.0",
|
|
89
|
-
"commit": "536eacac8831d04f801446280daf347128be37b6"
|
|
90
|
-
}
|
|
91
|
-
]
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"date": "Wed, 17 May 2023 01:25:45 GMT",
|
|
96
|
-
"tag": "@ws-tools/grapher_v0.1.1",
|
|
97
|
-
"version": "0.1.1",
|
|
98
|
-
"comments": {
|
|
99
|
-
"patch": [
|
|
100
|
-
{
|
|
101
|
-
"author": "elcraig@microsoft.com",
|
|
102
|
-
"package": "@ws-tools/grapher",
|
|
103
|
-
"commit": "a14af9fe6d1081712a1f84483a38185fc7603cc8",
|
|
104
|
-
"comment": "Add `bin` and prevent importing the package"
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
"author": "kchau@microsoft.com",
|
|
108
|
-
"package": "@ws-tools/grapher",
|
|
109
|
-
"commit": "9311481fb7acc75402900473a38bd6dcc169014d",
|
|
110
|
-
"comment": "adding a deps graph tool"
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
"author": "beachball",
|
|
114
|
-
"package": "@ws-tools/grapher",
|
|
115
|
-
"comment": "Bump workspace-tools to v0.34.6",
|
|
116
|
-
"commit": "1ae1a23fe0402f213d6ef2c5fad221a9bacab185"
|
|
117
|
-
}
|
|
118
|
-
]
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
]
|
|
122
|
-
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
# Change Log - @ws-tools/grapher
|
|
2
|
-
|
|
3
|
-
This log was last generated on Wed, 18 Oct 2023 04:16:15 GMT and should not be manually modified.
|
|
4
|
-
|
|
5
|
-
<!-- Start content -->
|
|
6
|
-
|
|
7
|
-
## 0.1.6
|
|
8
|
-
|
|
9
|
-
Wed, 18 Oct 2023 04:16:15 GMT
|
|
10
|
-
|
|
11
|
-
### Patches
|
|
12
|
-
|
|
13
|
-
- Bump workspace-tools to v0.35.3
|
|
14
|
-
|
|
15
|
-
## 0.1.5
|
|
16
|
-
|
|
17
|
-
Thu, 21 Sep 2023 08:01:58 GMT
|
|
18
|
-
|
|
19
|
-
### Patches
|
|
20
|
-
|
|
21
|
-
- Update README.md (dzearing@microsoft.com)
|
|
22
|
-
|
|
23
|
-
## 0.1.4
|
|
24
|
-
|
|
25
|
-
Tue, 05 Sep 2023 21:12:43 GMT
|
|
26
|
-
|
|
27
|
-
### Patches
|
|
28
|
-
|
|
29
|
-
- Bump workspace-tools to v0.35.2
|
|
30
|
-
|
|
31
|
-
## 0.1.3
|
|
32
|
-
|
|
33
|
-
Fri, 01 Sep 2023 01:20:47 GMT
|
|
34
|
-
|
|
35
|
-
### Patches
|
|
36
|
-
|
|
37
|
-
- Bump workspace-tools to v0.35.1
|
|
38
|
-
|
|
39
|
-
## 0.1.2
|
|
40
|
-
|
|
41
|
-
Sat, 15 Jul 2023 08:02:42 GMT
|
|
42
|
-
|
|
43
|
-
### Patches
|
|
44
|
-
|
|
45
|
-
- Bump workspace-tools to v0.35.0
|
|
46
|
-
|
|
47
|
-
## 0.1.1
|
|
48
|
-
|
|
49
|
-
Wed, 17 May 2023 01:25:45 GMT
|
|
50
|
-
|
|
51
|
-
### Patches
|
|
52
|
-
|
|
53
|
-
- Add `bin` and prevent importing the package (elcraig@microsoft.com)
|
|
54
|
-
- adding a deps graph tool (kchau@microsoft.com)
|
|
55
|
-
- Bump workspace-tools to v0.34.6
|