Antoine du Hamel
dece8891bb
chore(ci): pass `NPM_TOKEN` to `npm publish` step ( #527 )
2024-07-13 08:07:47 +00:00
github-actions[bot]
aa6fd836f2
chore(main): release 0.29.0 ( #525 )
2024-07-13 00:30:06 +02:00
Antoine du Hamel
d2e813e44d
chore: bump Yarn to 4.3.1 and npm deps ( #526 )
2024-07-12 23:48:04 +02:00
github-actions[bot]
3e3b04619c
feat: update package manager versions ( #492 )
2024-07-12 12:59:07 +00:00
Wojciech Maj
1828961d81
chore: publish to npm with `--provenance` ( #520 )
...
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2024-07-12 12:43:52 +00:00
Wojciech Maj
932bd4edb9
chore: replace `ts-node` with `tsx` ( #518 )
2024-07-12 14:42:57 +02:00
Wojciech Maj
f0734e6e80
feat: parallelize linking, unlinking and installing ( #524 )
2024-07-12 12:42:41 +00:00
Wojciech Maj
c01af88a87
chore: bump esbuild from 0.19.x to 0.21.x ( #517 )
2024-07-12 09:07:35 +00:00
Wojciech Maj
0cc6c866ee
chore(ci): test on Node.js 22.x ( #519 )
...
With Node.js 22 quickly getting closer to LTS, we should be testing Corepack using it.
2024-07-12 10:53:43 +02:00
Wojciech Maj
4f3e28fcf0
chore: use renameSafe where applicable ( #515 )
2024-07-12 10:48:51 +02:00
Wojciech Maj
d3d7780193
chore: bump better-sqlite3 to 10.x ( #513 )
...
Why bump from 9.x:
better-sqlite3 v9 fails to install on Node.js 22, which as an upcoming LTS version is likely going to become a primary development tool for contributors.
Why bump to 10.x and not 11.x:
better-sqlite3 v11 drops support for Node.js 21.
2024-07-12 10:47:58 +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
dependabot[bot]
004c0289cb
build(deps-dev): bump undici from 6.18.2 to 6.19.2 ( #509 )
...
Bumps [undici](https://github.com/nodejs/undici ) from 6.18.2 to 6.19.2.
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v6.18.2...v6.19.2 )
---
updated-dependencies:
- dependency-name: undici
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-12 10:43:39 +02:00
Antoine du Hamel
db6fae50cf
fix: replace npm registry domain in tarball URL ( #502 )
2024-07-12 10:43:09 +02:00
Wojciech Maj
56de2ed53e
chore: migrate to ESLint Flat Config ( #521 )
2024-07-12 10:42:33 +02:00
Wojciech Maj
22c58fc88b
Add .DS_Store to .gitignore ( #514 )
...
For macOS contributors, .DS_Store keeps appearing in diffs and prevents the use of `git add .`, which is a major pain in the butt when contributing.
2024-07-11 18:34:20 +02:00
liwakin
d4c5709f1c
chore: fix build script for Windows ( #501 )
...
Replace `rm -rf` with `node -e fs.rm` for cross-platform file deletion.
2024-06-13 20:52:10 +00:00
Antoine du Hamel
5b5f76ca14
chore: validate head of branch when running workflow on forks PRs ( #490 )
2024-06-09 00:45:35 +02:00
Antoine du Hamel
3da534695e
chore(ci): better check for Nocks changes ( #491 )
...
When there are no changes, asking Git to compare the db file directly
will always report change even though the actual data stored is the
same. Instead, we can compare a SQL dump to detect actual changes.
Co-authored-by: Kristoffer K. <merceyz@users.noreply.github.com>
2024-06-06 12:20:01 +00:00
github-actions[bot]
e1d8ffd775
chore(main): release 0.28.2 ( #488 )
2024-05-31 10:50:03 +00:00
Antoine du Hamel
7b8e33ac01
chore(tests): do not use outdated `fs.rmdir` API ( #487 )
2024-05-31 10:15:34 +00:00
github-actions[bot]
e1abb83241
feat: update package manager versions ( #481 )
2024-05-31 10:14:53 +00:00
Frieder Bluemle
09528a8ea8
chore: fix typos and add `.idea` to `.gitignore` ( #482 )
2024-05-17 06:20:17 +00:00
github-actions[bot]
119fd2f438
chore(main): release 0.28.1 ( #467 )
2024-05-10 08:36:11 +00:00
github-actions[bot]
985895bccb
feat: update package manager versions ( #469 )
2024-05-10 08:21:32 +00:00
Leonardo Rocha
f15ebc289e
feat: add support for `COREPACK_INTEGRITY_KEYS=0` ( #470 )
2024-05-10 10:05:26 +02:00
Alex Kessock
6efa349882
fix: COREPACK_NPM_REGISTRY should allow for username/password auth ( #466 )
2024-04-24 17:13:00 +02:00
github-actions[bot]
78781fa9e8
chore(main): release 0.28.0 ( #464 )
2024-04-20 19:58:38 +00:00
Kristoffer K
0f9b748640
fix!: call `executePackageManagerRequest` directly ( #430 )
...
* fix!: call `executePackageManagerRequest` directly
* Apply suggestions from code review
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* test: update assertions
---------
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2024-04-20 19:33:05 +02:00
github-actions[bot]
df1b773942
chore(main): release 0.27.0 ( #442 )
2024-04-19 08:24:15 +00:00
Antoine du Hamel
abe4cf6e56
chore: bump yarn version and npm deps ( #457 )
2024-04-19 08:10:05 +00:00
github-actions[bot]
56816c2b7e
feat: update package manager versions ( #462 )
2024-04-19 07:57:43 +00:00
Trivikram Kamat
a62cd7b977
docs: add link to OpenJS slack channel ( #461 )
2024-04-19 09:40:31 +02:00
stduhpf
e033b5f36c
chore(tests): handle windows path formatting more gracefully ( #460 )
2024-04-16 16:07:23 +02:00
Antoine du Hamel
32a93ea4f5
fix: add path to `package.json` in error message ( #456 )
2024-04-15 18:17:33 +00:00
github-actions[bot]
1423190564
feat: update package manager versions ( #425 )
2024-04-13 14:16:04 +00:00
Jakob Ackermann
c449adc818
feat: separate read and write operations on lastKnownGood.json ( #446 )
...
Also skip overwriting `lastKnownGood.json` with same content.
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2024-04-13 11:38:56 +00:00
dependabot[bot]
c800d3ecbe
build(deps-dev): bump tar from 6.2.0 to 6.2.1 ( #453 )
...
Bumps [tar](https://github.com/isaacs/node-tar ) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/isaacs/node-tar/releases )
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md )
- [Commits](https://github.com/isaacs/node-tar/compare/v6.2.0...v6.2.1 )
---
updated-dependencies:
- dependency-name: tar
dependency-type: direct:development
2024-04-12 23:10:50 +00:00
Antoine du Hamel
e561dd00bb
feat: verify integrity signature when downloading from npm registry ( #432 )
...
When the user has not provided any hash (so when running `corepack up`/`corepack use …`), and the package manager is downloaded from the npm registry, we can verify the signature.
BREAKING CHANGE: attempting to download a version from the npm registry (or a mirror) that was published using the now deprecated PGP signature without providing a hash will trigger an error. Users can disable the signature verification using a environment variable.
2024-04-12 22:49:11 +00:00
Gavin King
2d63536413
fix: Incorrect authorization prefix for basic auth, and undocumented env var ( #454 )
...
Co-authored-by: Gavin King <gavin.king@cgi.com>
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2024-04-12 23:28:11 +02:00
Antoine du Hamel
73d9a1e2d2
fix: correctly set `Dispatcher` prototype for `ProxyAgent` ( #451 )
...
In an attempt to bundle only a subset of Undici code, we forgot to take
some side-effect into account.
2024-04-12 23:27:26 +02:00
Steven
07b58cc65a
chore(docs): update readme to remove silently ( #455 )
2024-04-12 12:18:17 +02:00
zhyupe
467216281e
fix: hash check when downloading Yarn Berry from npm ( #439 )
...
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
Co-authored-by: Maël Nison <nison.mael@gmail.com>
2024-04-01 14:27:26 +02:00
Antoine du Hamel
14b8a01abb
chore: fix tests on custom registry ( #445 )
2024-04-01 11:46:16 +02:00
Antoine du Hamel
d2677538cd
fix: re-add support for custom registries with auth ( #397 )
2024-03-27 19:23:43 +01:00
Antoine du Hamel
082fabf8b1
fix: download fewer metadata from npm registry ( #436 )
2024-03-26 15:08:33 +01:00
Steven
a05aec69ff
chore: remove unused imports ( #431 )
...
These imports were unused so I removed them
2024-03-16 17:21:20 +01:00
Kristoffer K
47f1e2fadc
chore: remove unused `Cancellation` error ( #428 )
2024-03-15 23:14:12 +01:00
Kristoffer K
6054339f55
chore: remove `fsUtils.rimraf` ( #429 )
2024-03-15 22:43:33 +01:00
github-actions[bot]
a3e3e97369
chore(main): release 0.26.0 ( #393 )
2024-03-08 11:48:54 +01:00