Skip to content

Commit

Permalink
chore: upgrade urql to version 5
Browse files Browse the repository at this point in the history
  • Loading branch information
gbicou committed Apr 10, 2024
1 parent 552ba0a commit a0909a1
Show file tree
Hide file tree
Showing 8 changed files with 2,091 additions and 1,437 deletions.
5 changes: 5 additions & 0 deletions .changeset/twelve-emus-cross.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bicou/nuxt-urql": minor
---

upgrade urql to v5
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.11.1
20.12.1
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"devDependencies": {
"@nuxt-themes/docus": "^1.15.0",
"nuxt": "^3.11.0",
"nuxt": "^3.11.2",
"vue": "^3.4.21",
"vue-router": "^4.3.0"
}
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,28 +35,28 @@
"release": "changeset publish"
},
"dependencies": {
"@nuxt/kit": "^3.11.0",
"@urql/core": "^4.3.0",
"@urql/vue": "^1.1.2"
"@nuxt/kit": "^3.11.2",
"@urql/core": "^5.0.0",
"@urql/vue": "^1.1.3"
},
"devDependencies": {
"@bicou/countries-server-schema": "^1.4.1",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.1",
"@graphql-eslint/eslint-plugin": "^3.20.1",
"@nuxt/eslint-config": "^0.2.0",
"@nuxt/eslint-config": "^0.3.4",
"@nuxt/module-builder": "^0.5.5",
"@nuxt/schema": "^3.11.0",
"@nuxt/schema": "^3.11.2",
"@nuxt/test-utils": "^3.12.0",
"@types/node": "^20.11.28",
"@types/node": "^20.12.7",
"@urql/exchange-execute": "^2.2.2",
"defu": "^6.1.4",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jsdoc": "^48.2.1",
"eslint-plugin-jsdoc": "^48.2.3",
"eslint-plugin-prettier": "^5.1.3",
"graphql": "^16.8.1",
"nuxt": "^3.11.0",
"nuxt": "^3.11.2",
"prettier": "^3.2.5",
"vitest": "^1.4.0"
},
Expand All @@ -65,7 +65,7 @@
"graphql": "^16.6.0",
"vue": "^3.2.47"
},
"packageManager": "[email protected].5",
"packageManager": "[email protected].6",
"publishConfig": {
"access": "public"
}
Expand Down
4 changes: 2 additions & 2 deletions playground/gql/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { offlineExchange } from "@urql/exchange-graphcache";
import { cacheExchange } from "@urql/exchange-graphcache";
import type {
Resolver as GraphCacheResolver,
UpdateResolver as GraphCacheUpdateResolver,
Expand Down Expand Up @@ -99,7 +99,7 @@ export type GraphCacheUpdaters = {
};
};

export type GraphCacheConfig = Parameters<typeof offlineExchange>[0] & {
export type GraphCacheConfig = Parameters<typeof cacheExchange>[0] & {
updates?: GraphCacheUpdaters;
keys?: GraphCacheKeysConfig;
optimistic?: GraphCacheOptimisticUpdaters;
Expand Down
10 changes: 5 additions & 5 deletions playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"dependencies": {
"@bicou/nuxt-urql": "workspace:*",
"@urql/exchange-graphcache": "^6.5.0",
"@urql/exchange-graphcache": "^7.0.1",
"graphql": "^16.8.1"
},
"devDependencies": {
Expand All @@ -22,12 +22,12 @@
"@graphql-codegen/urql-introspection": "^3.0.0",
"@graphql-typed-document-node/core": "^3.2.0",
"@picocss/pico": "^2.0.6",
"@types/node": "^20.11.28",
"@types/node": "^20.12.7",
"dotenv": "^16.4.5",
"graphql-config": "^5.0.3",
"nuxt": "^3.11.0",
"sass": "^1.72.0",
"typescript": "^5.4.2",
"nuxt": "^3.11.2",
"sass": "^1.74.1",
"typescript": "^5.4.4",
"vue": "^3.4.21",
"vue-router": "^4.3.0"
},
Expand Down
Loading

0 comments on commit a0909a1

Please sign in to comment.