Commit Graph

412 Commits

Author SHA1 Message Date
Antoine du Hamel 55005a9b7c
chore(doc): fix outdated "Contributing" section (#199) 2022-10-24 13:35:14 +02:00
Colin Kennedy 0b7abb9833
fix(doc): add package configuration instruction to readme (#188) 2022-10-13 16:32:26 +02:00
Antoine du Hamel bc03266726
chore: cleanup GHA workflow files (#194) 2022-10-11 03:55:25 +02:00
Shalvah 42e53d5eda
Fix typo: `corepath` -> `corepack` (#191) 2022-09-29 05:33:40 +02:00
github-actions[bot] 9a09dad351
chore(main): release 0.14.2 (#185) 2022-09-24 16:22:34 +02:00
github-actions[bot] 84ae3139e4
feat: update package manager versions (#184) 2022-09-24 15:07:46 +02:00
github-actions[bot] e01c11a3bf
chore(main): release 0.14.1 (#181) 2022-09-16 11:44:08 +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] 02eca02df0
chore(main): release 0.14.0 (#172) 2022-09-02 17:27:48 +02:00
github-actions[bot] 6f70bfc4b6
feat: update package manager versions (#170) 2022-09-02 14:36:19 +02:00
Antoine du Hamel 3ca40140a5
chore: add GHA to update Nock files (#175) 2022-09-02 14:36:18 +02:00
Antoine du Hamel 2ede2b15ca
chore: upgrade to Jest 29 (#173) 2022-09-01 20:24:42 +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
github-actions[bot] f241dff8d5
chore(main): release 0.13.0 (#162) 2022-08-20 00:18:14 +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
github-actions[bot] af38d5afbb
feat: update package manager versions (#163) 2022-08-19 10:32:41 +02:00
Antoine du Hamel 09e24cf497
feat: do not use `~/.node` as default value for `COREPACK_HOME` (#152)
* feat: do not use `~/.node` as default value for `COREPACK_HOME`

Fixes: https://github.com/nodejs/corepack/issues/145
Refs: https://github.com/nodejs/node/issues/43859

* fixup! feat: do not use `~/.node` as default value for `COREPACK_HOME`

* Update sources/folderUtils.ts

Co-authored-by: Kristoffer K. <merceyz@users.noreply.github.com>

* Update README

* migrate old corepack home folder

Co-authored-by: Kristoffer K. <merceyz@users.noreply.github.com>
2022-08-15 20:35:45 +02:00
github-actions[bot] a6b8b933d5
chore(main): release 0.12.3 (#161) 2022-08-13 00:41:34 +02:00
github-actions[bot] ad092a7fb4
feat: update package manager versions (#160) 2022-08-12 10:18:19 +02:00
github-actions[bot] 312d9ea6f1
chore(main): release 0.12.2 (#156) 2022-08-05 16:55:19 +02:00
github-actions[bot] 4b95fd3b92
feat: update package manager versions (#154) 2022-08-05 11:16:21 +02:00
Antoine du Hamel eac343e9b0
chore(ci): run `Version Sync` on Friday (#153)
Node.js own version sync script runs on Sunday, it makes sense to run
our own before that so we have to time to publish a release on time.
2022-08-02 17:19:14 +02:00
github-actions[bot] 74b54235c1
chore(main): release 0.12.1 (#151) 2022-07-23 10:23:28 +02:00
x11x d6039c5b16
fix(doc): update DESIGN.md s/engines.pm/packageManager/ (#141)
Fixes: https://github.com/nodejs/corepack/issues/140
2022-07-22 00:40:14 +02:00
github-actions[bot] fdb187a640
fix: update package manager versions (#146) 2022-07-21 22:45:54 +02:00
Antoine du Hamel c70c049205
chore(ci): fix `Version Sync` workflow (#149)
GHA uses OpenSSL 3.x, not 1.1.1, so the output was different on my machine.

Refs: https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2204-Readme.md
2022-07-21 22:24:57 +02:00
Antoine du Hamel f0a303bc88
chore(deps): upgrade all dependencies (#150)
* chore(deps): upgrade all dependencies

* bump Yarn version

Co-authored-by: Kristoffer K. <merceyz@users.noreply.github.com>
2022-07-21 22:24:41 +02:00
Antoine du Hamel 550a7f51a6
chore: use SHA-224 instead of SHA-1 for Berry default version (#142)
SHA-224 provides much better security against collision than SHA-1 for
only 18 more chars in the version string.

Refs: https://en.wikipedia.org/wiki/SHA-2#Comparison_of_SHA_functions
2022-07-21 16:21:05 +02:00
github-actions[bot] cafed0c6da
chore(main): release 0.12.0 (#132)
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2022-07-09 10:48:55 +02:00
github-actions[bot] cd0dcade85
feat: update package manager versions (#139) 2022-07-09 01:34:51 +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
Antoine du Hamel 185da44078
fix: streamline the cache exploration (#135)
If a large number of versions are cached on the host system, trying to
read the whole cache at once can be quite memory intensive. Instead, we
can use an iterative approach that doesn't hold the whole directory
content in memory.
2022-07-08 19:21:38 +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
Antoine du Hamel 9a153d2d4a
chore: add sha1 to default versions (#137)
Refs: https://github.com/nodejs/corepack/pull/133
2022-07-08 19:12:59 +02:00
github-actions[bot] 2470f58b74
feat: update package manager versions (#129) 2022-06-24 01:02:33 +02:00
github-actions[bot] 4d4a96d4c4
chore(main): release 0.11.2 (#128)
* chore(main): release 0.11.2

* Triggers CI, which got weirdly skipped

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Maël Nison <nison.mael@gmail.com>
2022-06-13 13:46:21 +02:00
Maël Nison 7ae489a86c
fix: only set bins on pack (#127) 2022-06-13 10:31:40 +02:00
github-actions[bot] 4f4b8312aa
chore(main): release 0.11.1 (#126)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-12 19:36:51 +02:00
Antoine du Hamel 01c7d638b0
fix(ci): YAML formatting in publish workflow (#124) 2022-06-12 19:23:14 +02:00
github-actions[bot] 49b5ce611b
chore(main): release 0.11.0 (#122) 2022-06-12 19:07:34 +02:00
Antoine du Hamel e50d44a2c9
chore: fix GHA automations (#123) 2022-06-12 16:09:10 +01:00
Maël Nison dced8d1289
ci: add a publish workflow (#121)
* Adds a publish workflow

* Adds an explicit --immutable flag

* Update .github/workflows/publish.yml

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>

* Uses release-please

* We don't need --tolerate-republish since release-please takes care of it

* Fix workflow name

* Update .github/workflows/publish.yml

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2022-06-11 23:08:37 +02:00
github-actions[bot] f990c968c7
chore: update package manager versions (#120)
Co-authored-by: Create or Update Pull Request Action <create-or-update-pull-request@users.noreply.github.com>
2022-06-11 12:55:40 +02:00
Antoine du Hamel 5051669a8d
chore: fix `Version Sync` action (#119) 2022-06-11 11:45:34 +02:00
Antoine du Hamel 7a1c1ea5da
chore: bump npm deps (#115) 2022-06-11 11:35:02 +02:00