Commit 86b583e
committed
ci: bump Node to 22.21.1 to fix build (registerHooks requires >=22.15.0)
@cloudflare/vite-plugin 1.43.0 imports `registerHooks` from `node:module`,
which was added in Node 22.15.0. CI ran 22.14.0, causing the build to fail
with "does not provide an export named 'registerHooks'".
- .nvmrc: 22.14.0 -> 22.21.1
- ci.yml: read node-version-file (.nvmrc) so CI and local stay in sync
- package.json engines: >=22.14.0 -> >=22.15.01 parent 9b86948 commit 86b583e
4 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments