Add Node 22 engines field to examples#15330
Conversation
Stackblitz now supports Node 22 and this is how you opt-in.
|
|
| 📦 Package | 🔒 Before | 🔓 After |
|---|---|---|
| eslint-plugin-regexp | trusted-with-provenance | none |
| @cloudflare/kv-asset-handler | trusted-with-provenance | none |
| @cloudflare/unenv-preset | trusted-with-provenance | none |
| workerd | trusted-with-provenance | none |
| @sveltejs/vite-plugin-svelte-inspector | trusted-with-provenance | provenance |
| @sveltejs/vite-plugin-svelte | trusted-with-provenance | provenance |
| jsdoc-type-pratt-parser | trusted-with-provenance | none |
| miniflare | trusted-with-provenance | none |
| youch | provenance | none |
| @cloudflare/workerd-darwin-64 | trusted-with-provenance | none |
| @cloudflare/workerd-darwin-arm64 | trusted-with-provenance | none |
| @cloudflare/workerd-linux-64 | trusted-with-provenance | none |
| @cloudflare/workerd-linux-arm64 | trusted-with-provenance | none |
| @cloudflare/workerd-windows-64 | trusted-with-provenance | none |
| wrangler | trusted-with-provenance | none |
HiDeoo
left a comment
There was a problem hiding this comment.
Should this match the new lowest required Node.js version (22.12.0) to potentially avoid confusion with the upgrade guide and docs saying we support at least 22.12.0 but the engines field using another minimum version?
|
@HiDeoo |
Yeah, but using
Both works but I thought using our minimum version could potentially avoid some user confusions. |
|
@HiDeoo switched to >=22.12.0 |
HiDeoo
left a comment
There was a problem hiding this comment.
Thanks for considering the change 🙌
Looks perfect to me, and hopefully we can remove them at some point in the future.

Changes
"engines": { "node": ">=22.22.0" }to all 23 example package.json filesTesting
No tests needed - this only adds metadata to package.json files.
Docs
No docs needed - this is an internal change to examples that does not affect user behavior.