From 57ebebf03d55d4eda2b6439149a97b595a191aaf Mon Sep 17 00:00:00 2001 From: Gar Date: Thu, 25 Apr 2024 13:22:26 -0700 Subject: [PATCH] fix: update repository.url in package.json (#7418) This is what npm changes it do during publish anyways --- docs/package.json | 2 +- mock-globals/package.json | 2 +- mock-registry/package.json | 2 +- package.json | 2 +- smoke-tests/package.json | 2 +- workspaces/arborist/package.json | 2 +- workspaces/config/package.json | 2 +- workspaces/libnpmaccess/package.json | 2 +- workspaces/libnpmdiff/package.json | 2 +- workspaces/libnpmexec/package.json | 2 +- workspaces/libnpmfund/package.json | 2 +- workspaces/libnpmhook/package.json | 2 +- workspaces/libnpmorg/package.json | 2 +- workspaces/libnpmpack/package.json | 2 +- workspaces/libnpmpublish/package.json | 2 +- workspaces/libnpmsearch/package.json | 2 +- workspaces/libnpmteam/package.json | 2 +- workspaces/libnpmversion/package.json | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) diff --git a/docs/package.json b/docs/package.json index 95b96ce20ff08..5dd5904cf5636 100644 --- a/docs/package.json +++ b/docs/package.json @@ -16,7 +16,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/npm/cli.git", + "url": "git+https://github.com/npm/cli.git", "directory": "docs" }, "devDependencies": { diff --git a/mock-globals/package.json b/mock-globals/package.json index dfa33c0638018..778d324fd3d32 100644 --- a/mock-globals/package.json +++ b/mock-globals/package.json @@ -15,7 +15,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/npm/cli.git", + "url": "git+https://github.com/npm/cli.git", "directory": "mock-globals" }, "keywords": [], diff --git a/mock-registry/package.json b/mock-registry/package.json index eaa6b63e77ad8..3e6979dc3f42c 100644 --- a/mock-registry/package.json +++ b/mock-registry/package.json @@ -15,7 +15,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/npm/cli.git", + "url": "git+https://github.com/npm/cli.git", "directory": "mock-registry" }, "keywords": [], diff --git a/package.json b/package.json index 29ac300c41250..09d8817304a74 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "author": "GitHub Inc.", "repository": { "type": "git", - "url": "https://github.com/npm/cli.git" + "url": "git+https://github.com/npm/cli.git" }, "bugs": { "url": "https://github.com/npm/cli/issues" diff --git a/smoke-tests/package.json b/smoke-tests/package.json index 85b33edeb8b94..1fe8f63819d36 100644 --- a/smoke-tests/package.json +++ b/smoke-tests/package.json @@ -14,7 +14,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/npm/cli.git", + "url": "git+https://github.com/npm/cli.git", "directory": "smoke-tests" }, "devDependencies": { diff --git a/workspaces/arborist/package.json b/workspaces/arborist/package.json index a8eec08783ddf..4b089fd967b3a 100644 --- a/workspaces/arborist/package.json +++ b/workspaces/arborist/package.json @@ -62,7 +62,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/npm/cli.git", + "url": "git+https://github.com/npm/cli.git", "directory": "workspaces/arborist" }, "author": "GitHub Inc.", diff --git a/workspaces/config/package.json b/workspaces/config/package.json index 140640587339d..380b9ceb35864 100644 --- a/workspaces/config/package.json +++ b/workspaces/config/package.json @@ -9,7 +9,7 @@ "description": "Configuration management for the npm cli", "repository": { "type": "git", - "url": "https://github.com/npm/cli.git", + "url": "git+https://github.com/npm/cli.git", "directory": "workspaces/config" }, "author": "GitHub Inc.", diff --git a/workspaces/libnpmaccess/package.json b/workspaces/libnpmaccess/package.json index 75f164048c412..5c925784f0cab 100644 --- a/workspaces/libnpmaccess/package.json +++ b/workspaces/libnpmaccess/package.json @@ -23,7 +23,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/npm/cli.git", + "url": "git+https://github.com/npm/cli.git", "directory": "workspaces/libnpmaccess" }, "bugs": "https://github.com/npm/libnpmaccess/issues", diff --git a/workspaces/libnpmdiff/package.json b/workspaces/libnpmdiff/package.json index 5ae0e86e7aba0..3069fa118a623 100644 --- a/workspaces/libnpmdiff/package.json +++ b/workspaces/libnpmdiff/package.json @@ -4,7 +4,7 @@ "description": "The registry diff", "repository": { "type": "git", - "url": "https://github.com/npm/cli.git", + "url": "git+https://github.com/npm/cli.git", "directory": "workspaces/libnpmdiff" }, "main": "lib/index.js", diff --git a/workspaces/libnpmexec/package.json b/workspaces/libnpmexec/package.json index ec90878667520..89cd0a35bdbbd 100644 --- a/workspaces/libnpmexec/package.json +++ b/workspaces/libnpmexec/package.json @@ -12,7 +12,7 @@ "description": "npm exec (npx) programmatic API", "repository": { "type": "git", - "url": "https://github.com/npm/cli.git", + "url": "git+https://github.com/npm/cli.git", "directory": "workspaces/libnpmexec" }, "keywords": [ diff --git a/workspaces/libnpmfund/package.json b/workspaces/libnpmfund/package.json index 84363d55efdb5..450d331d88fea 100644 --- a/workspaces/libnpmfund/package.json +++ b/workspaces/libnpmfund/package.json @@ -9,7 +9,7 @@ "description": "Programmatic API for npm fund", "repository": { "type": "git", - "url": "https://github.com/npm/cli.git", + "url": "git+https://github.com/npm/cli.git", "directory": "workspaces/libnpmfund" }, "keywords": [ diff --git a/workspaces/libnpmhook/package.json b/workspaces/libnpmhook/package.json index dde9aed6eb7f1..a2adca517cc96 100644 --- a/workspaces/libnpmhook/package.json +++ b/workspaces/libnpmhook/package.json @@ -18,7 +18,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/npm/cli.git", + "url": "git+https://github.com/npm/cli.git", "directory": "workspaces/libnpmhook" }, "keywords": [ diff --git a/workspaces/libnpmorg/package.json b/workspaces/libnpmorg/package.json index b41689ba765fe..ce206c626ce68 100644 --- a/workspaces/libnpmorg/package.json +++ b/workspaces/libnpmorg/package.json @@ -35,7 +35,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/npm/cli.git", + "url": "git+https://github.com/npm/cli.git", "directory": "workspaces/libnpmorg" }, "bugs": "https://github.com/npm/libnpmorg/issues", diff --git a/workspaces/libnpmpack/package.json b/workspaces/libnpmpack/package.json index 0f0e2e328d535..d25029101ef39 100644 --- a/workspaces/libnpmpack/package.json +++ b/workspaces/libnpmpack/package.json @@ -30,7 +30,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/npm/cli.git", + "url": "git+https://github.com/npm/cli.git", "directory": "workspaces/libnpmpack" }, "bugs": "https://github.com/npm/libnpmpack/issues", diff --git a/workspaces/libnpmpublish/package.json b/workspaces/libnpmpublish/package.json index 0376bb359c7fd..0c3a38c566f64 100644 --- a/workspaces/libnpmpublish/package.json +++ b/workspaces/libnpmpublish/package.json @@ -32,7 +32,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/npm/cli.git", + "url": "git+https://github.com/npm/cli.git", "directory": "workspaces/libnpmpublish" }, "bugs": "https://github.com/npm/cli/issues", diff --git a/workspaces/libnpmsearch/package.json b/workspaces/libnpmsearch/package.json index b9e29322c3301..7c7261a7b848e 100644 --- a/workspaces/libnpmsearch/package.json +++ b/workspaces/libnpmsearch/package.json @@ -32,7 +32,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/npm/cli.git", + "url": "git+https://github.com/npm/cli.git", "directory": "workspaces/libnpmsearch" }, "bugs": "https://github.com/npm/libnpmsearch/issues", diff --git a/workspaces/libnpmteam/package.json b/workspaces/libnpmteam/package.json index e882a86c27c6d..a7943acb5e7ae 100644 --- a/workspaces/libnpmteam/package.json +++ b/workspaces/libnpmteam/package.json @@ -22,7 +22,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/npm/cli.git", + "url": "git+https://github.com/npm/cli.git", "directory": "workspaces/libnpmteam" }, "files": [ diff --git a/workspaces/libnpmversion/package.json b/workspaces/libnpmversion/package.json index 7ec3866703b98..5a504acb237ad 100644 --- a/workspaces/libnpmversion/package.json +++ b/workspaces/libnpmversion/package.json @@ -9,7 +9,7 @@ "description": "library to do the things that 'npm version' does", "repository": { "type": "git", - "url": "https://github.com/npm/cli.git", + "url": "git+https://github.com/npm/cli.git", "directory": "workspaces/libnpmversion" }, "author": "GitHub Inc.",