Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 25 additions & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ catalog:
tsdown: 0.18.2
typescript: 5.9.3
npm-run-all2: 8.0.4
vite: 7.2.2
vitest: 4.0.18
'@types/node': 22.18.12
'@types/node': 22.18.12 # pinned to minimum supported version by orval
'@scalar/openapi-types': 0.5.3

# using named catalogs to align packages in /tests with /samples
Expand All @@ -41,6 +42,29 @@ catalogs:
# Build tooling uses last available patch
'@angular/build': 21.1.4
'@angular/cli': 21.1.4
axios:
axios: 1.13.5
tooling:
'@faker-js/faker': 10.3.0
msw: 2.12.10
hono:
hono: 4.11.9
'@hono/zod-validator': 0.7.6
zod3:
zod: 3.25.76
swr:
swr: 2.3.6
vue:
vue: 3.5.26
vue-tsc: 3.2.4
'@tanstack/vue-query': 5.92.7
svelte:
svelte: 5.53.0
svelte-check: 3.8.6
'@tanstack/svelte-query': 4.41.0
react:
react: 18.3.1
'@types/react': 18.3.24
'@tanstack/react-query': 5.62.16
mcp:
'@modelcontextprotocol/sdk': 1.26.0
2 changes: 1 addition & 1 deletion packages/hono/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"remeda": "^2.32.0"
},
"devDependencies": {
"@hono/zod-validator": "^0.7.4",
"@hono/zod-validator": "catalog:hono",
"@types/fs-extra": "^11.0.4",
"eslint": "catalog:",
"rimraf": "catalog:",
Expand Down
6 changes: 3 additions & 3 deletions samples/angular-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@angular/router": "catalog:angular",
"rxjs": "catalog:angular",
"tslib": "catalog:",
"zod": "^3.25.76"
"zod": "catalog:zod3"
},
"devDependencies": {
"@angular/build": "catalog:angular",
Expand All @@ -35,8 +35,8 @@
"msw": "catalog:tooling",
"orval": "workspace:*",
"prettier": "catalog:",
"rimraf": "^6.1.2",
"typescript": "~5.9.3",
"rimraf": "catalog:",
"typescript": "catalog:",
"vitest": "catalog:"
},
"dependenciesMeta": {
Expand Down
4 changes: 2 additions & 2 deletions samples/angular-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
"msw": "catalog:tooling",
"orval": "workspace:*",
"prettier": "catalog:",
"typescript": "~5.9.3",
"vitest": "^4.0.16"
"typescript": "catalog:",
"vitest": "catalog:"
},
"msw": {
"workerDirectory": [
Expand Down
4 changes: 2 additions & 2 deletions samples/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
"author": "Victor Bury",
"license": "ISC",
"devDependencies": {
"msw": "catalog:tooling",
"npm-run-all2": "catalog:",
"orval": "workspace:*",
"prettier": "catalog:",
"vitest": "catalog:"
},
"dependencies": {
"@faker-js/faker": "catalog:tooling",
"axios": "^1.13.5",
"msw": "^2.12.7"
"axios": "catalog:axios"
},
"dependenciesMeta": {
"msw": {
Expand Down
4 changes: 2 additions & 2 deletions samples/hono/composite-routes-with-tags-split/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"test:snapshots:update": "yarn test:snapshots --update"
},
"dependencies": {
"@hono/zod-validator": "^0.7.3",
"hono": "^4.11.7"
"@hono/zod-validator": "catalog:hono",
"hono": "catalog:hono"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20260131.0",
Expand Down
4 changes: 2 additions & 2 deletions samples/hono/hono-with-fetch-client/hono-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"deploy": "wrangler deploy --minify src/index.ts"
},
"dependencies": {
"@hono/zod-validator": "^0.7.3",
"hono": "^4.11.7"
"@hono/zod-validator": "catalog:hono",
"hono": "catalog:hono"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20260131.0",
Expand Down
8 changes: 4 additions & 4 deletions samples/hono/hono-with-fetch-client/next-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@
},
"dependencies": {
"next": "^15.5.7",
"react": "^18.3.1",
"react": "catalog:react",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@faker-js/faker": "catalog:tooling",
"@types/node": "^22.18.12",
"@types/react": "^18.3.24",
"@types/node": "catalog:",
"@types/react": "catalog:react",
"@types/react-dom": "^18.3.7",
"postcss": "8.5.6",
"tailwindcss": "^3.4.17",
"typescript": "~5.9.3"
"typescript": "catalog:"
}
}
6 changes: 3 additions & 3 deletions samples/hono/hono-with-zod/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"test:snapshots:update": "yarn test:snapshots --update"
},
"dependencies": {
"@hono/zod-validator": "^0.7.3",
"hono": "^4.11.7",
"zod": "^3.25.76"
"@hono/zod-validator": "catalog:hono",
"hono": "catalog:hono",
"zod": "catalog:zod3"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20260131.0",
Expand Down
8 changes: 4 additions & 4 deletions samples/mcp/petstore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
"test:snapshots:update": "yarn test:snapshots --update"
},
"dependencies": {
"@modelcontextprotocol/sdk": "1.26.0",
"zod": "^3.25.76"
"@modelcontextprotocol/sdk": "catalog:mcp",
"zod": "catalog:zod3"
},
"devDependencies": {
"@types/node": "^22.18.12",
"@types/node": "catalog:",
"orval": "workspace:*",
"prettier": "catalog:",
"ts-node": "^10.9.2",
"typescript": "~5.9.3",
"typescript": "catalog:",
"vitest": "catalog:"
}
}
10 changes: 5 additions & 5 deletions samples/next-app-with-fetch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,22 @@
},
"dependencies": {
"next": "14.2.35",
"react": "^18.3.1",
"react": "catalog:react",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@faker-js/faker": "catalog:tooling",
"@types/node": "^22.18.12",
"@types/react": "^18.3.24",
"@types/node": "catalog:",
"@types/react": "catalog:react",
"@types/react-dom": "^18.3.7",
"eslint": "^9.39.2",
"eslint": "catalog:",
"eslint-config-next": "16.1.2",
"msw": "catalog:tooling",
"orval": "workspace:*",
"postcss": "8.5.6",
"prettier": "catalog:",
"tailwindcss": "^3.4.17",
"typescript": "~5.9.3",
"typescript": "catalog:",
"vitest": "catalog:"
},
"dependenciesMeta": {
Expand Down
12 changes: 6 additions & 6 deletions samples/react-app-with-swr/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
"type": "module",
"dependencies": {
"@faker-js/faker": "catalog:tooling",
"@types/node": "^22.18.12",
"@types/react": "^18.3.24",
"@types/node": "catalog:",
"@types/react": "catalog:react",
"@types/react-dom": "^18.3.7",
"axios": "^1.13.5",
"axios": "catalog:axios",
"msw": "catalog:tooling",
"react": "^18.3.1",
"react": "catalog:react",
"react-dom": "^18.3.1",
"react-scripts": "^5.0.1",
"swr": "^2.3.6",
"typescript": "~5.9.3"
"swr": "catalog:swr",
"typescript": "catalog:"
},
"devDependencies": {
"orval": "workspace:*",
Expand Down
12 changes: 6 additions & 6 deletions samples/react-app-with-swr/fetch-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,24 @@
"test:snapshots:update": "yarn test:snapshots --update"
},
"dependencies": {
"react": "^18.3.1",
"react": "catalog:react",
"react-dom": "^18.3.1",
"swr": "^2.3.6"
"swr": "catalog:swr"
},
"devDependencies": {
"@faker-js/faker": "catalog:tooling",
"@types/react": "^18.3.24",
"@types/react": "catalog:react",
"@types/react-dom": "^18.3.7",
"@typescript-eslint/eslint-plugin": "^8.52.0",
"@typescript-eslint/parser": "^8.50.1",
"@vitejs/plugin-react": "^5.1.2",
"eslint": "^9.39.2",
"eslint": "catalog:",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.24",
"orval": "workspace:*",
"prettier": "catalog:",
"typescript": "~5.9.3",
"vite": "^7.2.2",
"typescript": "catalog:",
"vite": "catalog:",
"vitest": "catalog:"
}
}
10 changes: 5 additions & 5 deletions samples/react-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@
},
"dependencies": {
"@faker-js/faker": "catalog:tooling",
"@types/node": "^22.18.12",
"@types/react": "^18.3.24",
"@types/node": "catalog:",
"@types/react": "catalog:react",
"@types/react-dom": "^18.3.7",
"axios": "^1.13.5",
"react": "^18.3.1",
"axios": "catalog:axios",
"react": "catalog:react",
"react-dom": "^18.3.1",
"react-query": "^3.39.3",
"react-scripts": "^5.0.1",
"typescript": "~5.9.3"
"typescript": "catalog:"
},
"devDependencies": {
"msw": "catalog:tooling",
Expand Down
12 changes: 6 additions & 6 deletions samples/react-query/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
"type": "module",
"dependencies": {
"@faker-js/faker": "catalog:tooling",
"@tanstack/react-query": "~5.62.16",
"@types/node": "^22.18.12",
"@types/react": "^18.3.24",
"@tanstack/react-query": "catalog:react",
"@types/node": "catalog:",
"@types/react": "catalog:react",
"@types/react-dom": "^18.3.7",
"ajv": "^8.18.0",
"axios": "^1.13.5",
"axios": "catalog:axios",
"msw": "catalog:tooling",
"react": "^18.3.1",
"react": "catalog:react",
"react-dom": "^18.3.1",
"react-scripts": "^5.0.1",
"typescript": "~5.9.3"
"typescript": "catalog:"
},
"devDependencies": {
"orval": "workspace:*",
Expand Down
12 changes: 6 additions & 6 deletions samples/react-query/custom-fetch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,24 @@
"test": "tsc --noEmit"
},
"dependencies": {
"@tanstack/react-query": "~5.62.16",
"react": "^18.3.1",
"@tanstack/react-query": "catalog:react",
"react": "catalog:react",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@faker-js/faker": "catalog:tooling",
"@types/react": "^18.3.24",
"@types/react": "catalog:react",
"@types/react-dom": "^18.3.7",
"@typescript-eslint/eslint-plugin": "^8.52.0",
"@typescript-eslint/parser": "^8.50.1",
"@vitejs/plugin-react": "^5.1.2",
"eslint": "^9.39.2",
"eslint": "catalog:",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.24",
"orval": "workspace:*",
"prettier": "catalog:",
"typescript": "~5.9.3",
"vite": "^7.2.2",
"typescript": "catalog:",
"vite": "catalog:",
"vitest": "catalog:"
}
}
4 changes: 2 additions & 2 deletions samples/react-query/form-data-mutator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
},
"dependencies": {
"@faker-js/faker": "catalog:tooling",
"axios": "^1.13.5",
"react": "^18.3.1",
"axios": "catalog:axios",
"react": "catalog:react",
"react-query": "^3.39.3"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions samples/react-query/form-data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
},
"dependencies": {
"@faker-js/faker": "catalog:tooling",
"axios": "^1.13.5",
"react": "^18.3.1",
"axios": "catalog:axios",
"react": "catalog:react",
"react-query": "^3.39.3"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions samples/react-query/form-url-encoded-mutator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
},
"dependencies": {
"@faker-js/faker": "catalog:tooling",
"axios": "^1.13.5",
"react": "^18.3.1",
"axios": "catalog:axios",
"react": "catalog:react",
"react-query": "^3.39.3"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions samples/react-query/form-url-encoded/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
},
"dependencies": {
"@faker-js/faker": "catalog:tooling",
"axios": "^1.13.5",
"react": "^18.3.1",
"axios": "catalog:axios",
"react": "catalog:react",
"react-query": "^3.39.3"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions samples/react-query/hook-mutator-axios/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
},
"dependencies": {
"@faker-js/faker": "catalog:tooling",
"axios": "^1.13.5",
"react": "^18.3.1",
"axios": "catalog:axios",
"react": "catalog:react",
"react-query": "^3.39.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion samples/react-query/hook-mutator-fetch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@faker-js/faker": "catalog:tooling",
"react": "^18.3.1",
"react": "catalog:react",
"react-query": "^3.39.3"
},
"devDependencies": {
Expand Down
Loading