github-actions[bot]
49ad33428b
chore(main): release 0.25.1 ( #381 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-20 14:33:47 +00:00
Kristoffer K
f2185fefa1
fix: use valid semver range for `engines.node` ( #378 )
2024-02-20 11:50:39 +01:00
github-actions[bot]
616893819e
chore(main): release 0.25.0 ( #369 )
2024-02-20 09:12:58 +01:00
Antoine du Hamel
4a8ce6d42f
feat: add support for URL in `"packageManager"` ( #359 )
2024-02-20 09:11:52 +01:00
Antoine du Hamel
d9c70b91f6
feat!: remove `--all` flag ( #351 )
...
Force users to opt-in into the package managers they want to support.
As more and more package managers are added to Corepack, it's more and
more unlikely that our users will be interested in _all_ the package
managers Corepack supports, and it is unreasonable to expect Corepack
maintainers would be able to perform security audits.
2024-02-17 01:35:11 +01:00
dependabot[bot]
9066ea7995
build(deps-dev): bump undici from 6.4.0 to 6.6.1 ( #376 )
...
Bumps [undici](https://github.com/nodejs/undici ) from 6.4.0 to 6.6.1.
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v6.4.0...v6.6.1 )
---
updated-dependencies:
- dependency-name: undici
dependency-type: direct:development
...
2024-02-16 16:29:22 +00:00
Antoine du Hamel
9a1cb385bb
chore!: remove Node.js 19.x from the range of supported versions ( #375 )
...
We do not support EOL versions.
2024-02-16 15:55:08 +00:00
Antoine du Hamel
f442366c1c
feat: add `corepack cache` command ( #363 )
2024-02-12 23:40:32 +00:00
Antoine du Hamel
12f1c31a0d
chore(tests): use separate envs for each tests ( #371 )
2024-02-12 22:33:51 +00:00
Kristoffer K
fe6a3072f6
feat!: use `fetch` ( #365 )
...
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2024-02-11 23:52:38 +01:00
Kristoffer K
65880cafed
fix: remove unsafe remove of install folder ( #372 )
...
* fix: remove unsafe remove of install folder
* test: update to use folderUtils
* perf: skip `existsSync` check
2024-02-11 21:13:45 +01:00
Kristoffer K
54e9510cda
feat!: remove old install folder migration ( #373 )
2024-02-10 00:52:18 +01:00
Antoine du Hamel
b9eea589b4
chore(tests): add test that validates download warning is shown ( #370 )
2024-01-30 23:46:38 +00:00
Antoine du Hamel
a56c13bd0b
feat: bump Known Good Release when downloading new version ( #364 )
2024-01-30 22:51:09 +00:00
Antoine du Hamel
6b8d87f237
feat!: prompt user before downloading software ( #360 )
2024-01-30 23:38:33 +01:00
Antoine du Hamel
c2a6e4f313
chore(ci): bump actions and add dependabot config ( #367 )
2024-01-30 18:20:08 +00:00
Antoine du Hamel
4eb1fd92fb
chore(tests): increase timeout to get more green on Windows CI ( #366 )
...
For some reason this test times out quite frequently on Windows CI.
Hopefully if we give it more time to succeed, and we won't need to
restart Windows CI as often.
2024-01-30 18:55:55 +01:00
github-actions[bot]
a3f271cdf0
chore(main): release 0.24.1 ( #353 )
2024-01-13 09:08:58 +00:00
github-actions[bot]
cc3ada73bc
feat: update package manager versions ( #348 )
2024-01-13 01:04:10 +00:00
Antoine du Hamel
2950a8a30b
fix(use): create `package.json` when calling `corepack use` on empty dir ( #350 )
...
Co-authored-by: Maël Nison <nison.mael@gmail.com>
2024-01-12 18:52:39 +01:00
github-actions[bot]
9bdd2960ce
chore(main): release 0.24.0 ( #345 )
2023-12-29 23:21:49 +00:00
github-actions[bot]
cfcc28047a
feat: update package manager versions ( #330 )
2023-12-29 23:48:14 +01:00
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