Skip to content

Commit 0325add

Browse files
committed
Add engines.node >= 20 to package.json
VS Code 1.90 targets Node 20. Without an explicit engines.node field, contributors may attempt to build with an older Node version and hit ES2022 compilation errors. Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
1 parent ef5ce07 commit 0325add

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"url": "https://github.com/patchloom/patchloom-vscode/issues"
1515
},
1616
"engines": {
17-
"vscode": "^1.90.0"
17+
"vscode": "^1.90.0",
18+
"node": ">=20"
1819
},
1920
"icon": "images/icon.png",
2021
"galleryBanner": {

0 commit comments

Comments
 (0)