Skip to content

Commit 254e535

Browse files
committed
chore: Upgrade to Node 20
1 parent 6d3c649 commit 254e535

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v20

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,18 @@
44
"author": "Scio Labs <[email protected]> (https://scio.xyz)",
55
"type": "module",
66
"version": "1.0.0",
7+
"engines": {
8+
"node": ">=18 <=20"
9+
},
710
"scripts": {
811
"build": "tsc",
912
"node": "substrate-contracts-node --dev --base-path ./.node-data",
1013
"script": "f() { tsx ./src/$1; }; f \"$@\"",
1114
"type-check": "tsc --pretty --noEmit"
1215
},
1316
"devDependencies": {
14-
"@types/node": "^18.18.9",
1517
"@polkadot/types": "^10.11.1",
18+
"@types/node": "^20.10.0",
1619
"tsx": "^4.5.0",
1720
"typescript": "^5.3.2"
1821
},

0 commit comments

Comments
 (0)