Skip to content

Commit

Permalink
Bump GraphQL to v16 (#1387)
Browse files Browse the repository at this point in the history
Co-authored-by: Seppe Dekeyser <seppe.dekeyser@hotmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: radiden <gabriel@rai.cx>
Co-authored-by: radiden <gabriel2012688@gmail.com>
Co-authored-by: Alec Aivazis <alec@aivazis.com>
  • Loading branch information
6 people authored Dec 3, 2024
1 parent d2dbcd2 commit 60b4ee4
Show file tree
Hide file tree
Showing 48 changed files with 1,803 additions and 984 deletions.
8 changes: 8 additions & 0 deletions .changeset/loud-turtles-study.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'houdini': major
'houdini-adapter-node': minor
'houdini-react': minor
'houdini-svelte': minor
---

Bump GraphQL to v16
25 changes: 25 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"mode": "exit",
"tag": "next",
"initialVersions": {
"e2e-api": "0.0.1",
"e2e-kit": "0.0.1",
"e2e-react": "0.0.0",
"e2e-svelte": "0.0.1",
"scripts": "1.0.0",
"houdini-adapter-auto": "1.2.64",
"houdini-adapter-cloudflare": "1.2.64",
"houdini-adapter-node": "1.2.64",
"houdini-adapter-static": "1.2.64",
"create-houdini": "1.2.64",
"houdini": "1.2.64",
"houdini-react": "1.2.64",
"houdini-svelte": "1.2.64",
"houdini-plugin-svelte-global-stores": "1.2.64",
"site": "0.0.1"
},
"changesets": [
"gorgeous-lions-nail",
"new-comics-happen"
]
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ vite.config.*.timestamp-*

.vercel
.netlify
mise.toml
2 changes: 1 addition & 1 deletion e2e/_api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@envelop/core": "^3.0.6",
"@kitql/helpers": "^0.8.2",
"fs-extra": "^10.1.0",
"graphql": "^15.8.0",
"graphql": "^16.9.0",
"graphql-relay": "^0.10.0",
"graphql-ws": "^5.8.2",
"graphql-yoga": "^4.0.4",
Expand Down
2 changes: 1 addition & 1 deletion e2e/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"postcss": "^8.4.31",
"tailwindcss": "^3.3.3",
"typescript": "^4.9.3",
"vite": "^4.1.0",
"vite": "^4.1.4",
"wrangler": "^3.7.0"
}
}
2 changes: 1 addition & 1 deletion e2e/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
"svelte-check": "^2.10.3",
"tslib": "^2.5.0",
"typescript": "^4.9.3",
"vite": "^4.1.1"
"vite": "^4.1.4"
}
}
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"@types/react": "^18.2.22",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"graphql": "^16.9.0",
"eslint-plugin-unused-imports": "^3.0.0",
"graphql": "^15.8.0",
"lint-staged": "^12.3.4",
"prettier": "^2.8.3",
"turbo": "^1.8.8",
Expand All @@ -57,8 +57,5 @@
"*.tsx": "prettier -w ",
"*.js": "prettier -w ",
"*.json": "prettier -w "
},
"resolutions": {
"graphql": "15.5.0"
}
}
2 changes: 1 addition & 1 deletion packages/_scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"esbuild-plugin-alias": "^0.2.1",
"esbuild-plugin-replace": "^1.2.0",
"glob": "^8.0.3",
"rollup": "^3.7.4",
"rollup": "^4.13.0",
"rollup-plugin-typescript2": "^0.34.0",
"typescript": "^4.9"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-auto/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "houdini-adapter-auto",
"version": "1.2.66",
"version": "1.2.65-next.0",
"description": "An adapter for deploying your Houdini application according to the build environment ",
"keywords": [
"houdini",
Expand Down
6 changes: 3 additions & 3 deletions packages/adapter-cloudflare/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "houdini-adapter-cloudflare",
"version": "1.2.66",
"version": "1.2.65-next.0",
"description": "The adapter for deploying your Houdini application to Cloudflare Pages",
"keywords": [
"houdini",
Expand All @@ -17,14 +17,14 @@
"license": "MIT",
"type": "module",
"scripts": {
"build": "tsup src/index.ts src/worker.ts --format esm,cjs --minify --dts --clean --out-dir build",
"build": "tsup src/index.ts src/worker.ts --format esm,cjs --minify --dts --clean --out-dir build",
"build:": "cd ../../ && ((run build && cd -) || (cd - && exit 1))",
"build:build": "pnpm build: && pnpm build"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20230904.0",
"scripts": "workspace:^",
"tsup": "^7.2.0"
"tsup": "^8.3.5"
},
"dependencies": {
"houdini": "workspace:^"
Expand Down
3 changes: 2 additions & 1 deletion packages/adapter-node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "houdini-adapter-node",
"version": "1.2.66",
"version": "1.2.65-next.0",
"description": "The adapter for deploying your Houdini application as a standalone node server",
"keywords": [
"houdini",
Expand All @@ -21,6 +21,7 @@
"build:build": "pnpm build: && pnpm build"
},
"devDependencies": {
"@types/node": "^22.5.1",
"scripts": "workspace:^",
"tsup": "^7.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-static/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "houdini-adapter-static",
"version": "1.2.66",
"version": "1.2.65-next.0",
"description": "The adapter for deploying your Houdini application as a single-page application without a server component",
"keywords": [
"houdini",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@
"react": "19.0.0-rc-eb259b5d3b-20240605",
"react-dom": "19.0.0-rc-eb259b5d3b-20240605",
"graphql-yoga": "4.0.4",
"graphql": "15.8.0",
"graphql": "^16.9.0",
"@whatwg-node/server": "^0.9.14"
},
"devDependencies": {
"@types/react": "^18.0.27",
"@types/react-dom": "^18.0.10",
"@vitejs/plugin-react": "^3.1.0",
"typescript": "^4.9.3",
"vite": "^4.1.0"
"vite": "^4.1.4"
},
"resolutions": {
"graphql": "15.8.0",
"graphql": "16.9.0",
"react": "19.0.0-rc-eb259b5d3b-20240605",
"react-dom": "19.0.0-rc-eb259b5d3b-20240605"
}
Expand Down
6 changes: 3 additions & 3 deletions packages/create-houdini/templates/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
"react": "19.0.0-rc-eb259b5d3b-20240605",
"react-dom": "19.0.0-rc-eb259b5d3b-20240605",
"graphql-yoga": "4.0.4",
"graphql": "15.8.0",
"graphql": "^16.9.0",
"@whatwg-node/server": "^0.9.14"
},
"devDependencies": {
"@vitejs/plugin-react": "^3.1.0",
"vite": "^4.1.0"
"vite": "^4.1.4"
},
"resolutions": {
"graphql": "15.8.0",
"graphql": "16.9.0",
"react": "19.0.0-rc-eb259b5d3b-20240605",
"react-dom": "19.0.0-rc-eb259b5d3b-20240605"
}
Expand Down
6 changes: 3 additions & 3 deletions packages/houdini-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "houdini-react",
"version": "1.2.66",
"version": "1.2.65-next.0",
"description": "The React plugin for houdini",
"keywords": [
"typescript",
Expand Down Expand Up @@ -39,14 +39,14 @@
"cookies": "^0.8.0",
"estraverse": "^5.3.0",
"express": "^4.18.2",
"graphql": "^15.8.0",
"graphql": "^16.9.0",
"graphql-yoga": "^4.0.4",
"houdini": "workspace:^",
"react": "19.0.0-rc-eb259b5d3b-20240605",
"react-dom": "19.0.0-rc-eb259b5d3b-20240605",
"react-streaming-compat": "^0.3.18",
"recast": "^0.23.1",
"rollup": "^3.7.4",
"rollup": "^4.16.4",
"use-deep-compare-effect": "^1.8.1"
},
"files": [
Expand Down
6 changes: 3 additions & 3 deletions packages/houdini-svelte/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "houdini-svelte",
"version": "2.0.1",
"version": "2.0.0-next.0",
"description": "The svelte plugin for houdini",
"keywords": [
"typescript",
Expand Down Expand Up @@ -33,10 +33,10 @@
"@sveltejs/kit": "^2.5.3",
"ast-types": "^0.16.1",
"estree-walker": "^3.0.1",
"graphql": "^15.8.0",
"graphql": "^16.9.0",
"houdini": "workspace:^",
"recast": "^0.23.1",
"rollup": "^3.7.4",
"rollup": "^4.16.4",
"svelte": "^5.0.0",
"vite": "^5.3.3"
},
Expand Down
15 changes: 6 additions & 9 deletions packages/houdini-svelte/src/plugin/artifactData.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ describe('load', () => {
export default {
"name": "FragmentUpdateTestQuery",
"kind": "HoudiniQuery",
"hash": "bf9b4819b5a3f31b73640acb3da7f0b5abc29e07a1292a2fe307415b619716e3",
"hash": "9fefcfbc77da7cf98fcf99e2bfaccb4d9454a465e4149871a57de80b8658082e",
"raw": \`query FragmentUpdateTestQuery($id: ID!) {
node(id: $id) {
Expand All @@ -57,8 +57,7 @@ describe('load', () => {
name
id
__typename
}
\`,
}\`,
"rootType": "Query",
"stripVariables": [],
Expand Down Expand Up @@ -158,12 +157,11 @@ describe('blocking', () => {
export default {
"name": "TestQuery",
"kind": "HoudiniQuery",
"hash": "8e483259f3d69f416c01b6106c0440fa0f916abb4cadb75273f8226a1ff0a5e2",
"hash": "24015ccbaa62e80c1a1364e01cf181591c9fbb03da6a9b32da97fb23f820ff78",
"raw": \`query TestQuery {
version
}
\`,
}\`,
"rootType": "Query",
"stripVariables": [],
Expand Down Expand Up @@ -203,12 +201,11 @@ describe('blocking', () => {
export default {
"name": "TestQuery",
"kind": "HoudiniQuery",
"hash": "8e483259f3d69f416c01b6106c0440fa0f916abb4cadb75273f8226a1ff0a5e2",
"hash": "24015ccbaa62e80c1a1364e01cf181591c9fbb03da6a9b32da97fb23f820ff78",
"raw": \`query TestQuery {
version
}
\`,
}\`,
"rootType": "Query",
"stripVariables": [],
Expand Down
20 changes: 10 additions & 10 deletions packages/houdini/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "houdini",
"version": "1.3.1",
"version": "1.3.0-next.0",
"description": "The disappearing GraphQL clients",
"keywords": [
"typescript",
Expand All @@ -20,11 +20,11 @@
"typedefs": "scripts typedefs"
},
"devDependencies": {
"@babel/types": "^7.21.5",
"@babel/types": "^7.25.4",
"@trivago/prettier-plugin-sort-imports": "^4.0.0",
"@types/glob": "^8.0.0",
"@types/minimatch": "^5.1.2",
"@types/node": "^18.7.23",
"@types/node": "^18.19.46",
"@types/ungap__structured-clone": "^0.3.0",
"kleur": "^4.1.5",
"prettier": "^2.8.3",
Expand All @@ -34,11 +34,11 @@
"vitest": "^1.6.0"
},
"dependencies": {
"@babel/parser": "^7.23.9",
"@babel/parser": "^7.25.4",
"@clack/prompts": "^0.6.3",
"@graphql-tools/merge": "^9.0.0",
"@graphql-tools/merge": "^9.0.6",
"@graphql-tools/schema": "^9.0.4",
"@kitql/helpers": "^0.8.2",
"@kitql/helpers": "^0.8.10",
"@types/estree": "^1.0.0",
"@types/fs-extra": "^9.0.13",
"@types/micromatch": "^4.0.2",
Expand All @@ -47,13 +47,13 @@
"ast-types": "^0.16.1",
"commander": "^9.4.0",
"deepmerge": "^4.2.2",
"estree-walker": "^3.0.1",
"estree-walker": "3.0.1",
"fs-extra": "^10.1.0",
"glob": "^8.0.3",
"graphql": "^15.8.0",
"glob": "^8.1.0",
"graphql": "^16.9.0",
"graphql-yoga": "^4.0.4",
"memfs": "^3.4.7",
"micromatch": "^4.0.5",
"micromatch": "^4.0.8",
"minimatch": "^5.1.0",
"node-fetch": "^3.2.10",
"npx-import": "^1.1.3",
Expand Down
Loading

0 comments on commit 60b4ee4

Please sign in to comment.