Skip to content

Commit 532e4cc

Browse files
committed
Use Node 20
1 parent e5c620d commit 532e4cc

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

.changeset/wise-poems-think.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"create-solana-program": patch
3+
---
4+
5+
Use Node v20

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113
- name: Setup Node.js
114114
uses: actions/setup-node@v4
115115
with:
116-
node-version: 18
116+
node-version: 20
117117
cache: "pnpm"
118118
- name: Install Dependencies
119119
run: pnpm install --frozen-lockfile

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"template"
1313
],
1414
"engines": {
15-
"node": ">=v18.0.0"
15+
"node": ">=v20.0.0"
1616
},
1717
"scripts": {
1818
"build": "./scripts/build.mjs",

template/base/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@
1616
"typescript": "^5.5.2",
1717
"zx": "^7.2.3"
1818
},
19+
"engines": {
20+
"node": ">=v20.0.0"
21+
},
1922
"packageManager": "[email protected]"
2023
}

template/clients/js/clients/js/package.json.njk

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,12 @@
5050
"rimraf": "^5.0.5",
5151
"tsup": "^8.1.2",
5252
"typedoc": "^0.25.12",
53-
"typedoc-plugin-missing-exports": "^2.2.0",
5453
"typescript": "^5.5.3"
5554
},
5655
"ava": {
5756
"nodeArguments": [
5857
"--no-warnings"
5958
],
60-
"require": [
61-
"@solana/webcrypto-ed25519-polyfill"
62-
],
6359
"typescript": {
6460
"compile": false,
6561
"rewritePaths": {

0 commit comments

Comments
 (0)