Skip to content

Commit

Permalink
fix: set proper workspace repo urls in package.json (#4476)
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb authored Mar 2, 2022
1 parent 2b8f51e commit 0cfc155
Show file tree
Hide file tree
Showing 13 changed files with 38 additions and 13 deletions.
3 changes: 2 additions & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
},
"repository": {
"type": "git",
"url": "https://github.com/npm/cli"
"url": "https://github.com/npm/cli",
"directory": "workspaces/docs"
},
"devDependencies": {
"@mdx-js/mdx": "^1.6.22",
Expand Down
3 changes: 2 additions & 1 deletion workspaces/arborist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@
},
"repository": {
"type": "git",
"url": "https://github.com/npm/arborist"
"url": "https://github.com/npm/cli",
"directory": "workspaces/arborist"
},
"author": "GitHub Inc.",
"license": "ISC",
Expand Down
3 changes: 2 additions & 1 deletion workspaces/libnpmaccess/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
},
"repository": {
"type": "git",
"url": "https://github.com/npm/libnpmaccess.git"
"url": "https://github.com/npm/cli",
"directory": "workspaces/libnpmaccess"
},
"bugs": "https://github.com/npm/libnpmaccess/issues",
"homepage": "https://npmjs.com/package/libnpmaccess",
Expand Down
6 changes: 5 additions & 1 deletion workspaces/libnpmdiff/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"name": "libnpmdiff",
"version": "4.0.0",
"description": "The registry diff",
"repository": "https://github.com/npm/libnpmdiff",
"repository": {
"type": "git",
"url": "https://github.com/npm/cli",
"directory": "workspaces/libnpmdiff"
},
"main": "lib/index.js",
"files": [
"bin",
Expand Down
6 changes: 5 additions & 1 deletion workspaces/libnpmexec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
"node": "^12.13.0 || ^14.15.0 || >=16"
},
"description": "npm exec (npx) programmatic API",
"repository": "https://github.com/npm/libnpmexec",
"repository": {
"type": "git",
"url": "https://github.com/npm/cli",
"directory": "workspaces/libnpmexec"
},
"keywords": [
"npm",
"npmcli",
Expand Down
6 changes: 5 additions & 1 deletion workspaces/libnpmfund/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
"lib"
],
"description": "Programmatic API for npm fund",
"repository": "https://github.com/npm/libnpmfund",
"repository": {
"type": "git",
"url": "https://github.com/npm/cli",
"directory": "workspaces/libnpmfund"
},
"keywords": [
"npm",
"npmcli",
Expand Down
6 changes: 5 additions & 1 deletion workspaces/libnpmhook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@
"tap": {
"check-coverage": true
},
"repository": "https://github.com/npm/libnpmhook",
"repository": {
"type": "git",
"url": "https://github.com/npm/cli",
"directory": "workspaces/libnpmhook"
},
"keywords": [
"npm",
"hooks",
Expand Down
3 changes: 2 additions & 1 deletion workspaces/libnpmorg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
},
"repository": {
"type": "git",
"url": "https://github.com/npm/libnpmorg.git"
"url": "https://github.com/npm/cli",
"directory": "workspaces/libnpmorg"
},
"bugs": "https://github.com/npm/libnpmorg/issues",
"homepage": "https://npmjs.com/package/libnpmorg",
Expand Down
3 changes: 2 additions & 1 deletion workspaces/libnpmpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
},
"repository": {
"type": "git",
"url": "https://github.com/npm/libnpmpack.git"
"url": "https://github.com/npm/cli",
"directory": "workspaces/libnpmpack"
},
"bugs": "https://github.com/npm/libnpmpack/issues",
"homepage": "https://npmjs.com/package/libnpmpack",
Expand Down
3 changes: 2 additions & 1 deletion workspaces/libnpmpublish/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
},
"repository": {
"type": "git",
"url": "https://github.com/npm/cli.git"
"url": "https://github.com/npm/cli",
"directory": "workspaces/libnpmpublish"
},
"bugs": "https://github.com/npm/cli/issues",
"homepage": "https://npmjs.com/package/libnpmpublish",
Expand Down
3 changes: 2 additions & 1 deletion workspaces/libnpmsearch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
},
"repository": {
"type": "git",
"url": "https://github.com/npm/libnpmsearch.git"
"url": "https://github.com/npm/cli",
"directory": "workspaces/libnpmsearch"
},
"bugs": "https://github.com/npm/libnpmsearch/issues",
"homepage": "https://npmjs.com/package/libnpmsearch",
Expand Down
3 changes: 2 additions & 1 deletion workspaces/libnpmteam/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
},
"repository": {
"type": "git",
"url": "https://github.com/npm/libnpmteam.git"
"url": "https://github.com/npm/cli",
"directory": "workspaces/libnpmteam"
},
"files": [
"bin",
Expand Down
3 changes: 2 additions & 1 deletion workspaces/libnpmversion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"description": "library to do the things that 'npm version' does",
"repository": {
"type": "git",
"url": "git+https://github.com/npm/libnpmversion"
"url": "https://github.com/npm/cli",
"directory": "workspaces/libnpmversion"
},
"author": "GitHub Inc.",
"license": "ISC",
Expand Down

0 comments on commit 0cfc155

Please sign in to comment.