Skip to content

Commit b79ac96

Browse files
Switch to pnpm catalogs (#206)
1 parent ebdabea commit b79ac96

File tree

8 files changed

+448
-223
lines changed

8 files changed

+448
-223
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22.12.0
1+
22.13.1

integrations/react/package.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,16 @@
2626
"test:build": "vite build && vitest && publint --strict"
2727
},
2828
"dependencies": {
29-
"@tanstack/query-core": "^5.66.0",
30-
"react": "^19.0.0",
31-
"react-dom": "^19.0.0"
29+
"@tanstack/query-core": "catalog:",
30+
"react": "catalog:",
31+
"react-dom": "catalog:"
3232
},
3333
"devDependencies": {
3434
"@tanstack/config": "workspace:*",
35-
"@types/react": "^19.0.8",
36-
"@types/react-dom": "^19.0.3",
37-
"@vitejs/plugin-react": "^4.3.4"
35+
"@types/react": "catalog:",
36+
"@types/react-dom": "catalog:",
37+
"@vitejs/plugin-react": "catalog:",
38+
"vite": "catalog:",
39+
"vitest": "catalog:"
3840
}
3941
}

integrations/vanilla/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
"test:build": "vite build && vitest && publint --strict"
2727
},
2828
"devDependencies": {
29-
"@tanstack/config": "workspace:*"
29+
"@tanstack/config": "workspace:*",
30+
"vite": "catalog:",
31+
"vitest": "catalog:"
3032
}
3133
}

integrations/vue/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,12 @@
2626
"test:build": "vite build && vitest && publint --strict"
2727
},
2828
"dependencies": {
29-
"vue": "^3.5.13"
29+
"vue": "catalog:"
3030
},
3131
"devDependencies": {
3232
"@tanstack/config": "workspace:*",
33-
"@vitejs/plugin-vue": "^5.2.1"
33+
"@vitejs/plugin-vue": "catalog:",
34+
"vite": "catalog:",
35+
"vitest": "catalog:"
3436
}
3537
}

package.json

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,12 @@
2323
"cipublishforce": "CI=true pnpm cipublish"
2424
},
2525
"devDependencies": {
26-
"@types/node": "^22.10.1",
27-
"jsdom": "^26.0.0",
28-
"nx": "^20.4.2",
29-
"prettier": "^3.5.0",
30-
"publint": "^0.3.4",
31-
"sherif": "^1.3.0",
32-
"typescript": "^5.5.3",
33-
"vite": "^6.1.0",
34-
"vitest": "^3.0.5"
26+
"@types/node": "catalog:",
27+
"jsdom": "catalog:",
28+
"nx": "catalog:",
29+
"prettier": "catalog:",
30+
"publint": "catalog:",
31+
"sherif": "catalog:",
32+
"typescript": "catalog:"
3533
}
3634
}

packages/config/package.json

Lines changed: 34 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -59,40 +59,41 @@
5959
"node": ">=18"
6060
},
6161
"dependencies": {
62-
"@commitlint/parse": "^19.5.0",
63-
"@eslint/js": "^9.20.0",
64-
"@stylistic/eslint-plugin-js": "^2.13.0",
65-
"commander": "^13.1.0",
66-
"esbuild-register": "^3.6.0",
67-
"eslint-plugin-import-x": "^4.6.1",
68-
"eslint-plugin-n": "^17.15.1",
69-
"globals": "^15.14.0",
70-
"interpret": "^3.1.1",
71-
"jsonfile": "^6.1.0",
72-
"liftoff": "^5.0.0",
73-
"minimist": "^1.2.8",
74-
"rollup-plugin-preserve-directives": "^0.4.0",
75-
"semver": "^7.7.1",
76-
"simple-git": "^3.27.0",
77-
"typedoc": "^0.27.7",
78-
"typedoc-plugin-frontmatter": "^1.1.2",
79-
"typedoc-plugin-markdown": "^4.4.2",
80-
"typescript-eslint": "^8.23.0",
81-
"v8flags": "^4.0.1",
82-
"vite-plugin-dts": "4.0.3",
83-
"vite-plugin-externalize-deps": "^0.9.0",
84-
"vite-tsconfig-paths": "^5.1.4",
85-
"vue-eslint-parser": "^9.4.3"
62+
"@commitlint/parse": "catalog:",
63+
"@eslint/js": "catalog:",
64+
"@stylistic/eslint-plugin-js": "catalog:",
65+
"commander": "catalog:",
66+
"esbuild-register": "catalog:",
67+
"eslint-plugin-import-x": "catalog:",
68+
"eslint-plugin-n": "catalog:",
69+
"globals": "catalog:",
70+
"interpret": "catalog:",
71+
"jsonfile": "catalog:",
72+
"liftoff": "catalog:",
73+
"minimist": "catalog:",
74+
"rollup-plugin-preserve-directives": "catalog:",
75+
"semver": "catalog:",
76+
"simple-git": "catalog:",
77+
"typedoc": "catalog:",
78+
"typedoc-plugin-frontmatter": "catalog:",
79+
"typedoc-plugin-markdown": "catalog:",
80+
"typescript-eslint": "catalog:",
81+
"v8flags": "catalog:",
82+
"vite-plugin-dts": "catalog:",
83+
"vite-plugin-externalize-deps": "catalog:",
84+
"vite-tsconfig-paths": "catalog:",
85+
"vue-eslint-parser": "catalog:"
8686
},
8787
"devDependencies": {
88-
"@types/eslint": "^9.6.1",
89-
"@types/interpret": "^1.1.3",
90-
"@types/jsonfile": "^6.1.4",
91-
"@types/liftoff": "^4.0.3",
92-
"@types/minimist": "^1.2.5",
93-
"@types/semver": "^7.5.8",
94-
"@types/v8flags": "^3.1.3",
95-
"eslint": "^9.20.0",
96-
"type-fest": "^4.34.1"
88+
"@types/eslint": "catalog:",
89+
"@types/interpret": "catalog:",
90+
"@types/jsonfile": "catalog:",
91+
"@types/liftoff": "catalog:",
92+
"@types/minimist": "catalog:",
93+
"@types/semver": "catalog:",
94+
"@types/v8flags": "catalog:",
95+
"eslint": "catalog:",
96+
"type-fest": "catalog:",
97+
"vite": "catalog:"
9798
}
9899
}

0 commit comments

Comments
 (0)