Antoine du Hamel
2c2005cc42
chore: fix permissions of `update-nock-files.yml` ( #556 )
2024-09-07 10:50:48 +00:00
dependabot[bot]
cb2c063dd6
build(deps): bump micromatch from 4.0.7 to 4.0.8 ( #555 )
...
Bumps [micromatch](https://github.com/micromatch/micromatch ) from 4.0.7 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases )
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.7...4.0.8 )
---
updated-dependencies:
- dependency-name: micromatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-07 10:35:12 +00:00
Antoine du Hamel
4ca33d3974
chore: fix `sync.yml` permissions ( #554 )
2024-09-07 12:20:26 +02:00
github-actions[bot]
bc13d40037
chore(main): release 0.29.3 ( #539 )
2024-07-21 14:57:40 +00:00
Antoine du Hamel
eb63873c6c
fix: fallback to `shasum` when `integrity` is not defined ( #542 )
...
Some npm registries do not define an `integrity` field, in which case
we can try using the `shasum` field instead.
2024-07-21 16:38:30 +02:00
Wojciech Maj
93a49c8b2b
chore(deps): bump semver from 7.6.2 to 7.6.3 ( #534 )
...
This bugfix version of semver includes significant performance improvements that I guess we would like to see in corepack.
See: https://github.com/npm/node-semver/pull/726
2024-07-20 11:33:00 +02:00
Wojciech Maj
67463b2a3b
chore(deps): bump tar from 6.x to 7.x, selectively import required functions ( #533 )
...
Changes from 06e5872189 made it possible to update tar from 6.x to 7.x and use new `package.json` exports that are included in 7.x, allowing us to further reduce our bundle size.
2024-07-18 13:53:41 +02:00
Antoine du Hamel
6019d7b56e
fix: make `DEBUG=corepack` more useful ( #538 )
2024-07-18 13:52:19 +02:00
Wojciech Maj
06e5872189
chore: adjust tsconfig.json settings ( #532 )
...
Because Corepack is bundled with esbuild, the correct, recommended tsconfig.json settings are:
- module: preserve
- moduleResolution: bundler
This ensures that modules are resolved the way esbuild resolves them, and opens us to using e.g. package.json exports (which will come in handy in the next PR in which I update tar dependency).
2024-07-17 11:19:03 +02:00
Kristoffer K.
85e556a1a9
test: migrate to vitest ( #349 )
2024-07-16 23:31:15 +02:00
github-actions[bot]
d337b348a9
chore(main): release 0.29.2 ( #531 )
2024-07-13 11:37:59 +02:00
Antoine du Hamel
18e29ce3c4
fix: trigger release after 0.29.1 failed to publish
2024-07-13 11:29:21 +02:00
Antoine du Hamel
72c2951ee5
Revert "chore: publish to npm with `--provenance` ( #520 )" ( #530 )
...
This reverts commit 1828961d81 .
2024-07-13 11:01:24 +02:00
Antoine du Hamel
b498551005
Revert "chore(ci): pass `NPM_TOKEN` to `npm publish` step ( #527 )" ( #529 )
...
This reverts commit dece8891bb .
2024-07-13 10:59:47 +02:00
github-actions[bot]
b8356088c7
chore(main): release 0.29.1 ( #528 )
2024-07-13 08:28:55 +00:00
Antoine du Hamel
e6ba06657b
fix: trigger release after 0.29.0 failed to publish
2024-07-13 10:11:19 +02:00
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