zhyupe
47be27c9db
fix: improve support for `COREPACK_NPM_REGISTRY` with Yarn Berry ( #396 )
2024-02-27 10:55:04 +01:00
Antoine du Hamel
9834f5790a
fix: do not hard fail if Corepack home folder cannot be created ( #382 )
2024-02-21 04:15:14 +01:00
Antoine du Hamel
4a8ce6d42f
feat: add support for URL in `"packageManager"` ( #359 )
2024-02-20 09:11:52 +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
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
addf455f74
chore: bump dev dependencies ( #346 )
2023-12-29 23:45:32 +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
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
Teppei Sato
5a0727b439
fix: handle tags including numbers in `prepare` command ( #165 )
...
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2022-09-01 20:24:03 +02:00
Antoine du Hamel
055b92807f
feat: download the latest version instead of a pinned one ( #134 )
...
Fixes: https://github.com/nodejs/corepack/issues/93
2022-08-19 23:53:18 +02:00
Antoine du Hamel
6a480a72c2
feat: add support for hash checking ( #133 )
...
Fixes: https://github.com/nodejs/corepack/issues/37
Co-authored-by: Maël Nison <nison.mael@gmail.com>
2022-07-09 00:42:16 +02:00
Paul Soporan
5ff6e82028
perf: load binaries in the same process ( #97 )
2022-04-08 00:07:29 +02:00
Jonah Snider
328ee1ff83
Update references of pmm to Corepack ( #59 )
...
* docs: rename pmm -> Corepack
* build: use nodejs/corepack repo instead of arcanis/pmm
* refactor: rename TS source pmm -> Corepack
* docs: fix spelling error
2021-10-06 11:53:05 +02:00
Maël Nison
d6e3e652ed
Makes it possible to call arbitrary package manager versions from the Corepack CLI ( #47 )
2021-08-15 20:05:04 +02:00
Maël Nison
a11e796f7f
Adds support for executing arbitrary versions of packages managers ( #39 )
2021-07-05 22:11:23 +02:00
Maël Nison
ee2d45de0d
Modernize the dependencies ( #36 )
...
* Upgrade dependencies
* Uses a more recent Yarn version as jumper
* Linting
* Fixes Nock recordings
* Replaces git tags by urls
* Updates nock records
2021-05-31 14:35:56 +02:00
Kristoffer K
2a46b6d13a
fix: handle prereleases ( #32 )
2021-05-21 15:19:36 +02:00
Maël Nison
1a3db689dc
Implements enable / disable ( #11 )
...
* Implements enable / disable
* Adds tests
* Debugs GH-only crash
* Fixes CI by running the build beforehand
* Fixes build
2020-09-30 00:23:24 +02:00
Kristoffer K
b56df30796
fix: avoid symlinks to work on Windows ( #13 )
2020-09-30 00:02:59 +02:00
Maël Nison
9809b8f856
Refactors pmm -> corepack
2020-09-27 00:51:52 +02:00
Maël Nison
8c29576ca8
Refactors the code
2020-08-03 18:54:16 +02:00