Skip to content

Commit 01aab59

Browse files
authored
chore: standardize tooling versions and lock critical dependencies (#1440)
1 parent 789e0b7 commit 01aab59

11 files changed

Lines changed: 1893 additions & 1463 deletions

File tree

.github/workflows/lint.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ jobs:
3232
- name: Checkout 🛎️
3333
uses: actions/checkout@v4
3434

35-
- name: Setup pnpm 9
35+
- name: Setup pnpm 10
3636
uses: pnpm/action-setup@v2
3737
with:
38-
version: 9.3.0
38+
version: 10.19.0
3939

40-
- name: Setup Node.js 20.19.0
41-
uses: actions/setup-node@v2
40+
- name: Setup Node.js 22.x
41+
uses: actions/setup-node@v4
4242
with:
43-
node-version: 20.19.0
43+
node-version: 22.x
4444

4545
- name: Install Dependencies 🔧
4646
run: pnpm i

.github/workflows/release.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,11 @@ jobs:
4848
- name: Set up Node
4949
uses: actions/setup-node@v4
5050
with:
51-
node-version: "20"
52-
- name: Install pnpm
53-
run: npm install -g pnpm@9.3.0
51+
node-version: "22"
52+
- name: Setup pnpm 10
53+
uses: pnpm/action-setup@v2
54+
with:
55+
version: 10.19.0
5456
- name: Login to DockerHub
5557
uses: docker/login-action@v1
5658
with:
@@ -82,9 +84,11 @@ jobs:
8284
- name: Set up Node
8385
uses: actions/setup-node@v4
8486
with:
85-
node-version: "20"
86-
- name: Install pnpm
87-
run: npm install -g pnpm@9.3.0
87+
node-version: "22"
88+
- name: Setup pnpm 10
89+
uses: pnpm/action-setup@v2
90+
with:
91+
version: 10.19.0
8892
- name: Login to DockerHub
8993
uses: docker/login-action@v1
9094
with:

.github/workflows/web-sdk.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ jobs:
2222
fetch-depth: 0
2323
ref: main
2424

25-
- name: Setup pnpm 9
25+
- name: Setup pnpm 10
2626
uses: pnpm/action-setup@v2
2727
with:
28-
version: 9.3.0
28+
version: 10.19.0
2929

30-
- name: Setup Node.js 20.x
31-
uses: actions/setup-node@v2
30+
- name: Setup Node.js 22.x
31+
uses: actions/setup-node@v4
3232
with:
33-
node-version: 20.x
33+
node-version: 22.x
3434

3535
- name: Install Dependencies 🔧
3636
run: pnpm i

Dockerfile.dev

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Build the UI
2-
FROM node:20-alpine AS admin-builder
2+
FROM node:22-alpine AS admin-builder
33
RUN apk add --no-cache make git
4-
RUN npm install -g pnpm@9.3.0
4+
RUN npm install -g pnpm@10.19.0
55
WORKDIR /app
66

77
COPY Makefile .

docs/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
"url-loader": "^4.1.1"
3434
},
3535
"engines": {
36-
"node": ">=22"
36+
"node": ">=22",
37+
"pnpm": ">=10.19.0"
3738
},
3839
"browserslist": {
3940
"production": [

web/apps/admin/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@
1212
},
1313
"dependencies": {
1414
"@bufbuild/protobuf": "^2.11.0",
15-
"@connectrpc/connect": "^2.1.0",
15+
"@connectrpc/connect": "2.1.1",
1616
"@connectrpc/connect-query": "2.1.1",
17-
"@connectrpc/connect-web": "^2.1.0",
17+
"@connectrpc/connect-web": "2.1.1",
1818
"@hookform/resolvers": "^3.0.1",
1919
"@radix-ui/react-form": "^0.0.2",
2020
"@radix-ui/react-icons": "^1.3.0",
2121
"@raystack/apsara": "0.56.6",
2222
"@raystack/frontier": "workspace:^",
23-
"@raystack/proton": "0.1.0-b1687af73f994fa9612a023c850aa97c35735af8",
23+
"@raystack/proton": "0.1.0-d8accdc231fe7e3b23b38c0535b2aa92da42cf24",
2424
"@stitches/react": "^1.2.8",
25-
"@tanstack/react-query": "^5.83.0",
25+
"@tanstack/react-query": "^5.90.2",
2626
"@tanstack/react-query-devtools": "^5.90.2",
2727
"@tanstack/react-table": "^8.9.3",
2828
"@tanstack/table-core": "^8.21.3",
@@ -45,7 +45,7 @@
4545
"zod": "^3.22.3"
4646
},
4747
"devDependencies": {
48-
"@types/node": "^18.15.13",
48+
"@types/node": "^22.10.0",
4949
"@types/ramda": "^0.28.23",
5050
"@types/react": "^18.3.0",
5151
"@types/react-dom": "^18.3.0",

web/apps/client-demo/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"uuid": "^10.0.0"
1717
},
1818
"devDependencies": {
19-
"@types/node": "^20.19.0",
19+
"@types/node": "^22.10.0",
2020
"@types/react": "^18.3.23",
2121
"@types/react-dom": "^18.3.7",
2222
"@types/react-router-dom": "^5.3.3",
@@ -25,5 +25,5 @@
2525
"typescript": "^5.8.3",
2626
"vite": "^7.0.6"
2727
},
28-
"packageManager": "pnpm@8.6.10"
28+
"packageManager": "pnpm@10.19.0"
2929
}

web/package.json

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"scripts": {
55
"build": "turbo run build",
66
"dev": "turbo run dev",
7+
"preview": "turbo run preview",
78
"lint": "turbo run lint",
89
"clean": "turbo run clean",
910
"publish": "turbo run publish",
@@ -20,7 +21,7 @@
2021
"process": "^0.11.10",
2122
"turbo": "2.0.6"
2223
},
23-
"packageManager": "pnpm@9.3.0",
24+
"packageManager": "pnpm@10.19.0",
2425
"dependencies": {
2526
"@changesets/cli": "^2.26.2",
2627
"eslint": "^8.57.1",
@@ -33,12 +34,8 @@
3334
"arrowParens": "avoid",
3435
"trailingComma": "none"
3536
},
36-
"pnpm": {
37-
"overrides": {
38-
"@connectrpc/connect-query-core": "2.1.1"
39-
}
40-
},
4137
"engines": {
42-
"node": ">=20.6.1"
38+
"node": ">=22",
39+
"pnpm": ">=10.19.0"
4340
}
4441
}

0 commit comments

Comments
 (0)