Skip to content

Commit

Permalink
chore: Update dependencies (TanStack#6580)
Browse files Browse the repository at this point in the history
* Update types and eslint

* Update more patch/minor deps

* Bump node and pnpm

* Undo next and node changes

* More updates

* Seems to work now

* Lock TS 5.2.2

* Bump ky

* Final bumps

* Remove duplicated type

* Update react-native example

* Remove @callstack/eslint-config
  • Loading branch information
lachlancollins authored Dec 23, 2023
1 parent 50bf5ce commit 81cbf81
Show file tree
Hide file tree
Showing 65 changed files with 3,580 additions and 5,637 deletions.
6 changes: 3 additions & 3 deletions examples/angular/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
"@angular/compiler": "^17.0.2",
"@angular/core": "^17.0.2",
"@angular/platform-browser": "^17.0.2",
"@tanstack/angular-query-experimental": "^5.13.4",
"@tanstack/angular-query-devtools-experimental": "^5.13.3",
"@tanstack/angular-query-experimental": "^5.13.4",
"rxjs": "^7.8.1",
"zone.js": "^0.14.2"
},
"devDependencies": {
"typescript": "^5.2.2",
"vite": "^4.5.0"
"typescript": "5.2.2",
"vite": "^4.5.1"
}
}
8 changes: 4 additions & 4 deletions examples/angular/default-query-function/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
"@angular/compiler": "^17.0.2",
"@angular/core": "^17.0.2",
"@angular/platform-browser": "^17.0.2",
"@tanstack/angular-query-experimental": "^5.13.4",
"@tanstack/angular-query-devtools-experimental": "^5.13.3",
"axios": "^1.5.1",
"@tanstack/angular-query-experimental": "^5.13.4",
"axios": "^1.6.2",
"rxjs": "^7.8.1",
"zone.js": "^0.14.2"
},
"devDependencies": {
"typescript": "^5.2.2",
"vite": "^4.5.0"
"typescript": "5.2.2",
"vite": "^4.5.1"
}
}
6 changes: 3 additions & 3 deletions examples/angular/simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
"@angular/compiler": "^17.0.2",
"@angular/core": "^17.0.2",
"@angular/platform-browser": "^17.0.2",
"@tanstack/angular-query-experimental": "^5.13.4",
"@tanstack/angular-query-devtools-experimental": "^5.13.3",
"@tanstack/angular-query-experimental": "^5.13.4",
"rxjs": "^7.8.1",
"zone.js": "^0.14.2"
},
"devDependencies": {
"typescript": "^5.2.2",
"vite": "^4.5.0"
"typescript": "5.2.2",
"vite": "^4.5.1"
}
}
16 changes: 8 additions & 8 deletions examples/react/algolia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@
"preview": "vite preview"
},
"dependencies": {
"@algolia/client-search": "4.17.1",
"@algolia/transporter": "4.17.1",
"@algolia/client-search": "4.22.0",
"@algolia/transporter": "4.22.0",
"@tanstack/react-query": "^5.0.0",
"@tanstack/react-query-devtools": "^5.0.0",
"algoliasearch": "4.17.1",
"algoliasearch": "4.22.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@tanstack/eslint-plugin-query": "^5.0.0",
"@types/react": "^18.2.31",
"@types/react-dom": "^18.2.14",
"@vitejs/plugin-react": "^4.0.0",
"typescript": "5.1.6",
"vite": "^4.5.0"
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"typescript": "5.2.2",
"vite": "^4.5.1"
},
"browserslist": {
"production": [
Expand Down
2 changes: 1 addition & 1 deletion examples/react/auto-refetching/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"dependencies": {
"@tanstack/react-query": "^5.0.0",
"@tanstack/react-query-devtools": "^5.0.0",
"axios": "^1.5.1",
"axios": "^1.6.2",
"isomorphic-unfetch": "4.0.2",
"next": "^14.0.0",
"react": "^18.2.0",
Expand Down
10 changes: 5 additions & 5 deletions examples/react/basic-graphql-request/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@
"preview": "vite preview"
},
"dependencies": {
"@tanstack/react-query": "^5.0.0",
"@tanstack/react-query-devtools": "^5.0.0",
"graphql": "^16.8.1",
"graphql-request": "^6.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"@tanstack/react-query": "^5.0.0",
"@tanstack/react-query-devtools": "^5.0.0"
"react-dom": "^18.2.0"
},
"devDependencies": {
"@vitejs/plugin-react": "^4.0.0",
"vite": "^4.5.0"
"@vitejs/plugin-react": "^4.2.1",
"vite": "^4.5.1"
},
"browserslist": {
"production": [
Expand Down
16 changes: 8 additions & 8 deletions examples/react/basic-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@
"@tanstack/react-query": "^5.0.0",
"@tanstack/react-query-devtools": "^5.0.0",
"@tanstack/react-query-persist-client": "^5.0.0",
"axios": "^1.5.1",
"axios": "^1.6.2",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@tanstack/eslint-plugin-query": "^5.0.0",
"@types/react": "^18.2.31",
"@types/react-dom": "^18.2.14",
"@vitejs/plugin-react": "^4.0.0",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.8.0",
"typescript": "5.1.6",
"vite": "^4.5.0"
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"typescript": "5.2.2",
"vite": "^4.5.1"
},
"browserslist": {
"production": [
Expand Down
6 changes: 3 additions & 3 deletions examples/react/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
"dependencies": {
"@tanstack/react-query": "^5.0.0",
"@tanstack/react-query-devtools": "^5.0.0",
"axios": "^1.5.1",
"axios": "^1.6.2",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@tanstack/eslint-plugin-query": "^5.0.0",
"@vitejs/plugin-react": "^4.0.0",
"vite": "^4.5.0"
"@vitejs/plugin-react": "^4.2.1",
"vite": "^4.5.1"
},
"browserslist": {
"production": [
Expand Down
6 changes: 3 additions & 3 deletions examples/react/default-query-function/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
"dependencies": {
"@tanstack/react-query": "^5.0.0",
"@tanstack/react-query-devtools": "^5.0.0",
"axios": "^1.5.1",
"axios": "^1.6.2",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@vitejs/plugin-react": "^4.0.0",
"vite": "^4.5.0"
"@vitejs/plugin-react": "^4.2.1",
"vite": "^4.5.1"
},
"browserslist": {
"production": [
Expand Down
4 changes: 2 additions & 2 deletions examples/react/infinite-query-with-max-pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"dependencies": {
"@tanstack/react-query": "^5.0.0",
"@tanstack/react-query-devtools": "^5.0.0",
"axios": "^1.5.1",
"axios": "^1.6.2",
"isomorphic-unfetch": "4.0.2",
"next": "^14.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-intersection-observer": "^8.33.1"
"react-intersection-observer": "^8.34.0"
},
"scripts": {
"dev": "next",
Expand Down
4 changes: 2 additions & 2 deletions examples/react/load-more-infinite-scroll/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"dependencies": {
"@tanstack/react-query": "^5.0.0",
"@tanstack/react-query-devtools": "^5.0.0",
"axios": "^1.5.1",
"axios": "^1.6.2",
"isomorphic-unfetch": "4.0.2",
"next": "^14.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-intersection-observer": "^8.33.1"
"react-intersection-observer": "^8.34.0"
},
"scripts": {
"dev": "next",
Expand Down
8 changes: 4 additions & 4 deletions examples/react/nextjs-suspense-streaming/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
"next": "^14.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"superjson": "^1.12.4"
"superjson": "^1.13.3"
},
"devDependencies": {
"@types/node": "^18.18.0",
"@types/react": "^18.2.31",
"typescript": "5.1.6"
"@types/node": "^18.19.3",
"@types/react": "^18.2.45",
"typescript": "5.2.2"
}
}
5 changes: 2 additions & 3 deletions examples/react/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@
"dependencies": {
"@tanstack/react-query": "^5.0.0",
"@tanstack/react-query-devtools": "^5.0.0",
"ky": "^0.33.3",
"ky-universal": "^0.11.0",
"ky": "^1.1.3",
"next": "^14.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"resolve-from": "^5.0.0",
"web-streams-polyfill": "^3.0.3"
"web-streams-polyfill": "^3.2.1"
}
}
2 changes: 1 addition & 1 deletion examples/react/nextjs/src/hooks/usePosts/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import ky from 'ky-universal'
import ky from 'ky'
import { useQuery } from '@tanstack/react-query'

const fetchPosts = async (limit = 10) => {
Expand Down
10 changes: 5 additions & 5 deletions examples/react/offline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@
},
"dependencies": {
"@tanstack/query-sync-storage-persister": "^5.0.0",
"@tanstack/react-location": "^3.7.0",
"@tanstack/react-location": "^3.7.4",
"@tanstack/react-query": "^5.0.0",
"@tanstack/react-query-devtools": "^5.0.0",
"@tanstack/react-query-persist-client": "^5.0.0",
"ky": "^0.33.3",
"msw": "^0.39.2",
"ky": "^1.1.3",
"msw": "^1.3.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hot-toast": "^2.4.1"
},
"devDependencies": {
"@vitejs/plugin-react": "^4.0.0",
"vite": "^4.5.0"
"@vitejs/plugin-react": "^4.2.1",
"vite": "^4.5.1"
},
"browserslist": {
"production": [
Expand Down
10 changes: 5 additions & 5 deletions examples/react/optimistic-updates-cache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@
"dependencies": {
"@tanstack/react-query": "^5.0.0",
"@tanstack/react-query-devtools": "^5.0.0",
"axios": "^1.5.1",
"axios": "^1.6.2",
"isomorphic-unfetch": "4.0.2",
"next": "^14.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/node": "^18.18.0",
"@types/react": "^18.2.31",
"@types/react-dom": "^18.2.14",
"typescript": "5.1.6"
"@types/node": "^18.19.3",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
"typescript": "5.2.2"
},
"scripts": {
"dev": "next",
Expand Down
10 changes: 5 additions & 5 deletions examples/react/optimistic-updates-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@
"dependencies": {
"@tanstack/react-query": "^5.0.0",
"@tanstack/react-query-devtools": "^5.0.0",
"axios": "^1.5.1",
"axios": "^1.6.2",
"isomorphic-unfetch": "4.0.2",
"next": "^14.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/node": "^18.18.0",
"@types/react": "^18.2.31",
"@types/react-dom": "^18.2.14",
"typescript": "5.1.6"
"@types/node": "^18.19.3",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
"typescript": "5.2.2"
},
"scripts": {
"dev": "next",
Expand Down
2 changes: 1 addition & 1 deletion examples/react/pagination/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"dependencies": {
"@tanstack/react-query": "^5.0.0",
"@tanstack/react-query-devtools": "^5.0.0",
"axios": "^1.5.1",
"axios": "^1.6.2",
"isomorphic-unfetch": "4.0.2",
"next": "^14.0.0",
"react": "^18.2.0",
Expand Down
4 changes: 2 additions & 2 deletions examples/react/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
"@vitejs/plugin-react": "^4.0.0",
"vite": "^4.5.0"
"@vitejs/plugin-react": "^4.2.1",
"vite": "^4.5.1"
},
"browserslist": {
"production": [
Expand Down
2 changes: 1 addition & 1 deletion examples/react/prefetching/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"dependencies": {
"@tanstack/react-query": "^5.0.0",
"@tanstack/react-query-devtools": "^5.0.0",
"axios": "^1.5.1",
"axios": "^1.6.2",
"isomorphic-unfetch": "4.0.2",
"next": "^14.0.0",
"react": "^18.2.0",
Expand Down
Loading

0 comments on commit 81cbf81

Please sign in to comment.