Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update package manager versions #348

Merged
merged 4 commits into from
Jan 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"definitions": {
"npm": {
"default": "10.2.5+sha1.ef86b9aafd9965e60814ed11a3d4fb00a4e3b006",
"default": "10.3.0+sha1.554e1f13e4c09d581ad27cdc4a92f085ab74ce1a",
"fetchLatestFrom": {
"type": "npm",
"package": "npm"
Expand Down Expand Up @@ -38,7 +38,7 @@
}
},
"pnpm": {
"default": "8.13.1+sha1.90f9b2bb3ed58632bcb7b13c3902d6873ee9501c",
"default": "8.14.1+sha1.d039b38e0b20ad012ed548e44267b8d4c88b447a",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this config still used?

I thought that corepack doesn't pin the global version of package managers anymore and instead fetches the latest?

Copy link
Contributor

@aduh95 aduh95 Jan 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's used when the environment has disabled the auto lookup:

corepack/README.md

Lines 222 to 224 in 9bee415

- `COREPACK_DEFAULT_TO_LATEST` can be set to `0` in order to instruct Corepack
not to lookup on the remote registry for the latest version of the selected
package manager.

"fetchLatestFrom": {
"type": "npm",
"package": "pnpm"
Expand Down
Binary file modified tests/nock/4IfgwoxNR5JV5bBojS26Kg-2.dat
Binary file not shown.
Binary file modified tests/nock/4IfgwoxNR5JV5bBojS26Kg-3.dat
Binary file not shown.
Binary file modified tests/nock/AL__3okpCdfjA6kGuG2rFQ-1.dat
Binary file not shown.
Binary file modified tests/nock/VurwVdvlR5Rs7xQVs9UCVw-1.dat
Binary file not shown.
Binary file modified tests/nock/h9H6jL9ro_imv61YP24nGg-3.dat
Binary file not shown.
Binary file modified tests/nock/ypWhs6_VxInVlmWLHRm3FA-2.dat
Binary file not shown.
Loading