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
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
github-actions[bot]
450cd332d0
feat: update package manager versions ( #325 )
2023-11-05 10:29:19 +00:00
github-actions[bot]
0bd2577bb4
feat: update package manager versions ( #318 )
2023-10-20 08:29:28 +00:00
Kristoffer K
2533d12887
test: check that a semver version is required ( #312 )
2023-10-09 00:33:54 +02:00
github-actions[bot]
503e135878
feat: update package manager versions ( #297 )
2023-10-08 07:14:49 +00: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]
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
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]
53457747a2
feat: update package manager versions ( #272 )
2023-06-13 12:30:48 +00: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
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
github-actions[bot]
2507e9b317
feat: update package manager versions ( #249 )
2023-04-07 12:32:36 +02:00
github-actions[bot]
673f3b7f18
feat: update package manager versions ( #245 )
2023-03-17 09:57:50 +01:00
github-actions[bot]
5141639af8
feat: update package manager versions ( #242 )
2023-02-24 18:30:08 +01:00
Antoine du Hamel
8e12d088de
fix!: add `"exports"` to the `package.json` ( #239 )
...
This commit adds an `"exports"` field to the `package.json` to make self-referencing imports work.
2023-02-23 10:15:20 +01:00
github-actions[bot]
bb000f9c10
feat: update package manager versions ( #228 )
2023-02-17 01:15:00 +01:00
Kristoffer K
82a6715702
chore: fix linting ( #223 )
...
* chore: fix linting
* chore: lint
2023-01-04 13:15:07 +01:00
github-actions[bot]
f84cfcb00f
feat: update package manager versions ( #215 )
2022-12-30 02:37:34 +01:00
github-actions[bot]
c536c0c27c
feat: update package manager versions ( #211 )
2022-11-25 10:49:08 +01:00
github-actions[bot]
b39e071410
chore(main): release 0.15.1 ( #206 )
2022-11-04 05:32:13 +01:00
Gamadril
7b5f2f9fcb
fix: recreate cache folder if necessary ( #200 )
...
Fixes: https://github.com/nodejs/corepack/issues/198
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2022-10-28 04:53:10 +02:00
Mike Scott
662ae9057c
feat: add support for configurable registries and applicable auth options ( #186 )
...
Fixes: https://github.com/nodejs/corepack/issues/66
2022-10-28 04:50:07 +02:00
github-actions[bot]
0ec3a73847
feat: update package manager versions ( #193 )
2022-10-28 04:30:11 +02:00
Kenrick
5eadc50192
feat: when strict checking is off, treat like transparent ( #197 )
2022-10-24 17:06:47 +02:00
github-actions[bot]
84ae3139e4
feat: update package manager versions ( #184 )
2022-09-24 15:07:46 +02:00
github-actions[bot]
0b88dcbaaf
feat: update package manager versions ( #179 )
2022-09-16 11:08:50 +02:00
Teppei Sato
f06e23d758
test: refactor with expect.stringMatching() ( #176 )
2022-09-04 11:17:42 +02:00
github-actions[bot]
6f70bfc4b6
feat: update package manager versions ( #170 )
2022-09-02 14:36:19 +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
c0df287a57
chore: reduce test flakiness ( #168 )
2022-09-01 11:44:17 +02:00
Antoine du Hamel
92b52f6b49
feat: add `COREPACK_ENABLE_STRICT` env variable ( #167 )
2022-09-01 10:13:16 +02:00
Kristoffer K
11d24f8565
test: wait for stdio streams of process to close ( #169 )
2022-08-24 18:48:41 +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
a79a7637d8
test: fix tests when default versions contain hashes ( #143 )
...
Refs: https://github.com/nodejs/corepack/pull/137
2022-07-09 01:10:50 +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
Kyle Herock
da3ed402d0
Fixes `corepack prepare` when no additional arguments are passed ( #99 )
...
* chore: update sdks
This fixes ZipFS paths in VSCode 1.66
* fix: `prepare` should infer the project packageManager version when no spec is passed
2022-05-15 10:42:46 +02:00
Antoine du Hamel
6c736c3950
chore: update dependencies, remove unused ones ( #100 )
...
* chore: update dependencies, remove unused ones
* fix types
* Updates snapshots
* Fixes prepack
* try with Node.js 16.x
* Update more packages
* Upgrade to Jest 28
* Bump other packages
* Bump other packages
* Use Node.js 14.19.2
* Revert "try with Node.js 16.x"
This reverts commit 45aa8a3a96 .
This reverts commit 4a275f68b6 .
* Use specific Node.js version
* trying something
* Pin exact Node.js version number
* Bump Jest to 28.1.0
* dist-upgrade
* Don't pin Node.js version when it's not necessary
* Update more dependencies
* Update more dependencies
* Revert "Pin exact Node.js version number"
This reverts commit dd72a68061 .
Co-authored-by: Maël Nison <nison.mael@gmail.com>
2022-05-15 10:35:13 +02:00
Paul Soporan
5ff6e82028
perf: load binaries in the same process ( #97 )
2022-04-08 00:07:29 +02:00
Maël Nison
1d41c48480
chore: auto-sync package manager versions ( #88 )
...
* chore: auto-sync package manager versions
* Disables nock
* Removes check for newline
2022-02-07 22:47:09 +01:00
Kristoffer K
5cfc6c9df0
fix: handle parallel installs ( #84 )
...
* fix: handle parallel installs
* build: skip unnecessary shims
2022-02-02 23:25:33 +01:00
Maël Nison
3b2961aaa8
Bump Yarn to 1.22.15 ( #58 )
...
* Update config.json
* Bumps to 1.22.15
2021-10-06 11:51:27 +02:00
Maël Nison
31dce75d0f
Makes the tests stable ( #60 )
...
* Makes the tests stable
* Removes debug
2021-10-06 11:21:40 +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
545f90f2b9
Updates the checked-in known good versions ( #40 )
...
* Updates the checked-in known good versions
* Bumps version
* Bumps Yarn
* Updates the http recordings
2021-07-27 11:09:12 +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