Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 4c80841

Browse files
authored
Merge pull request #6180 from legobeat/node-version
Indicate Node.js supported versions
2 parents 25f02d2 + c9d46b8 commit 4c80841

File tree

58 files changed

+173
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+173
-4
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- uses: actions/checkout@v3
2323
- uses: actions/setup-node@v3
2424
with:
25-
node-version: 16
25+
node-version-file: .nvmrc
2626
- run: npm install -g yarn
2727
- run: yarn install --ignore-scripts --ignore-engines
2828
- run: test -z "$(git diff)" || (echo 'Please run yarn and commit all changes to yarn.lock'; false)

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lts/*

packages/abi-utils/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,8 @@
4848
],
4949
"publishConfig": {
5050
"access": "public"
51+
},
52+
"engines": {
53+
"node": "^16.20 || ^18.16 || >=20"
5154
}
5255
}

packages/artifactor/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,8 @@
4444
},
4545
"publishConfig": {
4646
"access": "public"
47+
},
48+
"engines": {
49+
"node": "^16.20 || ^18.16 || >=20"
4750
}
4851
}

packages/blockchain-utils/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,8 @@
3636
],
3737
"publishConfig": {
3838
"access": "public"
39+
},
40+
"engines": {
41+
"node": "^16.20 || ^18.16 || >=20"
3942
}
4043
}

packages/box/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,8 @@
4848
],
4949
"publishConfig": {
5050
"access": "public"
51+
},
52+
"engines": {
53+
"node": "^16.20 || ^18.16 || >=20"
5154
}
5255
}

packages/code-utils/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,8 @@
3333
},
3434
"publishConfig": {
3535
"access": "public"
36+
},
37+
"engines": {
38+
"node": "^16.20 || ^18.16 || >=20"
3639
}
3740
}

packages/codec-components/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,8 @@
9393
}
9494
]
9595
}
96+
},
97+
"engines": {
98+
"node": "^16.20 || ^18.16 || >=20"
9699
}
97100
}

packages/codec/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,8 @@
6262
],
6363
"publishConfig": {
6464
"access": "public"
65+
},
66+
"engines": {
67+
"node": "^16.20 || ^18.16 || >=20"
6568
}
6669
}

packages/compile-common/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,8 @@
3131
"mocha": "10.1.0",
3232
"ts-node": "10.7.0",
3333
"typescript": "^4.9.5"
34+
},
35+
"engines": {
36+
"node": "^16.20 || ^18.16 || >=20"
3437
}
3538
}

0 commit comments

Comments
 (0)