Skip to content

Commit c4e9579

Browse files
committed
test(snap): use node 22.22.2 in dev-engines-runtime-pnpm11
The 22.11.0 pin inherited from the pnpm10 variant predates vp's current minimum (^20.19.0 || >=22.12.0), causing the dlx step to fail with an incompatible-node error. Bump to the latest v22 LTS.
1 parent f16a0f8 commit c4e9579

3 files changed

Lines changed: 4 additions & 10 deletions

File tree

packages/cli/snap-tests-global/dev-engines-runtime-pnpm11/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"devEngines": {
55
"runtime": {
66
"name": "node",
7-
"version": "22.11.0"
7+
"version": "22.22.2"
88
}
99
},
1010
"packageManager": "pnpm@11.0.0-rc.5"
Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,2 @@
1-
[1]> vp dlx -s print-current-version # should print Node.js version 22.11.0 from devEngines.runtime
2-
error: Node.js <semver> is incompatible with Vite+ CLI.
3-
Required by Vite+: ^20.19.0 || >=22.12.0
4-
Resolved from: devEngines.runtime
5-
6-
7-
Fix this project: vp env pin lts
8-
Temporary override: vp env use lts
1+
> vp dlx -s print-current-version # should print Node.js version 22.22.2 from devEngines.runtime
2+
v22.22.2
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"commands": [
3-
"vp dlx -s print-current-version # should print Node.js version 22.11.0 from devEngines.runtime"
3+
"vp dlx -s print-current-version # should print Node.js version 22.22.2 from devEngines.runtime"
44
]
55
}

0 commit comments

Comments
 (0)