Skip to content

Commit

Permalink
fix:! removes npm hooks command
Browse files Browse the repository at this point in the history
  • Loading branch information
reggi committed Oct 14, 2024
1 parent 286739c commit 7d62d8a
Show file tree
Hide file tree
Showing 25 changed files with 38 additions and 2,031 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ tap-testdir*/
!/workspaces/libnpmdiff/
!/workspaces/libnpmexec/
!/workspaces/libnpmfund/
!/workspaces/libnpmhook/
!/workspaces/libnpmorg/
!/workspaces/libnpmpack/
!/workspaces/libnpmpublish/
Expand Down
1 change: 0 additions & 1 deletion DEPENDENCIES.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
[
"@npmcli/run-script",
"@npmcli/map-workspaces",
"libnpmhook",
"libnpmorg",
"libnpmsearch",
"libnpmteam",
Expand Down
13 changes: 1 addition & 12 deletions DEPENDENCIES.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ graph LR;
libnpmfund-->npmcli-arborist["@npmcli/arborist"];
libnpmfund-->npmcli-eslint-config["@npmcli/eslint-config"];
libnpmfund-->npmcli-template-oss["@npmcli/template-oss"];
libnpmhook-->npm-registry-fetch;
libnpmhook-->npmcli-eslint-config["@npmcli/eslint-config"];
libnpmhook-->npmcli-template-oss["@npmcli/template-oss"];
libnpmorg-->npm-registry-fetch;
libnpmorg-->npmcli-eslint-config["@npmcli/eslint-config"];
libnpmorg-->npmcli-template-oss["@npmcli/template-oss"];
Expand Down Expand Up @@ -98,7 +95,6 @@ graph LR;
npm-->libnpmdiff;
npm-->libnpmexec;
npm-->libnpmfund;
npm-->libnpmhook;
npm-->libnpmorg;
npm-->libnpmpack;
npm-->libnpmpublish;
Expand Down Expand Up @@ -363,12 +359,6 @@ graph LR;
libnpmfund-->npmcli-eslint-config["@npmcli/eslint-config"];
libnpmfund-->npmcli-template-oss["@npmcli/template-oss"];
libnpmfund-->tap;
libnpmhook-->aproba;
libnpmhook-->nock;
libnpmhook-->npm-registry-fetch;
libnpmhook-->npmcli-eslint-config["@npmcli/eslint-config"];
libnpmhook-->npmcli-template-oss["@npmcli/template-oss"];
libnpmhook-->tap;
libnpmorg-->aproba;
libnpmorg-->minipass;
libnpmorg-->nock;
Expand Down Expand Up @@ -483,7 +473,6 @@ graph LR;
npm-->libnpmdiff;
npm-->libnpmexec;
npm-->libnpmfund;
npm-->libnpmhook;
npm-->libnpmorg;
npm-->libnpmpack;
npm-->libnpmpublish;
Expand Down Expand Up @@ -799,7 +788,7 @@ packages higher up the chain.
- @npmcli/arborist
- @npmcli/metavuln-calculator
- pacote, @npmcli/config, libnpmversion
- @npmcli/run-script, @npmcli/map-workspaces, libnpmhook, libnpmorg, libnpmsearch, libnpmteam, init-package-json, npm-profile
- @npmcli/run-script, @npmcli/map-workspaces, libnpmorg, libnpmsearch, libnpmteam, init-package-json, npm-profile
- @npmcli/package-json, npm-registry-fetch
- @npmcli/git, make-fetch-happen
- npm-pick-manifest, @npmcli/installed-package-contents, cacache, promzard
Expand Down
85 changes: 0 additions & 85 deletions docs/lib/content/commands/npm-hook.md

This file was deleted.

3 changes: 0 additions & 3 deletions docs/lib/content/nav.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@
- title: npm help-search
url: /commands/npm-help-search
description: Get help on npm
- title: npm hook
url: /commands/npm-hook
description: Manage registry hooks
- title: npm init
url: /commands/npm-init
description: Create a package.json file
Expand Down
109 changes: 0 additions & 109 deletions lib/commands/hook.js

This file was deleted.

1 change: 0 additions & 1 deletion lib/utils/cmd-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ const commands = [
'get',
'help',
'help-search',
'hook',
'init',
'install',
'install-ci-test',
Expand Down
7 changes: 1 addition & 6 deletions package-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
"libnpmdiff",
"libnpmexec",
"libnpmfund",
"libnpmhook",
"libnpmorg",
"libnpmpack",
"libnpmpublish",
Expand Down Expand Up @@ -115,7 +114,6 @@
"libnpmdiff": "^7.0.0",
"libnpmexec": "^9.0.0",
"libnpmfund": "^6.0.0",
"libnpmhook": "^11.0.0",
"libnpmorg": "^7.0.0",
"libnpmpack": "^8.0.0",
"libnpmpublish": "^10.0.0",
Expand Down Expand Up @@ -9371,10 +9369,6 @@
"resolved": "workspaces/libnpmfund",
"link": true
},
"node_modules/libnpmhook": {
"resolved": "workspaces/libnpmhook",
"link": true
},
"node_modules/libnpmorg": {
"resolved": "workspaces/libnpmorg",
"link": true
Expand Down Expand Up @@ -18010,6 +18004,7 @@
},
"workspaces/libnpmhook": {
"version": "11.0.0",
"extraneous": true,
"license": "ISC",
"dependencies": {
"aproba": "^2.0.0",
Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
"libnpmdiff": "^7.0.0",
"libnpmexec": "^9.0.0",
"libnpmfund": "^6.0.0",
"libnpmhook": "^11.0.0",
"libnpmorg": "^7.0.0",
"libnpmpack": "^8.0.0",
"libnpmpublish": "^10.0.0",
Expand Down Expand Up @@ -150,7 +149,6 @@
"libnpmdiff",
"libnpmexec",
"libnpmfund",
"libnpmhook",
"libnpmorg",
"libnpmpack",
"libnpmpublish",
Expand Down
1 change: 0 additions & 1 deletion tap-snapshots/test/lib/commands/completion.js.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ Array [
get
help
help-search
hook
init
install
install-ci-test
Expand Down
1 change: 0 additions & 1 deletion tap-snapshots/test/lib/commands/publish.js.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ Object {
"man/man1/npm-fund.1",
"man/man1/npm-help-search.1",
"man/man1/npm-help.1",
"man/man1/npm-hook.1",
"man/man1/npm-init.1",
"man/man1/npm-install-ci-test.1",
"man/man1/npm-install-test.1",
Expand Down
Loading

0 comments on commit 7d62d8a

Please sign in to comment.