Skip to content

Commit 9119a63

Browse files
Boshenclaude
andcommitted
chore: move all dependencies to pnpm catalog
- Add all shared dependencies to pnpm-workspace.yaml catalog - Update all package.json files to use catalog: references - Remove redundant typescript from packages (vite-plus provides it) - Centralizes version management for easier updates Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 60d194d commit 9119a63

7 files changed

Lines changed: 126 additions & 76 deletions

File tree

apps/dashboard/package.json

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,24 @@
1414
"@vibe/shared": "workspace:*",
1515
"@vibe/ui": "workspace:*",
1616
"@vibe/utils": "workspace:*",
17-
"lucide-react": "^0.562.0",
18-
"react": "^19.1.1",
19-
"react-dom": "^19.1.1",
20-
"react-router-dom": "^7.8.2",
21-
"recharts": "^3.0.0",
22-
"semver": "^7.7.2"
17+
"lucide-react": "catalog:",
18+
"react": "catalog:",
19+
"react-dom": "catalog:",
20+
"react-router-dom": "catalog:",
21+
"recharts": "catalog:",
22+
"semver": "catalog:"
2323
},
2424
"devDependencies": {
25-
"@tailwindcss/vite": "^4.1.13",
26-
"@testing-library/react": "^16.3.0",
27-
"@testing-library/user-event": "^14.6.1",
28-
"@types/react": "^19.1.10",
29-
"@types/react-dom": "^19.1.7",
30-
"@types/react-router-dom": "^5.3.3",
31-
"@types/semver": "^7.7.1",
32-
"playwright": "^1.55.0",
25+
"@tailwindcss/vite": "catalog:",
26+
"@testing-library/react": "catalog:",
27+
"@testing-library/user-event": "catalog:",
28+
"@types/react": "catalog:",
29+
"@types/react-dom": "catalog:",
30+
"@types/react-router-dom": "catalog:",
31+
"@types/semver": "catalog:",
32+
"playwright": "catalog:",
33+
"tailwindcss": "catalog:",
3334
"vite": "catalog:",
34-
"tailwindcss": "^4.1.13",
35-
"typescript": "catalog:",
3635
"vite-plus": "catalog:"
3736
}
3837
}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"generate": "node tools/override-rolldown.mjs --stats"
1818
},
1919
"devDependencies": {
20-
"vite-plus": "catalog:",
21-
"playwright": "^1.56.1",
22-
"top-github-dependents-by-stars": "^1.0.4"
20+
"playwright": "catalog:",
21+
"top-github-dependents-by-stars": "catalog:",
22+
"vite-plus": "catalog:"
2323
}
2424
}

packages/shared/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@
1212
}
1313
},
1414
"dependencies": {
15-
"react": "^19.1.1",
16-
"recharts": "^3.0.0"
15+
"react": "catalog:",
16+
"recharts": "catalog:"
1717
},
1818
"devDependencies": {
19-
"@types/react": "^19.1.10",
20-
"typescript": "catalog:"
19+
"@types/react": "catalog:"
2120
},
2221
"peerDependencies": {
2322
"react": "^18.0.0 || ^19.0.0"

packages/ui/package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,13 @@
1212
}
1313
},
1414
"dependencies": {
15-
"lucide-react": "^0.562.0",
16-
"react": "^19.1.1",
17-
"react-dom": "^19.1.1"
15+
"lucide-react": "catalog:",
16+
"react": "catalog:",
17+
"react-dom": "catalog:"
1818
},
1919
"devDependencies": {
20-
"@types/react": "^19.1.10",
21-
"@types/react-dom": "^19.1.7",
22-
"typescript": "catalog:"
20+
"@types/react": "catalog:",
21+
"@types/react-dom": "catalog:"
2322
},
2423
"peerDependencies": {
2524
"react": "^18.0.0 || ^19.0.0",

packages/utils/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@
1212
}
1313
},
1414
"dependencies": {
15-
"semver": "^7.7.2"
15+
"semver": "catalog:"
1616
},
1717
"devDependencies": {
18-
"@types/semver": "^7.7.1",
19-
"typescript": "catalog:"
18+
"@types/semver": "catalog:"
2019
}
2120
}

pnpm-lock.yaml

Lines changed: 78 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,29 @@ packages:
55
verifyDepsBeforeRun: install
66

77
catalog:
8+
# vite-plus
89
vite: npm:@voidzero-dev/vite-plus-core@latest
9-
typescript: ^5.9.2
1010
vitest: npm:@voidzero-dev/vite-plus-test@latest
1111
vite-plus: latest
12+
# core
13+
typescript: ^5.9.2
14+
react: ^19.1.1
15+
react-dom: ^19.1.1
16+
react-router-dom: ^7.8.2
17+
recharts: ^3.0.0
18+
semver: ^7.7.2
19+
lucide-react: ^0.562.0
20+
# dev
21+
playwright: ^1.56.1
22+
tailwindcss: ^4.1.13
23+
"@tailwindcss/vite": ^4.1.13
24+
"@testing-library/react": ^16.3.0
25+
"@testing-library/user-event": ^14.6.1
26+
"@types/react": ^19.1.10
27+
"@types/react-dom": ^19.1.7
28+
"@types/react-router-dom": ^5.3.3
29+
"@types/semver": ^7.7.1
30+
top-github-dependents-by-stars: ^1.0.4
1231

1332
minimumReleaseAge: 1440
1433

0 commit comments

Comments
 (0)