Skip to content

Commit 71d07eb

Browse files
committed
chore: use pnpm catalogs
1 parent 0b2cc6e commit 71d07eb

File tree

6 files changed

+3066
-2342
lines changed

6 files changed

+3066
-2342
lines changed

apps/docs/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,21 @@
1111
"dependencies": {
1212
"@repo/ui": "workspace:*",
1313
"next": "14.2.8",
14-
"react": "^18",
15-
"react-dom": "^18"
14+
"react": "catalog:react18",
15+
"react-dom": "catalog:react18"
1616
},
1717
"devDependencies": {
1818
"@next/eslint-plugin-next": "14.2.8",
1919
"@repo/eslint-config": "workspace:*",
2020
"@repo/typescript-config": "workspace:*",
21-
"@types/eslint": "^8",
22-
"@types/node": "^20",
23-
"@types/react": "^18",
24-
"@types/react-dom": "^18",
21+
"@types/eslint": "catalog:",
22+
"@types/node": "catalog:",
23+
"@types/react": "catalog:react18",
24+
"@types/react-dom": "catalog:react18",
2525
"autoprefixer": "^10",
26-
"eslint": "^8",
26+
"eslint": "catalog:",
2727
"postcss": "^8",
28-
"tailwindcss": "^3.4.10",
29-
"typescript": "^5"
28+
"tailwindcss": "catalog:",
29+
"typescript": "catalog:"
3030
}
3131
}

package.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "turborepo-shadcn-ui",
3-
"version": "1.4.2",
3+
"version": "1.5.0",
44
"private": true,
55
"license": "MIT",
66
"scripts": {
@@ -13,11 +13,15 @@
1313
"devDependencies": {
1414
"@repo/eslint-config": "workspace:*",
1515
"@repo/typescript-config": "workspace:*",
16-
"prettier": "^3.3.3",
16+
"prettier": "catalog:",
1717
"turbo": "2.1.1"
1818
},
19-
"packageManager": "pnpm@8.9.0",
19+
"packageManager": "pnpm@9.12.0",
2020
"engines": {
21-
"node": ">=18"
21+
"node": ">=20.17.0"
22+
},
23+
"volta": {
24+
"node": "20.17.0",
25+
"pnpm": "9.12.0"
2226
}
2327
}

packages/eslint-config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
"@vercel/style-guide": "^6.0.0",
1414
"eslint-config-turbo": "2.1.1",
1515
"eslint-plugin-only-warn": "^1.1.0",
16-
"typescript": "^5"
16+
"typescript": "catalog:"
1717
}
1818
}

packages/ui/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@
1212
"devDependencies": {
1313
"@repo/eslint-config": "workspace:*",
1414
"@repo/typescript-config": "workspace:*",
15-
"@types/node": "^20",
16-
"@types/react": "^18",
15+
"@types/node": "catalog:",
16+
"@types/react": "catalog:react18",
1717
"autoprefixer": "^10",
1818
"postcss": "^8",
1919
"postcss-load-config": "^6",
20-
"tailwindcss": "^3.4.10",
21-
"typescript": "^5"
20+
"tailwindcss": "catalog:",
21+
"typescript": "catalog:"
2222
},
2323
"dependencies": {
2424
"@radix-ui/react-slot": "^1.0.2",
2525
"class-variance-authority": "^0.7.0",
2626
"clsx": "^2.1.1",
27-
"lucide-react": "^0.395.0",
27+
"lucide-react": "catalog:",
2828
"tailwind-merge": "^2.3.0",
2929
"tailwindcss-animate": "^1.0.7"
3030
},

0 commit comments

Comments
 (0)