Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/wise-poems-think.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"create-solana-program": patch
---

Use Node v20
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

env:
ANCHOR_VERSION: 0.30.0
NODE_VERSION : 20
SOLANA_VERSION: 1.18.18
TOOLCHAIN: 1.75.0

Expand All @@ -23,7 +24,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version: ${{ env.NODE_VERSION }}
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
Expand Down Expand Up @@ -54,7 +55,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version: ${{ env.NODE_VERSION }}
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
Expand Down Expand Up @@ -113,7 +114,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version: ${{ env.NODE_VERSION }}
cache: "pnpm"
- name: Install Dependencies
run: pnpm install --frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"template"
],
"engines": {
"node": ">=v18.0.0"
"node": ">=v20.0.0"
},
"scripts": {
"build": "./scripts/build.mjs",
Expand Down
2 changes: 1 addition & 1 deletion template/base/.github/actions/setup/action.yml.njk
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ runs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: 'pnpm'

- name: Install Dependencies
Expand Down
3 changes: 3 additions & 0 deletions template/base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@
"typescript": "^5.5.2",
"zx": "^7.2.3"
},
"engines": {
"node": ">=v20.0.0"
},
"packageManager": "[email protected]"
}
4 changes: 0 additions & 4 deletions template/clients/js/clients/js/package.json.njk
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,12 @@
"rimraf": "^5.0.5",
"tsup": "^8.1.2",
"typedoc": "^0.25.12",
"typedoc-plugin-missing-exports": "^2.2.0",
"typescript": "^5.5.3"
},
"ava": {
"nodeArguments": [
"--no-warnings"
],
"require": [
"@solana/webcrypto-ed25519-polyfill"
],
"typescript": {
"compile": false,
"rewritePaths": {
Expand Down