fix(devcontainer): pin Node.js version to 22 instead of floating LTS tag

The Node feature version was set to "lts" which is a floating reference.
When Node 24 becomes LTS, the devcontainer would automatically upgrade,
breaking compatibility with the project's engines.node constraint (^22.22.1).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
zhaohao1004 2026-04-10 00:02:03 +08:00
parent 41eeb1f2e7
commit 994edd111b

View File

@ -12,7 +12,7 @@
"features": {
"ghcr.io/devcontainers/features/node:1": {
"nodeGypDependencies": true,
"version": "lts"
"version": "22"
},
"ghcr.io/devcontainers-extra/features/npm-package:1": {
"package": "typescript",