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
Antoine du Hamel
78b243c881
ci: test on all supported Node.js versions ( #116 )
2022-06-02 00:47:40 +02:00
Antoine du Hamel
e810142ede
ci: fix the Sync workflow ( #117 )
...
Co-authored-by: Maël Nison <nison.mael@gmail.com>
Co-authored-by: Kristoffer K. <merceyz@users.noreply.github.com>
2022-06-02 00:47:26 +02:00
Maël Nison
fb09145610
Use Yarn 4 RC on our CI ( #109 )
...
* Upgrades to Yarn 4 RC
* Removes the cache check from the CI
* Simplifies CI
* Revert "Simplifies CI"
This reverts commit b3a05f1857 .
* Calls install before running the typecheck
* Runs build
* No need for the PnP files since we don't use zero-install
* Adds explicit `--immutable` + cache
* Apply suggestions from code review
Co-authored-by: Kristoffer K. <merceyz@users.noreply.github.com>
Co-authored-by: Kristoffer K. <merceyz@users.noreply.github.com>
2022-06-01 15:40:54 +02:00
Maël Nison
2b7180eff8
Updates package manager versions ( #106 )
...
* Update config.json
* Update config.json
2022-05-28 11:54:55 +02:00
Steven
31913aa317
chore: include install directory in debug log ( #111 )
...
This is useful when `DEBUG=corepack` is set because it tells you where it installed to.
Alternatively, we could add this to the `Install finished` debug line at the end.
2022-05-28 11:33:09 +02:00
Antoine du Hamel
648bd95e94
chore: update dependencies ( #107 )
...
* chore: update dependencies
Continuation of https://github.com/nodejs/corepack/pull/100
* git add patch file
2022-05-24 16:22:12 +02:00
Antoine du Hamel
cbd96fefa1
ci: simplify `Testing choses` job ( #108 )
2022-05-24 16:20:25 +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
Jack Works
e082364789
Update config.json ( #103 )
2022-05-15 10:40:18 +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
Kirill Romanov
876ce02fe7
feat: auto setup proxy for http requests ( #69 )
...
* feat: auto setup proxy for http requests
* Adds dependencies
* Triggers CI again
Co-authored-by: Maël Nison <nison.mael@gmail.com>
2022-04-08 00:05:54 +02:00
Austin Kelleher
9d4bb08696
tools: add `coverage` folder to `.gitignore` ( #94 )
...
When running `jest --collect-coverage` a `coverage` folder is created,
which should not be committed.
2022-04-07 22:51:27 +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
Maël Nison
e86da78a49
Update README.md ( #86 )
2022-02-03 10:53:23 +01:00
Steven
efe45b5341
Add Node.js 14.19.0 to readme ( #87 )
...
https://github.com/nodejs/node/releases/tag/v14.19.0
https://nodejs.org/dist/latest-v14.x/docs/api/corepack.html
2022-02-03 10:53:02 +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
Kristoffer K
f17384e620
chore: update the SDK ( #83 )
2022-01-23 23:42:44 +01:00
Kristoffer K
4344ba1f09
ci: add cache validation ( #82 )
...
* chore: explicitly disable the global cache
* ci: add cache check
* chore: update incorrect checksums
2022-01-23 20:12:56 +01:00
Maël Nison
1026fe1b48
Fixes help ( #81 )
2022-01-19 17:38:02 +01:00
Maël Nison
49ea6a2c7d
Prepare 0.10 ( #62 )
2021-10-06 12:18:11 +02:00
Maël Nison
a9041903fe
Update README.md ( #61 )
2021-10-06 12:04:36 +02:00