Skip to content

Commit 6fb1425

Browse files
authored
chore: use catalog for dependencies across multiple packages and the website
1 parent c11af00 commit 6fb1425

File tree

6 files changed

+66
-71
lines changed

6 files changed

+66
-71
lines changed

apps/site/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@
4444
"@radix-ui/react-toast": "^1.2.6",
4545
"@radix-ui/react-tooltip": "^1.2.4",
4646
"@tailwindcss/postcss": "~4.1.5",
47-
"@types/node": "22.15.3",
48-
"@types/react": "^19.1.0",
47+
"@types/node": "catalog:",
48+
"@types/react": "catalog:",
4949
"@vcarl/remark-headings": "~0.1.0",
5050
"@vercel/analytics": "~1.5.0",
5151
"@vercel/otel": "~1.11.0",
5252
"@vercel/speed-insights": "~1.2.0",
53-
"classnames": "~2.5.1",
53+
"classnames": "catalog:",
5454
"cross-env": "7.0.3",
5555
"feed": "~4.2.2",
5656
"github-slugger": "~2.0.0",
@@ -60,7 +60,7 @@
6060
"next-intl": "~4.1.0",
6161
"next-themes": "~0.4.6",
6262
"postcss-calc": "~10.1.1",
63-
"react": "^19.1.0",
63+
"react": "catalog:",
6464
"react-dom": "^19.1.0",
6565
"reading-time": "~1.5.0",
6666
"rehype-autolink-headings": "~7.1.0",
@@ -69,7 +69,7 @@
6969
"remark-reading-time": "~2.0.1",
7070
"semver": "~7.7.1",
7171
"sval": "^0.6.3",
72-
"tailwindcss": "~4.0.17",
72+
"tailwindcss": "catalog:",
7373
"vfile": "~6.0.3",
7474
"vfile-matter": "~5.0.1"
7575
},
@@ -106,7 +106,7 @@
106106
"stylelint-order": "7.0.0",
107107
"stylelint-selector-bem-pattern": "4.0.1",
108108
"tsx": "^4.19.3",
109-
"typescript": "~5.8.2",
109+
"typescript": "catalog:",
110110
"typescript-eslint": "~8.31.1",
111111
"user-agent-data-types": "0.4.2",
112112
"wrangler": "^4.13.0"

packages/i18n/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
"devDependencies": {
2626
"eslint-import-resolver-typescript": "~4.3.1",
27-
"typescript": "~5.8.2",
27+
"typescript": "catalog:",
2828
"typescript-eslint": "~8.31.1"
2929
}
3030
}

packages/rehype-shiki/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"dependencies": {
1414
"@shikijs/core": "^3.3.0",
1515
"@shikijs/engine-javascript": "^3.3.0",
16-
"classnames": "~2.5.1",
16+
"classnames": "catalog:",
1717
"hast-util-to-string": "^3.0.1",
1818
"shiki": "~3.3.0",
1919
"unist-util-visit": "^5.0.0"

packages/ui-components/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@
4444
"@radix-ui/react-tooltip": "~1.2.4",
4545
"@tailwindcss/postcss": "~4.1.5",
4646
"@vcarl/remark-headings": "~0.1.0",
47-
"classnames": "~2.5.1",
47+
"classnames": "catalog:",
4848
"postcss-calc": "^10.1.1",
49-
"tailwindcss": "~4.0.17"
49+
"tailwindcss": "catalog:"
5050
},
5151
"devDependencies": {
5252
"@storybook/addon-controls": "^8.6.12",
@@ -58,23 +58,23 @@
5858
"@storybook/react": "^8.6.12",
5959
"@storybook/react-webpack5": "^8.6.12",
6060
"@testing-library/user-event": "~14.6.1",
61-
"@types/node": "22.15.3",
62-
"@types/react": "^19.1.0",
61+
"@types/node": "catalog:",
62+
"@types/react": "catalog:",
6363
"cross-env": "^7.0.3",
6464
"css-loader": "~7.1.2",
6565
"eslint-plugin-react": "~7.37.4",
6666
"eslint-plugin-storybook": "~0.12.0",
6767
"global-jsdom": "^26.0.0",
6868
"postcss-loader": "~8.1.1",
69-
"react": "^19.1.0",
69+
"react": "catalog:",
7070
"storybook": "^8.6.11",
7171
"style-loader": "~4.0.0",
7272
"stylelint": "^16.19.1",
7373
"stylelint-config-standard": "^38.0.0",
7474
"stylelint-order": "7.0.0",
7575
"stylelint-selector-bem-pattern": "4.0.1",
7676
"tsx": "^4.19.3",
77-
"typescript": "~5.8.2",
77+
"typescript": "catalog:",
7878
"typescript-eslint": "~8.31.1"
7979
},
8080
"imports": {

pnpm-lock.yaml

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

pnpm-workspace.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,16 @@ onlyBuiltDependencies:
1111
- esbuild
1212
- sharp
1313
- unrs-resolver
14+
15+
# We use catalog for dependencies that are shared across
16+
# multiple packages in the monorepo.
17+
# This allows us to manage versions and updates in one place.
18+
# https://pnpm.io/en/catalogs
19+
20+
catalog:
21+
'@types/node': 22.15.3
22+
'@types/react': ^19.1.0
23+
classnames: ~2.5.1
24+
react: ^19.1.0
25+
tailwindcss: ~4.0.17
26+
typescript: ~5.8.2

0 commit comments

Comments
 (0)