Skip to content

Commit 0db9e6b

Browse files
Merge pull request #2 from codenickycode/node22
node22
2 parents 224312a + d187a2e commit 0db9e6b

File tree

6 files changed

+16
-16
lines changed

6 files changed

+16
-16
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: ⎔ Setup node
2929
uses: actions/setup-node@v4
3030
with:
31-
node-version: 20.17.0
31+
node-version: 22.9.0
3232

3333
- name: 📥 Install deps
3434
run: pnpm install
@@ -52,7 +52,7 @@ jobs:
5252
- name: ⎔ Setup node
5353
uses: actions/setup-node@v4
5454
with:
55-
node-version: 20.17.0
55+
node-version: 22.9.0
5656

5757
- name: 📥 Install deps
5858
run: pnpm install
@@ -76,7 +76,7 @@ jobs:
7676
- name: ⎔ Setup node
7777
uses: actions/setup-node@v4
7878
with:
79-
node-version: 20.17.0
79+
node-version: 22.9.0
8080

8181
- name: 📥 Install deps
8282
run: pnpm install
@@ -100,7 +100,7 @@ jobs:
100100
- name: ⎔ Setup node
101101
uses: actions/setup-node@v4
102102
with:
103-
node-version: 20.17.0
103+
node-version: 22.9.0
104104

105105
- name: 📥 Install deps
106106
run: pnpm install
@@ -134,7 +134,7 @@ jobs:
134134
- name: ⎔ Setup node
135135
uses: actions/setup-node@v4
136136
with:
137-
node-version: 20.17.0
137+
node-version: 22.9.0
138138

139139
- name: 📥 Install deps
140140
run: pnpm install
@@ -168,7 +168,7 @@ jobs:
168168
- name: ⎔ Setup node
169169
uses: actions/setup-node@v4
170170
with:
171-
node-version: 20.17.0
171+
node-version: 22.9.0
172172

173173
- name: 📥 Install deps
174174
run: pnpm install

.github/workflows/stage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- name: ⎔ Setup node
4747
uses: actions/setup-node@v4
4848
with:
49-
node-version: 20.17.0
49+
node-version: 22.9.0
5050

5151
- name: 📥 Install deps
5252
run: pnpm install
@@ -79,7 +79,7 @@ jobs:
7979
- name: ⎔ Setup node
8080
uses: actions/setup-node@v4
8181
with:
82-
node-version: 20.17.0
82+
node-version: 22.9.0
8383

8484
- name: 📥 Install deps
8585
run: pnpm install

README.cloudflare/README.cloudflare.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
6. Add the following variables under "Variables and Secrets" so that the build command can run in the correct environment:
2222
| Type | Name | Value |
2323
| --- | --- | --- |
24-
| Plaintext | NODE_VERSION | 20.17.0 |
24+
| Plaintext | NODE_VERSION | 22.9.0 |
2525
| Plaintext | PNPM_VERSION | 9 |
2626

2727
7. Create a Workers app to host the prod server. From the Workers & Pages Overview page, click "Create" (like step 2), and then from the "Workers" tab, click "Create Worker".

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ A starter project for building a pnpm monorepo with a client-side React SPA and
2424

2525
1. [git](https://git-scm.com/downloads)
2626
2. [pnpm](https://pnpm.io/installation) v9 and above
27-
3. [node](https://nodejs.org/en/download/package-manager/current) v20.17.0 and above
27+
3. [node](https://nodejs.org/en/download/package-manager/current) v22.9.0 and above
2828

2929
### Install
3030

3131
1. Ensure you're using the correct version of Node:
3232
```sh
33-
nvm use 20.17.0
33+
nvm use 22.9.0
3434
```
3535
2. Run the installation script:
3636
```sh

README.project.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ This project is a pnpm monorepo with a client-side React SPA and a server-side C
2323
### Pre-requisites
2424

2525
1. [pnpm](https://pnpm.io/installation) v9 and above
26-
2. [node](https://nodejs.org/en/download/package-manager/current) v20.17.0 and above
26+
2. [node](https://nodejs.org/en/download/package-manager/current) v22.9.0 and above
2727

2828
### Installation
2929

3030
1. Ensure you're using the correct version of Node:
3131

3232
```sh
33-
nvm use 20.17.0
33+
nvm use 22.9.0
3434
```
3535

3636
2. Install dependencies

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "create-react-spa-cloudflare",
33
"type": "module",
4-
"version": "0.0.15",
4+
"version": "0.0.17",
55
"description": "Starter package for react spa with cloudflare pages, workers, and kv",
66
"bin": "./bin/cli.js",
77
"scripts": {
@@ -37,7 +37,7 @@
3737
"devDependencies": {
3838
"@playwright/test": "^1.47.0",
3939
"@types/eslint": "^9.6.0",
40-
"@types/node": "^20.14.12",
40+
"@types/node": "^22.7.4",
4141
"@typescript-eslint/eslint-plugin": "^7.14.1",
4242
"@typescript-eslint/parser": "^7.14.1",
4343
"eslint": "^8.57.0",
@@ -46,7 +46,7 @@
4646
"wrangler": "^3.73.0"
4747
},
4848
"engines": {
49-
"node": ">=20.17.0",
49+
"node": ">=22.9.0",
5050
"pnpm": ">=9"
5151
}
5252
}

0 commit comments

Comments
 (0)