Antoine du Hamel
addf455f74
chore: bump dev dependencies ( #346 )
2023-12-29 23:45:32 +01:00
Medhansh
518bed8b7d
fix: clarify `EACCES` errors ( #343 )
2023-12-29 23:39:52 +01:00
Maël Nison
9bee415081
feat: add support for rangeless commands ( #338 )
...
This diff makes it possible to run the CLI commands without an explicit range, in which case we use an implicit `*`, e.g.: `corepack install -g yarn`.
2023-12-29 13:00:38 +01:00
Maël Nison
0717c6af89
feat(yarn): fallback to npm when `COREPACK_NPM_REGISTRY` is set ( #339 )
...
Yarn publishing its versions on its own was inconvenient for people using private npm mirrors, so it makes sense to offer a way to fallback to the npm store when requested. This diff changes the logic so that we use the `@yarnpkg/cli-dist` package when the `COREPACK_NPM_REGISTRY` variable is set. It should be backward-compatible, since the `registry` field is still the same.
2023-12-29 12:28:27 +01:00
Antoine du Hamel
adcd989ca4
chore(ci): test on Node.js 21.x ( #344 )
2023-12-29 12:16:34 +01:00
guibwl
6df5063b14
feat: add support for HTTP redirect ( #341 )
...
Corepack will now follow the `Location` header when receiving a 30x HTTP status code. This should allow Corepack to work with proxies that redirect to a different URL.
2023-12-29 12:15:57 +01:00
Maël Nison
e8ae337022
Switches Yarn to the "aliases" field ( #340 )
2023-12-20 20:58:36 +01:00
github-actions[bot]
b7aa57644c
chore(main): release 0.23.0 ( #327 )
2023-11-05 10:40:10 +00:00
github-actions[bot]
450cd332d0
feat: update package manager versions ( #325 )
2023-11-05 10:29:19 +00:00
github-actions[bot]
0e89bfa851
chore(main): release 0.22.0 ( #320 )
2023-10-21 17:58:26 +00:00
Antoine du Hamel
2b5f6b7c53
chore: upgrade outdated dependencies ( #322 )
...
- `esbuild`: 0.17.19 -> 0.19.5
- `which`: 3.x -> 4.x
- ESlint plugins
2023-10-21 18:16:20 +02:00
Antoine du Hamel
9583583767
chore: bump npm dependencies ( #321 )
2023-10-20 10:02:58 +00:00
dependabot[bot]
bd5fcb5360
build(deps): bump @babel/traverse from 7.21.5 to 7.23.2 ( #319 )
...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse ) from 7.21.5 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse )
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-20 11:49:19 +02:00
github-actions[bot]
0bd2577bb4
feat: update package manager versions ( #318 )
2023-10-20 08:29:28 +00:00
Michael Stramel
92f8e71f8c
feat: allow fallback to application/json for custom registries ( #314 )
2023-10-19 16:36:02 +02:00
Kristoffer K
2533d12887
test: check that a semver version is required ( #312 )
2023-10-09 00:33:54 +02:00
github-actions[bot]
adf2e7aa15
chore(main): release 0.21.0 ( #310 )
2023-10-08 09:53:36 +02:00
github-actions[bot]
503e135878
feat: update package manager versions ( #297 )
2023-10-08 07:14:49 +00:00
Antoine du Hamel
6d3992811a
chore(ci): update the version of Node.js used to update Nock files ( #311 )
2023-10-06 10:23:38 +00:00
Antoine du Hamel
787e24df60
chore: update supported Node.js versions ( #309 )
...
BREAKING CHANGE: remove support for Node.js 16.x
2023-09-15 10:42:51 +02:00
Kristoffer K
c085753286
chore: update Yarn ( #308 )
2023-09-11 23:47:06 +02:00
Steven
cc33de0a5a
chore: update test to handle case when env var is set ( #304 )
...
* chore: update test to handle case when env var is set
- Fixes https://github.com/nodejs/corepack/issues/303
* revert
* delete env vars in setupTests.js
* remove newline
2023-09-04 17:09:55 +02:00
github-actions[bot]
2bf76c9e29
chore(main): release 0.20.0 ( #289 )
2023-08-29 15:37:54 +00:00
github-actions[bot]
be9c286846
feat: update package manager versions ( #292 )
2023-08-28 22:28:49 +00:00
Maël Nison
fe3e5cd86c
Refactoring of the CLI interface ( #291 )
...
* Refactoring of the CLI interface
* Updates the Nock snapshots
* Regenerates the Nock files on Node 16
* Update README.md
* Adds --cache-only to corepack install -g
* Fixes hash generation
2023-08-28 22:01:48 +02:00
github-actions[bot]
b8a4a52931
feat: update package manager versions ( #282 )
2023-07-28 14:32:00 +00:00
Antoine du Hamel
b3408446e7
chore: remove `vm2` from dev dependencies ( #284 )
2023-07-20 12:52:52 +02:00
dependabot[bot]
8593425454
build(deps): bump word-wrap from 1.2.3 to 1.2.4 ( #287 )
...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap ) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases )
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4 )
---
updated-dependencies:
- dependency-name: word-wrap
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 09:11:32 +00:00
Rich Trott
98338b3469
chore: update dev dependency proxy-agent to 6.2.2 ( #283 )
...
This is to update the indirect vm2 dependency and resolve some
dependabot alerts.
2023-07-13 17:50:18 -07:00
dependabot[bot]
6090fe7cbe
build(deps-dev): bump semver from 7.5.1 to 7.5.2 ( #281 )
...
Bumps [semver](https://github.com/npm/node-semver ) from 7.5.1 to 7.5.2.
- [Release notes](https://github.com/npm/node-semver/releases )
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md )
- [Commits](https://github.com/npm/node-semver/compare/v7.5.1...v7.5.2 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-13 13:50:51 -07:00
github-actions[bot]
db9b7e6982
chore(main): release 0.19.0 ( #278 )
2023-06-24 16:55:08 +00:00
github-actions[bot]
4188f2b467
feat: update package manager versions ( #280 )
2023-06-24 14:58:48 +00:00
Kristoffer K
be2489cd0a
feat: support ESM ( #270 )
2023-06-13 17:18:46 +02:00
github-actions[bot]
5956d95fc3
chore(main): release 0.18.1 ( #269 )
2023-06-13 12:56:03 +00:00
github-actions[bot]
53457747a2
feat: update package manager versions ( #272 )
2023-06-13 12:30:48 +00:00
Kristoffer K
2f3678cd79
fix: disable `v8-compile-cache` when using `npm@>=9.7.0` ( #276 )
...
Node.js segfaults when using `npm@>=9.7.0` and `v8-compile-cache`
```console
$ docker run -it node:20.3.0-slim corepack npm@9.7.1 --version
[SIGSEGV]
```
2023-06-13 11:35:21 +02:00
Kristoffer K
17d1f3dd41
fix: don't override `process.exitCode` ( #268 )
...
* fix: don't override exit codes
* chore: update nock files
2023-05-24 00:31:58 +02:00
Spencer Kaiser
321180492d
doc: update DNS troubleshooting section to mention IPv6 ( #263 )
2023-05-19 10:43:24 +00:00
github-actions[bot]
091352acf4
chore(main): release 0.18.0 ( #262 )
2023-05-19 12:28:36 +02:00
Antoine du Hamel
7e364adf0e
chore(ci): add whole package archive to GH release ( #267 )
2023-05-19 10:11:58 +00:00
github-actions[bot]
7b61ff6bc7
feat: update package manager versions ( #256 )
2023-05-19 09:54:17 +00:00
Antoine du Hamel
863e0e0a50
chore(deps): upgrade all npm dependencies ( #266 )
2023-05-19 09:37:31 +00:00
Antoine du Hamel
74f679d8a7
chore: update supported Node.js versions ( #258 )
...
BREAKING CHANGE: remove support for Node.js 14.x
2023-05-19 10:29:33 +02:00
Antoine du Hamel
c94c4003fd
chore(ci): add prebuilt executable to GitHub release ( #243 )
2023-05-19 10:17:18 +02:00
Antoine du Hamel
d5ef940ec5
chore(docs): document how to use aliases instead of jumper binaries ( #244 )
...
Co-authored-by: Kristoffer K. <merceyz@users.noreply.github.com>
2023-05-19 10:16:48 +02:00
Kristoffer K
df89e38200
refactor: separate library and cli entry point ( #250 )
2023-05-19 10:08:16 +02:00
tison
25fa62354b
chore: report URL on `fetchUrlStream` error message ( #261 )
2023-04-29 13:00:31 -04:00
Spencer Kaiser
aa3cbdb54f
fix(doc): add a note about troubleshooting network errors ( #259 )
...
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2023-04-29 14:02:40 +02:00
github-actions[bot]
f539ae22e6
chore(main): release 0.17.2 ( #254 )
2023-04-07 12:42:08 +02:00
github-actions[bot]
2507e9b317
feat: update package manager versions ( #249 )
2023-04-07 12:32:36 +02:00