Antoine du Hamel
9b95b46f05
feat: add support for `.corepack.env` ( #642 )
2025-02-28 19:25:03 +00:00
Antoine du Hamel
b456268851
feat: add limited support for `devEngines` ( #643 )
2025-02-28 20:06:33 +01:00
Antoine du Hamel
4be72f6941
fix(use): do not throw on invalid `packageManager` ( #663 )
2025-02-28 19:20:09 +01:00
Antoine du Hamel
6019d7b56e
fix: make `DEBUG=corepack` more useful ( #538 )
2024-07-18 13:52:19 +02:00
Wojciech Maj
e7ad533d43
fix: selectively import required semver functions ( #511 )
...
By selectively importing only the functions and classes we use, we avoid bundling in the entire semver package, and shave a few kB off from the Corepack bundle.
2024-07-12 10:47:18 +02:00
Maël Nison
8b6c6d4b2b
feat: Pins the package manager as it's used for the first time ( #413 )
...
* feat: Pins the package manager as it's used for the first time
* Adds a warning when auto-pinning the package manager version
* Updates wording
2024-03-03 13:50:18 +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
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
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
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
Kenrick
5eadc50192
feat: when strict checking is off, treat like transparent ( #197 )
2022-10-24 17:06:47 +02:00
Antoine du Hamel
92b52f6b49
feat: add `COREPACK_ENABLE_STRICT` env variable ( #167 )
2022-09-01 10:13:16 +02:00
Antoine du Hamel
29da06c515
feat: add support for tags and ranges in `prepare` command ( #136 )
...
Fixes: https://github.com/nodejs/corepack/issues/72
2022-07-08 19:18:47 +02:00
Maël Nison
b77ed59321
Set of tweaks ( #38 )
...
* Inlines tar rather than move it as a separate vendor
* Updates network queries
2021-07-05 12:05:32 +02:00
Maël Nison
b8c9ec0f1f
Implements transparent commands ( #19 )
...
* Implements transparent commands
* Adds a test
* Removes enquirer
2020-09-30 12:22:38 +02:00
Maël Nison
de0bd5553f
Restricts to exact versions ( #18 )
2020-09-30 01:16:49 +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
Maël Nison
9809b8f856
Refactors pmm -> corepack
2020-09-27 00:51:52 +02:00
Maël Nison
fe40284501
Implements pack
2020-09-08 14:05:04 +02:00
Maël Nison
0985889458
Renames engines.pm into packageManager
2020-09-08 12:45:32 +02:00
Maël Nison
c43f3d7bda
Makes Y the default
2020-08-21 12:15:24 +02:00
Maël Nison
8c29576ca8
Refactors the code
2020-08-03 18:54:16 +02:00