Skip to content

Commit 475285b

Browse files
authored
chore: clean up dependency graph repos (#7920)
Update the list of the cli repos, as its been a while. And fix `which`'s association with its repo.
1 parent 16b7367 commit 475285b

File tree

4 files changed

+15
-19
lines changed

4 files changed

+15
-19
lines changed

DEPENDENCIES.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,17 @@
4040
"make-fetch-happen"
4141
],
4242
[
43+
"@npmcli/smoke-tests",
4344
"@npmcli/installed-package-contents",
4445
"npm-pick-manifest",
4546
"cacache",
4647
"promzard"
4748
],
4849
[
4950
"@npmcli/docs",
50-
"@npmcli/smoke-tests",
5151
"@npmcli/fs",
5252
"npm-bundled",
53+
"@npmcli/promise-spawn",
5354
"npm-install-checks",
5455
"npm-package-arg",
5556
"normalize-package-data",
@@ -69,13 +70,12 @@
6970
"semver",
7071
"npm-normalize-package-bin",
7172
"@npmcli/name-from-folder",
72-
"@npmcli/promise-spawn",
73+
"which",
7374
"ini",
7475
"hosted-git-info",
7576
"proc-log",
7677
"validate-npm-package-name",
7778
"json-parse-even-better-errors",
78-
"fs-minipass",
7979
"ssri",
8080
"unique-slug",
8181
"@npmcli/node-gyp",

DEPENDENCIES.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ graph LR;
88
bin-links-->proc-log;
99
bin-links-->read-cmd-shim;
1010
bin-links-->write-file-atomic;
11-
cacache-->fs-minipass;
1211
cacache-->npmcli-fs["@npmcli/fs"];
1312
cacache-->ssri;
1413
cacache-->unique-filename;
@@ -86,7 +85,6 @@ graph LR;
8685
normalize-package-data-->semver;
8786
npm-->abbrev;
8887
npm-->cacache;
89-
npm-->fs-minipass;
9088
npm-->hosted-git-info;
9189
npm-->ini;
9290
npm-->init-package-json;
@@ -134,6 +132,7 @@ graph LR;
134132
npm-->semver;
135133
npm-->ssri;
136134
npm-->validate-npm-package-name;
135+
npm-->which;
137136
npm-bundled-->npm-normalize-package-bin;
138137
npm-install-checks-->semver;
139138
npm-package-arg-->hosted-git-info;
@@ -200,6 +199,7 @@ graph LR;
200199
npmcli-git-->npmcli-promise-spawn["@npmcli/promise-spawn"];
201200
npmcli-git-->proc-log;
202201
npmcli-git-->semver;
202+
npmcli-git-->which;
203203
npmcli-installed-package-contents-->npm-bundled;
204204
npmcli-installed-package-contents-->npm-normalize-package-bin;
205205
npmcli-map-workspaces-->npmcli-name-from-folder["@npmcli/name-from-folder"];
@@ -222,16 +222,18 @@ graph LR;
222222
npmcli-package-json-->npmcli-git["@npmcli/git"];
223223
npmcli-package-json-->proc-log;
224224
npmcli-package-json-->semver;
225+
npmcli-promise-spawn-->which;
225226
npmcli-run-script-->npmcli-node-gyp["@npmcli/node-gyp"];
226227
npmcli-run-script-->npmcli-package-json["@npmcli/package-json"];
227228
npmcli-run-script-->npmcli-promise-spawn["@npmcli/promise-spawn"];
228229
npmcli-run-script-->proc-log;
230+
npmcli-run-script-->which;
229231
npmcli-smoke-tests-->npmcli-eslint-config["@npmcli/eslint-config"];
230232
npmcli-smoke-tests-->npmcli-mock-registry["@npmcli/mock-registry"];
231233
npmcli-smoke-tests-->npmcli-promise-spawn["@npmcli/promise-spawn"];
232234
npmcli-smoke-tests-->npmcli-template-oss["@npmcli/template-oss"];
235+
npmcli-smoke-tests-->which;
233236
pacote-->cacache;
234-
pacote-->fs-minipass;
235237
pacote-->npm-package-arg;
236238
pacote-->npm-packlist;
237239
pacote-->npm-pick-manifest;
@@ -786,6 +788,6 @@ packages higher up the chain.
786788
- @npmcli/map-workspaces, @npmcli/run-script, libnpmaccess, libnpmorg, libnpmpublish, libnpmsearch, libnpmteam, init-package-json, npm-profile
787789
- @npmcli/package-json, npm-registry-fetch
788790
- @npmcli/git, make-fetch-happen
789-
- @npmcli/installed-package-contents, npm-pick-manifest, cacache, promzard
790-
- @npmcli/docs, @npmcli/smoke-tests, @npmcli/fs, npm-bundled, npm-install-checks, npm-package-arg, normalize-package-data, unique-filename, npm-packlist, bin-links, nopt, parse-conflict-json, read-package-json-fast, @npmcli/mock-globals, read
791-
- @npmcli/eslint-config, @npmcli/template-oss, ignore-walk, semver, npm-normalize-package-bin, @npmcli/name-from-folder, @npmcli/promise-spawn, ini, hosted-git-info, proc-log, validate-npm-package-name, json-parse-even-better-errors, fs-minipass, ssri, unique-slug, @npmcli/node-gyp, @npmcli/redact, @npmcli/agent, minipass-fetch, @npmcli/query, cmd-shim, read-cmd-shim, write-file-atomic, abbrev, proggy, minify-registry-metadata, mute-stream, npm-audit-report, npm-user-validate
791+
- @npmcli/smoke-tests, @npmcli/installed-package-contents, npm-pick-manifest, cacache, promzard
792+
- @npmcli/docs, @npmcli/fs, npm-bundled, @npmcli/promise-spawn, npm-install-checks, npm-package-arg, normalize-package-data, unique-filename, npm-packlist, bin-links, nopt, parse-conflict-json, read-package-json-fast, @npmcli/mock-globals, read
793+
- @npmcli/eslint-config, @npmcli/template-oss, ignore-walk, semver, npm-normalize-package-bin, @npmcli/name-from-folder, which, ini, hosted-git-info, proc-log, validate-npm-package-name, json-parse-even-better-errors, ssri, unique-slug, @npmcli/node-gyp, @npmcli/redact, @npmcli/agent, minipass-fetch, @npmcli/query, cmd-shim, read-cmd-shim, write-file-atomic, abbrev, proggy, minify-registry-metadata, mute-stream, npm-audit-report, npm-user-validate

scripts/dependency-graph.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ function difference (set1, set2) {
3838

3939
// these have a different package name than the repo name, and are ours.
4040
const aliases = {
41-
semver: 'node-semver',
4241
abbrev: 'abbrev-js',
42+
semver: 'node-semver',
43+
which: 'node-which',
4344
}
4445

4546
// These are entries in npm-cli-repos.txt that correlate to namespaced repos.

scripts/npm-cli-repos.txt

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
abbrev-js
22
agent
3-
are-we-there-yet
4-
benchmarks
53
bin-links
64
cacache
75
cli
86
cmd-shim
9-
create-oss
10-
disparity-colors
117
documentation
128
eslint-config
139
fs
14-
fs-minipass
15-
gauge
1610
git
1711
hosted-git-info
1812
ignore-walk
@@ -43,7 +37,6 @@ npm-pick-manifest
4337
npm-profile
4438
npm-registry-fetch
4539
npm-user-validate
46-
npmlog
4740
package-json
4841
pacote
4942
parse-conflict-json
@@ -54,15 +47,15 @@ promzard
5447
query
5548
read
5649
read-cmd-shim
57-
read-package-json
5850
read-package-json-fast
51+
redact
5952
rfcs
6053
run-script
6154
ssri
6255
stafftools
6356
statusboard
64-
tap-nock
6557
template-oss
58+
types
6659
unique-filename
6760
unique-slug
6861
validate-npm-package-name

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy