Skip to content

Commit

Permalink
chore(pnpm): use catalog (#1229)
Browse files Browse the repository at this point in the history
  • Loading branch information
manudeli authored Aug 22, 2024
1 parent ccdd930 commit a8613ba
Show file tree
Hide file tree
Showing 23 changed files with 378 additions and 212 deletions.
4 changes: 2 additions & 2 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
- "packages/react-image/**/*"
"suspensive.org":
- "docs/suspensive.org/**/*"
"visualization":
- "websites/visualization/**/*"
"examples":
- "examples/**/*"
"eslint":
- "configs/eslint/**/*"
- "**/.eslint*"
Expand Down
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"]
"recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode", "antfu.pnpm-catalog-lens"]
}
36 changes: 18 additions & 18 deletions docs/suspensive.org/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,30 +21,30 @@
"start": "next start -p 4000"
},
"dependencies": {
"@codesandbox/sandpack-react": "^2.14.4",
"@codesandbox/sandpack-themes": "^2.0.21",
"@codesandbox/sandpack-react": "catalog:",
"@codesandbox/sandpack-themes": "catalog:",
"@suspensive/react": "workspace:*",
"@suspensive/react-query-4": "workspace:*",
"@tanstack/react-query": "4",
"@tanstack/react-query-devtools": "4",
"@tanstack/react-query": "^4.36.1",
"@tanstack/react-query-devtools": "^4.36.1",
"d3": "^7.9.0",
"next": "^14.2.5",
"nextra": "^2.13.4",
"nextra-theme-docs": "^2.13.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"remark-sandpack": "^0.0.3",
"sharp": "^0.33.4"
"next": "catalog:",
"nextra": "catalog:",
"nextra-theme-docs": "catalog:",
"react": "catalog:",
"react-dom": "catalog:",
"remark-sandpack": "catalog:",
"sharp": "catalog:"
},
"devDependencies": {
"@next/eslint-plugin-next": "^14.2.5",
"@next/eslint-plugin-next": "catalog:",
"@suspensive/eslint-config": "workspace:*",
"@types/d3": "^7.4.3",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"autoprefixer": "^10.4.20",
"postcss": "^8.4.41",
"prettier-plugin-tailwindcss": "^0.6.6",
"tailwindcss": "^3.4.10"
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"autoprefixer": "catalog:",
"postcss": "catalog:",
"prettier-plugin-tailwindcss": "catalog:",
"tailwindcss": "catalog:"
}
}
21 changes: 11 additions & 10 deletions examples/next-streaming-react-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,19 @@
"@tanstack/react-query": "^5.51.23",
"@tanstack/react-query-devtools": "^5.51.23",
"@tanstack/react-query-next-experimental": "^5.51.23",
"next": "^14.2.5",
"react": "^18.3.1",
"react-dom": "^18.3.1"
"next": "catalog:",
"react": "catalog:",
"react-dom": "catalog:",
"sharp": "catalog:"
},
"devDependencies": {
"@next/eslint-plugin-next": "^14.2.5",
"@next/eslint-plugin-next": "catalog:",
"@suspensive/eslint-config": "workspace:*",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"autoprefixer": "^10.4.20",
"postcss": "^8.4.41",
"prettier-plugin-tailwindcss": "^0.6.6",
"tailwindcss": "^3.4.10"
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"autoprefixer": "catalog:",
"postcss": "catalog:",
"prettier-plugin-tailwindcss": "catalog:",
"tailwindcss": "catalog:"
}
}
12 changes: 6 additions & 6 deletions examples/react-native-playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
},
"dependencies": {
"@suspensive/react-native": "workspace:*",
"expo": "^51.0.22",
"expo-status-bar": "~1.12.1",
"react": "^18.3.1",
"react-native": "0.74.3"
"expo": "catalog:",
"expo-status-bar": "catalog:",
"react": "catalog:",
"react-native": "catalog:"
},
"devDependencies": {
"@babel/core": "^7.24.9",
"@expo/webpack-config": "^19.0.1",
"@types/react": "^18.3.3"
"@expo/webpack-config": "catalog:",
"@types/react": "catalog:"
}
}
21 changes: 11 additions & 10 deletions examples/react-query-next-experimental-4-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,19 @@
"@suspensive/react-query-next-experimental-4": "workspace:*",
"@tanstack/react-query": "^4.36.1",
"@tanstack/react-query-devtools": "^4.36.1",
"next": "^14.2.5",
"react": "^18.3.1",
"react-dom": "^18.3.1"
"next": "catalog:",
"react": "catalog:",
"react-dom": "catalog:",
"sharp": "catalog:"
},
"devDependencies": {
"@next/eslint-plugin-next": "^14.2.5",
"@next/eslint-plugin-next": "catalog:",
"@suspensive/eslint-config": "workspace:*",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"autoprefixer": "^10.4.20",
"postcss": "^8.4.41",
"prettier-plugin-tailwindcss": "^0.6.6",
"tailwindcss": "^3.4.10"
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"autoprefixer": "catalog:",
"postcss": "catalog:",
"prettier-plugin-tailwindcss": "catalog:",
"tailwindcss": "catalog:"
}
}
29 changes: 15 additions & 14 deletions examples/visualization/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,25 @@
"@suspensive/react": "workspace:*",
"@suspensive/react-image": "workspace:*",
"@suspensive/react-query": "workspace:*",
"@tanstack/react-query": "4",
"@tanstack/react-query": "^4.36.1",
"@tanstack/react-query-devtools": "^4.36.1",
"axios": "^1.7.4",
"clsx": "^2.1.1",
"next": "^14.2.5",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"zod": "^3.23.8"
"axios": "catalog:",
"clsx": "catalog:",
"next": "catalog:",
"react": "catalog:",
"react-dom": "catalog:",
"sharp": "catalog:",
"zod": "catalog:"
},
"devDependencies": {
"@next/eslint-plugin-next": "^14.2.5",
"@next/eslint-plugin-next": "catalog:",
"@suspensive/eslint-config": "workspace:*",
"@suspensive/tsconfig": "workspace:*",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"autoprefixer": "^10.4.20",
"postcss": "^8.4.41",
"prettier-plugin-tailwindcss": "^0.6.6",
"tailwindcss": "^3.4.10"
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"autoprefixer": "catalog:",
"postcss": "catalog:",
"prettier-plugin-tailwindcss": "catalog:",
"tailwindcss": "catalog:"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"ci:eslint": "turbo run ci:eslint",
"ci:knip": "pnpm prepack && pnpm knip",
"ci:publint": "turbo run ci:publint",
"ci:sherif": "sherif --ignore-package \"./examples/*\" --ignore-package \"./websites/*\" --ignore-package \"./docs/*\" --ignore-dependency \"@tanstack/react-query\" ",
"ci:sherif": "sherif --ignore-package \"./examples/*\" --ignore-package \"./docs/*\" --ignore-dependency \"@tanstack/react-query\" ",
"ci:test": "turbo run ci:test",
"ci:type": "turbo run ci:type",
"clean": "turbo run clean",
Expand Down
4 changes: 2 additions & 2 deletions packages/cache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@
"@suspensive/react": "workspace:*",
"@suspensive/tsconfig": "workspace:*",
"@suspensive/tsup": "workspace:*",
"@types/react": "^18.3.3",
"react": "^18.3.1"
"@types/react": "catalog:",
"react": "catalog:"
},
"peerDependencies": {
"react": "^18"
Expand Down
4 changes: 2 additions & 2 deletions packages/jotai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@
"@suspensive/eslint-config": "workspace:*",
"@suspensive/tsconfig": "workspace:*",
"@suspensive/tsup": "workspace:*",
"@types/react": "^18.3.3",
"@types/react": "catalog:",
"jotai": "^2.8.4",
"react": "^18.3.1"
"react": "catalog:"
},
"peerDependencies": {
"jotai": "^2",
Expand Down
4 changes: 2 additions & 2 deletions packages/react-dom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
"@suspensive/eslint-config": "workspace:*",
"@suspensive/tsconfig": "workspace:*",
"@suspensive/tsup": "workspace:*",
"@types/react": "^18.3.3",
"react": "^18.3.1"
"@types/react": "catalog:",
"react": "catalog:"
},
"peerDependencies": {
"react": "^18"
Expand Down
4 changes: 2 additions & 2 deletions packages/react-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
"@suspensive/eslint-config": "workspace:*",
"@suspensive/tsconfig": "workspace:*",
"@suspensive/tsup": "workspace:*",
"@types/react": "^18.3.3",
"react": "^18.3.1"
"@types/react": "catalog:",
"react": "catalog:"
},
"peerDependencies": {
"react": "^18"
Expand Down
16 changes: 8 additions & 8 deletions packages/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@
"@suspensive/eslint-config": "workspace:*",
"@suspensive/tsconfig": "workspace:*",
"@suspensive/tsup": "workspace:*",
"@testing-library/react-native": "^12.5.2",
"@types/react": "^18.3.3",
"babel-jest": "^29.7.0",
"expo": "^51.0.22",
"jest": "^29.7.0",
"jest-expo": "^51.0.3",
"react": "^18.3.1",
"react-native": "0.74.3",
"@testing-library/react-native": "catalog:",
"@types/react": "catalog:",
"babel-jest": "catalog:",
"expo": "catalog:",
"jest": "catalog:",
"jest-expo": "catalog:",
"react": "catalog:",
"react-native": "catalog:",
"ts-node": "^10.9.2"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/react-query-4/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
"@suspensive/tsconfig": "workspace:*",
"@suspensive/tsup": "workspace:*",
"@tanstack/react-query": "^4.36.1",
"@types/react": "^18.3.3",
"react": "^18.3.1"
"@types/react": "catalog:",
"react": "catalog:"
},
"peerDependencies": {
"@suspensive/react": "workspace:^2.14.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/react-query-5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
"@suspensive/tsconfig": "workspace:*",
"@suspensive/tsup": "workspace:*",
"@tanstack/react-query": "^5.51.23",
"@types/react": "^18.3.3",
"react": "^18.3.1"
"@types/react": "catalog:",
"react": "catalog:"
},
"peerDependencies": {
"@suspensive/react": "workspace:^2.14.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/react-query-next-experimental-4/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@
"@suspensive/tsconfig": "workspace:*",
"@suspensive/tsup": "workspace:*",
"@tanstack/react-query": "^4.36.1",
"@types/react": "^18.3.3",
"next": "^14.2.5",
"react": "^18.3.1"
"@types/react": "catalog:",
"next": "catalog:",
"react": "catalog:"
},
"peerDependencies": {
"@tanstack/react-query": "^4",
Expand Down
6 changes: 3 additions & 3 deletions packages/react-query-next-experimental/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@
"@suspensive/eslint-config": "workspace:*",
"@suspensive/tsconfig": "workspace:*",
"@suspensive/tsup": "workspace:*",
"@types/react": "^18.3.3",
"next": "^14.2.5",
"react": "^18.3.1"
"@types/react": "catalog:",
"next": "catalog:",
"react": "catalog:"
},
"peerDependencies": {
"@tanstack/react-query": "^4 || ^5",
Expand Down
4 changes: 2 additions & 2 deletions packages/react-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@
"@suspensive/tsconfig": "workspace:*",
"@suspensive/tsup": "workspace:*",
"@tanstack/react-query": "^4.36.1",
"@types/react": "^18.3.3",
"react": "^18.3.1"
"@types/react": "catalog:",
"react": "catalog:"
},
"peerDependencies": {
"@suspensive/react": "workspace:^2.14.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@
"@suspensive/eslint-config": "workspace:*",
"@suspensive/tsconfig": "workspace:*",
"@suspensive/tsup": "workspace:*",
"@types/react": "^18.3.3",
"react": "^18.3.1"
"@types/react": "catalog:",
"react": "catalog:"
},
"peerDependencies": {
"react": "^18"
Expand Down
4 changes: 2 additions & 2 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
"@suspensive/eslint-config": "workspace:*",
"@suspensive/tsconfig": "workspace:*",
"@suspensive/tsup": "workspace:*",
"@types/react": "^18.3.3",
"react": "^18.3.1"
"@types/react": "catalog:",
"react": "catalog:"
},
"peerDependencies": {
"react": "^18"
Expand Down
1 change: 0 additions & 1 deletion packlint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ export default {
'./docs/*/package.json',
'./examples/*/package.json',
'./packages/*/package.json',
'./websites/*/package.json',
'./package.json',
],
}
Loading

0 comments on commit a8613ba

Please sign in to comment.