From 62e75e4075bee15755b8a4bec390dd500fa9f3b8 Mon Sep 17 00:00:00 2001 From: belltalion Date: Tue, 14 Jul 2026 09:56:18 +0900 Subject: [PATCH] Update tanstack vertion --- .../changepack_log_SP0904pcO-xGA0eIgJ3Nb.json | 1 + .gitignore | 1 + README.md | 6 ++--- bun.lock | 26 +++++++++---------- package.json | 3 ++- packages/hookform/package.json | 2 +- packages/react-query/package.json | 6 ++--- 7 files changed, 24 insertions(+), 21 deletions(-) create mode 100644 .changepacks/changepack_log_SP0904pcO-xGA0eIgJ3Nb.json diff --git a/.changepacks/changepack_log_SP0904pcO-xGA0eIgJ3Nb.json b/.changepacks/changepack_log_SP0904pcO-xGA0eIgJ3Nb.json new file mode 100644 index 0000000..350f8f5 --- /dev/null +++ b/.changepacks/changepack_log_SP0904pcO-xGA0eIgJ3Nb.json @@ -0,0 +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"} \ No newline at end of file diff --git a/.gitignore b/.gitignore index 1e47848..ad41264 100644 --- a/.gitignore +++ b/.gitignore @@ -36,3 +36,4 @@ report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json .claude .sisyphus .omc +.omo \ No newline at end of file diff --git a/README.md b/README.md index b468b64..c0a5763 100644 --- a/README.md +++ b/README.md @@ -843,7 +843,7 @@ function UserList() { { // React Query options staleTime: 5 * 60 * 1000, // 5 minutes - cacheTime: 10 * 60 * 1000, // 10 minutes + gcTime: 10 * 60 * 1000, // 10 minutes refetchOnWindowFocus: false, retry: 3, } @@ -892,8 +892,8 @@ function CreateUserForm() {
- {mutation.isError &&
Error: {mutation.error.message}
} {mutation.isSuccess &&
User created successfully!
} diff --git a/bun.lock b/bun.lock index 8142c31..82b8c6b 100644 --- a/bun.lock +++ b/bun.lock @@ -96,7 +96,7 @@ }, "packages/core": { "name": "@devup-api/core", - "version": "0.1.17", + "version": "0.1.18", "devDependencies": { "@types/node": "^25.5", "typescript": "^6.0", @@ -104,7 +104,7 @@ }, "packages/fetch": { "name": "@devup-api/fetch", - "version": "0.1.20", + "version": "0.1.21", "dependencies": { "@devup-api/core": "workspace:^", }, @@ -115,7 +115,7 @@ }, "packages/generator": { "name": "@devup-api/generator", - "version": "0.1.23", + "version": "0.1.24", "dependencies": { "@devup-api/core": "workspace:^", "@devup-api/utils": "workspace:^", @@ -136,7 +136,7 @@ "react-hook-form": ">=7.72.1", }, "devDependencies": { - "@tanstack/react-query": "^5.96", + "@tanstack/react-query": "^5", "@testing-library/react": "^16.3", "@types/node": "^25.5", "@types/react": "^19.2", @@ -159,7 +159,7 @@ }, "packages/next-plugin": { "name": "@devup-api/next-plugin", - "version": "0.1.12", + "version": "0.1.13", "dependencies": { "@devup-api/core": "workspace:^", "@devup-api/generator": "workspace:^", @@ -181,9 +181,9 @@ "version": "0.1.13", "dependencies": { "@devup-api/fetch": "workspace:^", - "@tanstack/react-query": ">=5.96", }, "devDependencies": { + "@tanstack/react-query": "^5", "@testing-library/react-hooks": "^8.0.1", "@types/node": "^25.5", "@types/react": "^19.2", @@ -191,13 +191,13 @@ "typescript": "^6.0", }, "peerDependencies": { - "@tanstack/react-query": "*", + "@tanstack/react-query": ">=5.0.0", "react": "*", }, }, "packages/rsbuild-plugin": { "name": "@devup-api/rsbuild-plugin", - "version": "0.1.12", + "version": "0.1.13", "dependencies": { "@devup-api/core": "workspace:^", "@devup-api/generator": "workspace:^", @@ -233,7 +233,7 @@ }, "packages/utils": { "name": "@devup-api/utils", - "version": "0.1.9", + "version": "0.1.10", "devDependencies": { "@types/node": "^25.5", "openapi-types": "^12.1", @@ -242,7 +242,7 @@ }, "packages/vite-plugin": { "name": "@devup-api/vite-plugin", - "version": "0.1.12", + "version": "0.1.13", "dependencies": { "@devup-api/core": "workspace:^", "@devup-api/generator": "workspace:^", @@ -260,7 +260,7 @@ }, "packages/webpack-plugin": { "name": "@devup-api/webpack-plugin", - "version": "0.1.12", + "version": "0.1.13", "dependencies": { "@devup-api/core": "workspace:^", "@devup-api/generator": "workspace:^", @@ -601,9 +601,9 @@ "@swc/helpers": ["@swc/helpers@0.5.15", "", { "dependencies": { "tslib": "^2.8.0" } }, "sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g=="], - "@tanstack/query-core": ["@tanstack/query-core@5.96.2", "", {}, "sha512-hzI6cTVh4KNRk8UtoIBS7Lv9g6BnJPXvBKsvYH1aGWvv0347jT3BnSvztOE+kD76XGvZnRC/t6qdW1CaIfwCeA=="], + "@tanstack/query-core": ["@tanstack/query-core@5.101.2", "", {}, "sha512-hH5MLoJhF7KaIGd7q3xTXGXvslI+GYlM1Z/35aSHHWaCJWB7XvTSHYuV3eM7tw+aE0mT/xMro4M4Q9rCGHT0lw=="], - "@tanstack/react-query": ["@tanstack/react-query@5.96.2", "", { "dependencies": { "@tanstack/query-core": "5.96.2" }, "peerDependencies": { "react": "^18 || ^19" } }, "sha512-sYyzzJT4G0g02azzJ8o55VFFV31XvFpdUpG+unxS0vSaYsJnSPKGoI6WdPwUucJL1wpgGfwfmntNX/Ub1uOViA=="], + "@tanstack/react-query": ["@tanstack/react-query@5.101.2", "", { "dependencies": { "@tanstack/query-core": "5.101.2" }, "peerDependencies": { "react": "^18 || ^19" } }, "sha512-seDkr6kzGzX1okaaTtZPtgA688CDPlXUz1C6xSg0ESqn04Vuc8tlrYms1s3de+znBqhPVxFRfpAfUf+6XvfPWg=="], "@testing-library/dom": ["@testing-library/dom@10.4.1", "", { "dependencies": { "@babel/code-frame": "^7.10.4", "@babel/runtime": "^7.12.5", "@types/aria-query": "^5.0.1", "aria-query": "5.3.0", "dom-accessibility-api": "^0.5.9", "lz-string": "^1.5.0", "picocolors": "1.1.1", "pretty-format": "^27.0.2" } }, "sha512-o4PXJQidqJl82ckFaXUeoAW+XysPLauYI43Abki5hABd853iMhitooc6znOnczgbTYmEP6U6/y1ZyKAIsvMKGg=="], diff --git a/package.json b/package.json index 6522d9f..19be07e 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,8 @@ "lint:fix": "biome check --write", "prepare": "husky", "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", - "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" + "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", + "changepacks": "bunx @changepacks/cli" }, "workspaces": [ "packages/*", diff --git a/packages/hookform/package.json b/packages/hookform/package.json index b519b54..babf749 100644 --- a/packages/hookform/package.json +++ b/packages/hookform/package.json @@ -34,7 +34,7 @@ "zod": "*" }, "devDependencies": { - "@tanstack/react-query": "^5.96", + "@tanstack/react-query": "^5", "@testing-library/react": "^16.3", "@types/node": "^25.5", "@types/react": "^19.2", diff --git a/packages/react-query/package.json b/packages/react-query/package.json index c04ce4c..ac7fb5a 100644 --- a/packages/react-query/package.json +++ b/packages/react-query/package.json @@ -20,14 +20,14 @@ "access": "public" }, "dependencies": { - "@devup-api/fetch": "workspace:^", - "@tanstack/react-query": ">=5.96" + "@devup-api/fetch": "workspace:^" }, "peerDependencies": { "react": "*", - "@tanstack/react-query": "*" + "@tanstack/react-query": ">=5.0.0" }, "devDependencies": { + "@tanstack/react-query": "^5", "@testing-library/react-hooks": "^8.0.1", "@types/node": "^25.5", "@types/react": "^19.2",