Skip to content

Commit 36efd2a

Browse files
authored
chore: manage shared workspace deps through the pnpm catalog (#7)
## Summary <!-- What does this PR change and why? --> ## OpenSpec - [ ] This PR implements an OpenSpec change: `<!-- change name -->` - [ ] No OpenSpec change is needed (small doc/fix, no shipped behavior change). ## Verification - [ ] `pnpm verify` passed. - [ ] A subset was run instead: `<!-- commands -->` because `<!-- reason -->`. ## Impact Checklist - [ ] App code (`apps/`, `packages/`) - [ ] API behavior / OpenAPI contract (`apps/api/src/routes/*.ts` zod-openapi declarations, `api/openapi.json` via `pnpm gen:openapi`) - [ ] Database schema or migration (`packages/db`) - [ ] Deployment (`deployment/`) - [ ] Documentation (`README.md`, `docs/`, `wiki/`) - [ ] CI / scripts (`.github/workflows/`, `scripts/`, `package.json`) - [ ] Secret handling: no real `.env`, tokens, cookies, private keys, database URLs, or user data committed. ## Migration / Deployment Notes <!-- If this PR affects schema, data migration, or production deployment, describe the runbook steps. Otherwise write "None". -->
1 parent 6987a5b commit 36efd2a

7 files changed

Lines changed: 232 additions & 535 deletions

File tree

‎apps/api/package.json‎

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,31 +20,31 @@
2020
"@hono/zod-validator": "^0.4.0",
2121
"@react-email/render": "2.1.0",
2222
"ali-oss": "^6.21.0",
23-
"bcryptjs": "^2.4.3",
23+
"bcryptjs": "catalog:",
2424
"dotenv": "^17.4.2",
25-
"drizzle-orm": "^0.39.0",
25+
"drizzle-orm": "catalog:",
2626
"hono": "^4.12.32",
2727
"ioredis": "^5.4.0",
2828
"lodash": "^4.18.1",
2929
"micromark": "4.0.2",
3030
"nodemailer": "^7.0.0",
31-
"react": "19.2.8",
32-
"react-dom": "19.2.8",
31+
"react": "catalog:",
32+
"react-dom": "catalog:",
3333
"react-email": "6.9.1",
3434
"undici": "^8.8.0",
35-
"uuid": "^11.0.0",
36-
"zod": "^4.4.3"
35+
"uuid": "catalog:",
36+
"zod": "catalog:"
3737
},
3838
"devDependencies": {
39-
"@types/bcryptjs": "^2.4.6",
39+
"@types/bcryptjs": "catalog:",
4040
"@types/lodash": "^4.17.24",
41-
"@types/node": "^24.0.0",
41+
"@types/node": "catalog:",
4242
"@types/nodemailer": "^8.0.0",
43-
"@types/react": "19.2.2",
44-
"@types/react-dom": "19.2.3",
45-
"@types/uuid": "^10.0.0",
46-
"tsx": "^4.19.0",
47-
"typescript": "^7.0.0",
43+
"@types/react": "catalog:",
44+
"@types/react-dom": "catalog:",
45+
"@types/uuid": "catalog:",
46+
"tsx": "catalog:",
47+
"typescript": "catalog:",
4848
"vite": "catalog:",
4949
"vite-plus": "catalog:"
5050
}

‎apps/web/package.json‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
"isbot": "^5.1.0",
2929
"lucide-react": "^1.25.0",
3030
"next-themes": "^0.4.6",
31-
"react": "^19.1.0",
32-
"react-dom": "^19.1.0",
31+
"react": "catalog:",
32+
"react-dom": "catalog:",
3333
"react-hook-form": "^7.82.0",
3434
"react-markdown": "^10.1.0",
3535
"react-router": "^7.18.0",
@@ -40,7 +40,7 @@
4040
"sonner": "^2.0.7",
4141
"swagger-ui-react": "^5.32.11",
4242
"tailwind-merge": "^3.6.0",
43-
"zod": "^4.4.3",
43+
"zod": "catalog:",
4444
"zustand": "^5.0.14"
4545
},
4646
"devDependencies": {
@@ -50,14 +50,14 @@
5050
"@testing-library/jest-dom": "^7.0.0",
5151
"@testing-library/react": "^16.3.2",
5252
"@testing-library/user-event": "^14.6.1",
53-
"@types/react": "^19.1.0",
54-
"@types/react-dom": "^19.1.0",
53+
"@types/react": "catalog:",
54+
"@types/react-dom": "catalog:",
5555
"@types/swagger-ui-react": "^5.18.0",
5656
"jsdom": "^29.1.1",
5757
"shadcn": "4.16.1",
5858
"tailwindcss": "^4.0.0",
5959
"tw-animate-css": "1.4.0",
60-
"typescript": "^7.0.0",
60+
"typescript": "catalog:",
6161
"vite": "catalog:",
6262
"vite-plus": "catalog:",
6363
"vitest": "catalog:",

‎package.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@
3131
"dependencies": {
3232
"@cnode/shared": "workspace:*",
3333
"mongodb": "^5.9.2",
34-
"pg": "^8.22.0"
34+
"pg": "catalog:"
3535
},
3636
"devDependencies": {
3737
"@fission-ai/openspec": "1.6.0",
38-
"@types/pg": "^8.20.0",
38+
"@types/pg": "catalog:",
3939
"concurrently": "^9.1.0",
40-
"tsx": "^4.23.1",
41-
"typescript": "^7.0.0",
40+
"tsx": "catalog:",
41+
"typescript": "catalog:",
4242
"vite": "catalog:",
4343
"vite-plus": "catalog:"
4444
},

‎packages/db/package.json‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,18 @@
2121
},
2222
"dependencies": {
2323
"@cnode/shared": "workspace:*",
24-
"bcryptjs": "^2.4.3",
25-
"drizzle-orm": "^0.39.0",
26-
"pg": "^8.13.0",
27-
"uuid": "^11.0.0"
24+
"bcryptjs": "catalog:",
25+
"drizzle-orm": "catalog:",
26+
"pg": "catalog:",
27+
"uuid": "catalog:"
2828
},
2929
"devDependencies": {
30-
"@types/bcryptjs": "^2.4.6",
31-
"@types/node": "^24.0.0",
32-
"@types/pg": "^8.11.0",
33-
"@types/uuid": "^10.0.0",
30+
"@types/bcryptjs": "catalog:",
31+
"@types/node": "catalog:",
32+
"@types/pg": "catalog:",
33+
"@types/uuid": "catalog:",
3434
"drizzle-kit": "^0.30.0",
35-
"tsx": "^4.19.0",
36-
"typescript": "^7.0.0"
35+
"tsx": "catalog:",
36+
"typescript": "catalog:"
3737
}
3838
}

‎packages/shared/package.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
},
1818
"dependencies": {
1919
"decode-named-character-reference": "1.3.0",
20-
"zod": "^4.4.3"
20+
"zod": "catalog:"
2121
},
2222
"devDependencies": {
23-
"@types/node": "^24.0.0",
24-
"typescript": "^7.0.0"
23+
"@types/node": "catalog:",
24+
"typescript": "catalog:"
2525
}
2626
}

0 commit comments

Comments
 (0)