- Notifications
You must be signed in to change notification settings - Fork1k
Commit4e7f6cb
committed
chore: bump node engine version
In the nix flake's devshell, we used `nodejs_20` (20.18.3).`vite@7.1.4` requires a newer node version (^20.19.0).This commit bumps the flake's node version to `nodejs_22`, andupdates the allowed engine versions in the sites package.json.```bash❯ make gengenerateok github.com/coder/coder/v2/coderd/database/gentest 0.649sok github.com/coder/coder/v2/cli 3.258sok github.com/coder/coder/v2/coderd 3.655sok github.com/coder/coder/v2/coderd/notifications 3.322sok github.com/coder/coder/v2/enterprise/cli 2.238sok github.com/coder/coder/v2/enterprise/tailnet 0.741sok github.com/coder/coder/v2/helm/coder/tests 2.891sok github.com/coder/coder/v2/helm/provisioner/tests 1.336sok github.com/coder/coder/v2/provisioner/terraform 0.755sok github.com/coder/coder/v2/tailnet 0.697s+ pnpm installLockfile is up to date, resolution step is skipped ERR_PNPM_UNSUPPORTED_ENGINE Unsupported environment (bad pnpm and/or Node.js version)Your Node version is incompatible with "vite@7.1.4(@types/node@20.17.16)(jiti@2.4.2)(yaml@2.7.0)".Expected version: ^20.19.0 || >=22.12.0Got: v20.18.3This is happening because the package's manifest has an engines.node field specified.To fix this issue, install the required Node version.make: *** [Makefile:416: site/node_modules/.installed] Error 1```1 parent6238937 commit4e7f6cb
File tree
7 files changed
+25
-12
lines changed- .github/actions/setup-node
- dogfood/coder
- offlinedocs
- site
- src/utils
7 files changed
+25
-12
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
| 19 | + | |
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
245 | 245 |
| |
246 | 246 |
| |
247 | 247 |
| |
248 |
| - | |
| 248 | + | |
249 | 249 |
| |
250 | 250 |
| |
251 | 251 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
59 |
| - | |
| 59 | + | |
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
| |||
147 | 147 |
| |
148 | 148 |
| |
149 | 149 |
| |
150 |
| - | |
151 | 150 |
| |
152 | 151 |
| |
153 | 152 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
45 |
| - | |
| 45 | + | |
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
114 | 114 |
| |
115 | 115 |
| |
116 | 116 |
| |
117 |
| - | |
| 117 | + | |
118 | 118 |
| |
119 | 119 |
| |
120 | 120 |
| |
| |||
195 | 195 |
| |
196 | 196 |
| |
197 | 197 |
| |
198 |
| - | |
| 198 | + | |
199 | 199 |
| |
200 | 200 |
| |
201 | 201 |
| |
|
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
17 | 21 |
| |
18 | 22 |
| |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
19 | 33 |
| |
20 | 34 |
| |
21 | 35 |
| |
|
0 commit comments
Comments
(0)