Skip to content

Commit 62e75e4

Browse files
committed
Update tanstack vertion
1 parent 21dcf4c commit 62e75e4

7 files changed

Lines changed: 24 additions & 21 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"changes":{"packages/hookform/package.json":"Patch","packages/react-query/package.json":"Patch"},"note":"update react-query version","date":"2026-07-14T00:55:20.759158700Z"}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,4 @@ report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json
3636
.claude
3737
.sisyphus
3838
.omc
39+
.omo

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@ function UserList() {
843843
{
844844
// React Query options
845845
staleTime: 5 * 60 * 1000, // 5 minutes
846-
cacheTime: 10 * 60 * 1000, // 10 minutes
846+
gcTime: 10 * 60 * 1000, // 10 minutes
847847
refetchOnWindowFocus: false,
848848
retry: 3,
849849
}
@@ -892,8 +892,8 @@ function CreateUserForm() {
892892
<form onSubmit={handleSubmit}>
893893
<input name="name" placeholder="Name" required />
894894
<input name="email" type="email" placeholder="Email" required />
895-
<button type="submit" disabled={mutation.isLoading}>
896-
{mutation.isLoading ? 'Creating...' : 'Create User'}
895+
<button type="submit" disabled={mutation.isPending}>
896+
{mutation.isPending ? 'Creating...' : 'Create User'}
897897
</button>
898898
{mutation.isError && <div>Error: {mutation.error.message}</div>}
899899
{mutation.isSuccess && <div>User created successfully!</div>}

bun.lock

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

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"lint:fix": "biome check --write",
2424
"prepare": "husky",
2525
"build": "bun run -F @devup-api/core build && bun run -F @devup-api/utils build && bun run -F @devup-api/generator build && bun run -F @devup-api/fetch build && bun run -F @devup-api/zod build && bun run -F @devup-api/webpack-plugin build && bun run -F @devup-api/vite-plugin build && bun run -F @devup-api/next-plugin build && bun run -F @devup-api/rsbuild-plugin build && bun run -F @devup-api/react-query build && bun run -F @devup-api/hookform build && bun run -F @devup-api/ui build",
26-
"publish": "bun publish --cwd packages/core && bun publish --cwd packages/utils && bun publish --cwd packages/generator && bun publish --cwd packages/fetch && bun publish --cwd packages/zod && bun publish --cwd packages/webpack-plugin && bun publish --cwd packages/vite-plugin && bun publish --cwd packages/next-plugin && bun publish --cwd packages/rsbuild-plugin && bun publish --cwd packages/react-query && bun publish --cwd packages/hookform && bun publish --cwd packages/ui"
26+
"publish": "bun publish --cwd packages/core && bun publish --cwd packages/utils && bun publish --cwd packages/generator && bun publish --cwd packages/fetch && bun publish --cwd packages/zod && bun publish --cwd packages/webpack-plugin && bun publish --cwd packages/vite-plugin && bun publish --cwd packages/next-plugin && bun publish --cwd packages/rsbuild-plugin && bun publish --cwd packages/react-query && bun publish --cwd packages/hookform && bun publish --cwd packages/ui",
27+
"changepacks": "bunx @changepacks/cli"
2728
},
2829
"workspaces": [
2930
"packages/*",

packages/hookform/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"zod": "*"
3535
},
3636
"devDependencies": {
37-
"@tanstack/react-query": "^5.96",
37+
"@tanstack/react-query": "^5",
3838
"@testing-library/react": "^16.3",
3939
"@types/node": "^25.5",
4040
"@types/react": "^19.2",

packages/react-query/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020
"access": "public"
2121
},
2222
"dependencies": {
23-
"@devup-api/fetch": "workspace:^",
24-
"@tanstack/react-query": ">=5.96"
23+
"@devup-api/fetch": "workspace:^"
2524
},
2625
"peerDependencies": {
2726
"react": "*",
28-
"@tanstack/react-query": "*"
27+
"@tanstack/react-query": ">=5.0.0"
2928
},
3029
"devDependencies": {
30+
"@tanstack/react-query": "^5",
3131
"@testing-library/react-hooks": "^8.0.1",
3232
"@types/node": "^25.5",
3333
"@types/react": "^19.2",

0 commit comments

Comments
 (0)