Skip to content

Commit

Permalink
fix: use a repository URL supported by npm (#6700)
Browse files Browse the repository at this point in the history
Refs:
https://docs.npmjs.com/cli/v11/configuring-npm/package-json#repository

## What's the problem this PR addresses?

<!-- Describe the rationale of your PR. -->
<!-- Link all issues that it closes. (Closes/Resolves #xxxx.) -->

The repository is not listed on
https://www.npmjs.com/package/@yarnpkg/fslib

...

## How did you fix it?

<!-- A detailed description of your implementation. -->

...

## Checklist

<!--- Don't worry if you miss something, chores are automatically
tested. -->
<!--- This checklist exists to help you remember doing the chores when
you submit a PR. -->
<!--- Put an `x` in all the boxes that apply. -->
- [ ] I have read the [Contributing
Guide](https://yarnpkg.com/advanced/contributing).

<!-- See
https://yarnpkg.com/advanced/contributing#preparing-your-pr-to-be-released
for more details. -->
<!-- Check with `yarn version check` and fix with `yarn version check
-i` -->
- [ ] I have set the packages that need to be released for my changes to
be effective.

<!-- The "Testing chores" workflow validates that your PR follows our
guidelines. -->
<!-- If it doesn't pass, click on it to see details as to what your PR
might be missing. -->
- [ ] I will check that all automated PR checks pass before the PR gets
reviewed.
  • Loading branch information
aduh95 authored Feb 24, 2025
1 parent b4fd677 commit 547a669
Show file tree
Hide file tree
Showing 48 changed files with 88 additions and 47 deletions.
41 changes: 41 additions & 0 deletions .yarn/versions/29bf8031.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
releases:
"@yarnpkg/builder": patch
"@yarnpkg/cli": patch
"@yarnpkg/core": patch
"@yarnpkg/doctor": patch
"@yarnpkg/eslint-config": patch
"@yarnpkg/extensions": patch
"@yarnpkg/fslib": patch
"@yarnpkg/libui": patch
"@yarnpkg/libzip": patch
"@yarnpkg/nm": patch
"@yarnpkg/parsers": patch
"@yarnpkg/plugin-compat": patch
"@yarnpkg/plugin-constraints": patch
"@yarnpkg/plugin-dlx": patch
"@yarnpkg/plugin-essentials": patch
"@yarnpkg/plugin-exec": patch
"@yarnpkg/plugin-file": patch
"@yarnpkg/plugin-git": patch
"@yarnpkg/plugin-github": patch
"@yarnpkg/plugin-http": patch
"@yarnpkg/plugin-init": patch
"@yarnpkg/plugin-interactive-tools": patch
"@yarnpkg/plugin-link": patch
"@yarnpkg/plugin-nm": patch
"@yarnpkg/plugin-npm": patch
"@yarnpkg/plugin-npm-cli": patch
"@yarnpkg/plugin-pack": patch
"@yarnpkg/plugin-patch": patch
"@yarnpkg/plugin-pnp": patch
"@yarnpkg/plugin-pnpm": patch
"@yarnpkg/plugin-stage": patch
"@yarnpkg/plugin-typescript": patch
"@yarnpkg/plugin-version": patch
"@yarnpkg/plugin-workspace-tools": patch
"@yarnpkg/pnp": patch
"@yarnpkg/pnpify": patch
"@yarnpkg/sdks": patch
"@yarnpkg/shell": patch
"@yarnpkg/types": patch
vscode-zipfs: patch
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "."
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/acceptance-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/acceptance-tests"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/acceptance-tests/pkg-tests-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/acceptance-tests/pkg-tests-core"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/acceptance-tests/pkg-tests-fixtures/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/acceptance-tests/pkg-tests-fixtures"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/acceptance-tests/pkg-tests-specs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/acceptance-tests/pkg-tests-specs"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,6 @@
"repository": {
"directory": "packages/docusaurus",
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git"
"url": "git+https://github.com/yarnpkg/berry.git"
}
}
2 changes: 1 addition & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/eslint-config"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/plugin-compat"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-constraints/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"license": "BSD-2-Clause",
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/plugin-constraints"
},
"main": "./sources/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-dlx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/plugin-dlx"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-essentials/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/plugin-essentials"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-exec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/plugin-exec"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-file/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/plugin-file"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-git/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/plugin-git"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-github/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/plugin-github"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/plugin-http"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-init/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/plugin-init"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-interactive-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/plugin-interactive-tools"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-link/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/plugin-link"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-nm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/plugin-nm"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-npm-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/plugin-npm-cli"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-npm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/plugin-npm"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-pack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/plugin-pack"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-patch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/plugin-patch"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-pnp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/plugin-pnp"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-pnpm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/plugin-pnpm"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-stage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/plugin-stage"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/plugin-typescript"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-version/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/plugin-version"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-workspace-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/plugin-workspace-tools"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/vscode-zipfs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/vscode-zipfs"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/yarnpkg-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
],
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/yarnpkg-builder"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/yarnpkg-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/yarnpkg-cli"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/yarnpkg-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
],
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/yarnpkg-core"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/yarnpkg-doctor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
],
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/yarnpkg-doctor"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/yarnpkg-extensions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/yarnpkg-extensions"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/yarnpkg-fslib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
],
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/yarnpkg-fslib"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/yarnpkg-libui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/yarnpkg-libui"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/yarnpkg-libzip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
],
"repository": {
"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/yarnpkg-libzip"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit 547a669

Please sign in to comment.