Skip to content

Commit c7b0972

Browse files
authored
chore: update to node22 (#25)
* chore: update to node22 * chore: update dependencies
1 parent e935829 commit c7b0972

File tree

11 files changed

+136
-426
lines changed

11 files changed

+136
-426
lines changed

.github/workflows/check-python.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,18 @@ jobs:
3636
- name: Check linting with Ruff
3737
run: |
3838
# stop the build if there are Python syntax errors or undefined names
39-
poetry run ruff .
39+
poetry run ruff check .
4040
4141
- name: Configure git
4242
shell: bash
4343
run: |
4444
# set git user and email as test invoke git
4545
git config --global user.email "[email protected]" && git config --global user.name "github-actions"
4646
47-
- name: Setup Node.js 20.x
47+
- name: Setup Node.js 22.x
4848
uses: actions/setup-node@v4
4949
with:
50-
node-version: "20.x"
50+
node-version: "22.x"
5151

5252
- name: Run tests
5353
shell: bash

examples/production/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ This project has been generated using AlgoKit. See below for default getting sta
66

77
### Pre-requisites
88

9-
- [Nodejs 20](https://nodejs.org/en/download) or later
9+
- [Nodejs 22](https://nodejs.org/en/download) or later
1010
- [AlgoKit CLI 2.5](https://github.com/algorandfoundation/algokit-cli?tab=readme-ov-file#install) or later
1111
- [Docker](https://www.docker.com/) (only required for LocalNet)
12-
- [Puya Compiler 4.4.2](https://pypi.org/project/puyapy/) or later
12+
- [Puya Compiler 4.4.4](https://pypi.org/project/puyapy/) or later
1313

1414
> For interactive tour over the codebase, download [vsls-contrib.codetour](https://marketplace.visualstudio.com/items?itemName=vsls-contrib.codetour) extension for VS Code, then open the [`.codetour.json`](./.tours/getting-started-with-your-algokit-project.tour) file in code tour extension.
1515
@@ -25,7 +25,7 @@ Ensure the following pre-requisites are installed and properly configured:
2525

2626
- **Docker**: Required for running a local Algorand network.
2727
- **AlgoKit CLI**: Essential for project setup and operations. Verify installation with `algokit --version`, expecting `2.5.0` or later.
28-
- **Puya Compiler**: Can be installed from PyPi by running `pipx install puyapy`. Verify installation with `puyapy --version`, expecting `4.4.2` or later.
28+
- **Puya Compiler**: Can be installed from PyPi by running `pipx install puyapy`. Verify installation with `puyapy --version`, expecting `4.4.4` or later.
2929

3030
#### 3. Bootstrap Your Local Environment
3131

examples/production/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"check-types": "tsc --noEmit"
1717
},
1818
"engines": {
19-
"node": ">=20.0",
19+
"node": ">=22.0",
2020
"npm": ">=9.0"
2121
},
2222
"dependencies": {
@@ -26,9 +26,9 @@
2626
"@algorandfoundation/algokit-client-generator": "^4.0.8",
2727
"@algorandfoundation/algokit-utils": "^8.2.1",
2828
"@algorandfoundation/algokit-utils-debug": "^1.0.3",
29-
"@algorandfoundation/puya-ts": "^1.0.0-beta.30",
29+
"@algorandfoundation/puya-ts": "^1.0.0-beta.34",
3030
"@rollup/plugin-typescript": "^12.1.2",
31-
"@tsconfig/node20": "^20.1.4",
31+
"@tsconfig/node22": "^22.0.0",
3232
"algosdk": "^3.0.0",
3333
"better-npm-audit": "^3.11.0",
3434
"dotenv": "^16.4.7",
@@ -37,7 +37,7 @@
3737
"typescript-eslint": "^8.19.1",
3838
"prettier": "^3.4.2",
3939
"ts-node-dev": "^2.0.0",
40-
"@algorandfoundation/algorand-typescript-testing": "^1.0.0-beta.25",
40+
"@algorandfoundation/algorand-typescript-testing": "^1.0.0-beta.27",
4141
"vitest": "^2.1.8",
4242
"@vitest/coverage-v8": "^2.1.8",
4343
"typescript": "^5.7.3"

examples/production/tsconfig.test.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "@tsconfig/node20/tsconfig.json",
2+
"extends": "@tsconfig/node22/tsconfig.json",
33
"compilerOptions": {
44
"noEmit": true,
55
"target": "ES2023",

examples/starter/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ This project has been generated using AlgoKit. See below for default getting sta
66

77
### Pre-requisites
88

9-
- [Nodejs 20](https://nodejs.org/en/download) or later
9+
- [Nodejs 22](https://nodejs.org/en/download) or later
1010
- [AlgoKit CLI 2.5](https://github.com/algorandfoundation/algokit-cli?tab=readme-ov-file#install) or later
1111
- [Docker](https://www.docker.com/) (only required for LocalNet)
12-
- [Puya Compiler 4.4.2](https://pypi.org/project/puyapy/) or later
12+
- [Puya Compiler 4.4.4](https://pypi.org/project/puyapy/) or later
1313

1414
> For interactive tour over the codebase, download [vsls-contrib.codetour](https://marketplace.visualstudio.com/items?itemName=vsls-contrib.codetour) extension for VS Code, then open the [`.codetour.json`](./.tours/getting-started-with-your-algokit-project.tour) file in code tour extension.
1515
@@ -23,7 +23,7 @@ Ensure the following pre-requisites are installed and properly configured:
2323

2424
- **Docker**: Required for running a local Algorand network.
2525
- **AlgoKit CLI**: Essential for project setup and operations. Verify installation with `algokit --version`, expecting `2.5.0` or later.
26-
- **Puya Compiler**: Can be installed from PyPi by running `pipx install puyapy`. Verify installation with `puyapy --version`, expecting `4.4.2` or later.
26+
- **Puya Compiler**: Can be installed from PyPi by running `pipx install puyapy`. Verify installation with `puyapy --version`, expecting `4.4.4` or later.
2727

2828
#### 3. Bootstrap Your Local Environment
2929
Run the following commands within the project folder:

examples/starter/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"check-types": "tsc --noEmit"
1111
},
1212
"engines": {
13-
"node": ">=20.0",
13+
"node": ">=22.0",
1414
"npm": ">=9.0"
1515
},
1616
"dependencies": {
@@ -20,9 +20,9 @@
2020
"@algorandfoundation/algokit-client-generator": "^4.0.8",
2121
"@algorandfoundation/algokit-utils": "^8.2.1",
2222
"@algorandfoundation/algokit-utils-debug": "^1.0.3",
23-
"@algorandfoundation/puya-ts": "^1.0.0-beta.30",
23+
"@algorandfoundation/puya-ts": "^1.0.0-beta.34",
2424
"@rollup/plugin-typescript": "^12.1.2",
25-
"@tsconfig/node20": "^20.1.4",
25+
"@tsconfig/node22": "^22.0.0",
2626
"algosdk": "^3.0.0",
2727
"dotenv": "^16.4.7",
2828
"ts-node-dev": "^2.0.0",

0 commit comments

Comments
 (0)