From 31edfab441304d8eb3358acebc475c51e5646e8b Mon Sep 17 00:00:00 2001 From: Yaacov Rydzinski Date: Tue, 10 Sep 2024 14:48:37 +0300 Subject: [PATCH] move back to v16 (#3773) * move back to v16 * compatibility range should not change * add changeset * update lock file * fix package number, presumably from 16.8.1 => 16.9 * expand changeset just in case * fixed wrong package number :( --- .changeset/strange-knives-hammer.md | 18 ++++++++++++++++++ .../cm6-graphql-legacy-parcel/package.json | 2 +- examples/cm6-graphql-parcel/package.json | 2 +- examples/graphiql-parcel/package.json | 2 +- examples/graphiql-webpack/package.json | 2 +- examples/monaco-graphql-nextjs/package.json | 2 +- .../monaco-graphql-react-vite/package.json | 2 +- examples/monaco-graphql-webpack/package.json | 2 +- package.json | 3 +-- packages/cm6-graphql/package.json | 2 +- packages/codemirror-graphql/package.json | 2 +- .../graphiql-plugin-code-exporter/package.json | 2 +- packages/graphiql-plugin-explorer/package.json | 2 +- packages/graphiql-react/package.json | 2 +- packages/graphiql-toolkit/package.json | 2 +- packages/graphiql/package.json | 2 +- .../graphql-language-service-cli/package.json | 2 +- .../package.json | 2 +- packages/graphql-language-service/package.json | 2 +- packages/monaco-graphql/package.json | 2 +- .../monaco-graphql/test/monaco-editor.test.ts | 2 +- yarn.lock | 8 ++++---- 22 files changed, 42 insertions(+), 25 deletions(-) create mode 100644 .changeset/strange-knives-hammer.md diff --git a/.changeset/strange-knives-hammer.md b/.changeset/strange-knives-hammer.md new file mode 100644 index 00000000000..08369aaab31 --- /dev/null +++ b/.changeset/strange-knives-hammer.md @@ -0,0 +1,18 @@ +--- +'graphql-language-service-server': patch +'@graphiql/plugin-code-exporter': patch +'graphql-language-service-cli': patch +'@graphiql/plugin-explorer': patch +'graphql-language-service': patch +'codemirror-graphql': patch +'@graphiql/toolkit': patch +'@graphiql/react': patch +'monaco-graphql': patch +'cm6-graphql': patch +'graphiql': patch +'vscode-graphql': patch +'vscode-graphql-execution': patch +'vscode-graphql-syntax': patch +--- + +use latest stable version of graphql 16.9.0 diff --git a/examples/cm6-graphql-legacy-parcel/package.json b/examples/cm6-graphql-legacy-parcel/package.json index 7397dfc7d0f..faffc8f5c60 100644 --- a/examples/cm6-graphql-legacy-parcel/package.json +++ b/examples/cm6-graphql-legacy-parcel/package.json @@ -25,7 +25,7 @@ "@codemirror/basic-setup": "^0.20.0", "@codemirror/language": "^0.20.0", "codemirror-graphql": "^2.0.2", - "graphql": "^16.8.1" + "graphql": "^16.9.0" }, "devDependencies": { "parcel-bundler": "^1.12.4", diff --git a/examples/cm6-graphql-parcel/package.json b/examples/cm6-graphql-parcel/package.json index 416f31729ec..f6cb82f7761 100644 --- a/examples/cm6-graphql-parcel/package.json +++ b/examples/cm6-graphql-parcel/package.json @@ -29,7 +29,7 @@ "@codemirror/theme-one-dark": "6.0.0", "@codemirror/view": "6.1.2", "cm6-graphql": "0.0.1", - "graphql": "^16.8.1" + "graphql": "^16.9.0" }, "devDependencies": { "parcel": "^2.6.2", diff --git a/examples/graphiql-parcel/package.json b/examples/graphiql-parcel/package.json index affd3a4dd5d..9db03b446eb 100644 --- a/examples/graphiql-parcel/package.json +++ b/examples/graphiql-parcel/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "graphiql": "^2.2.0", - "graphql": "^16.8.1", + "graphql": "^16.9.0", "react": "^18.2.0", "react-dom": "^18.2.0" }, diff --git a/examples/graphiql-webpack/package.json b/examples/graphiql-webpack/package.json index 257f68a8a86..8f37fd3bc08 100644 --- a/examples/graphiql-webpack/package.json +++ b/examples/graphiql-webpack/package.json @@ -14,7 +14,7 @@ "@graphiql/toolkit": "^0.11.0", "@graphiql/react": "^0.26.2", "graphiql": "^3.7.1", - "graphql": "^16.8.1", + "graphql": "^16.9.0", "graphql-ws": "^5.5.5", "react": "^18.2.0", "regenerator-runtime": "^0.13.9" diff --git a/examples/monaco-graphql-nextjs/package.json b/examples/monaco-graphql-nextjs/package.json index 2173f5ffb5a..452c5556a49 100644 --- a/examples/monaco-graphql-nextjs/package.json +++ b/examples/monaco-graphql-nextjs/package.json @@ -10,7 +10,7 @@ }, "dependencies": { "@graphiql/toolkit": "^0.11.0", - "graphql": "^16.8.1", + "graphql": "^16.9.0", "graphql-ws": "^5.5.5", "jsonc-parser": "^3.2.0", "marked": "^4.2.12", diff --git a/examples/monaco-graphql-react-vite/package.json b/examples/monaco-graphql-react-vite/package.json index fafc1a6e21d..4ea06182973 100644 --- a/examples/monaco-graphql-react-vite/package.json +++ b/examples/monaco-graphql-react-vite/package.json @@ -4,7 +4,7 @@ "version": "0.0.0", "dependencies": { "@graphiql/toolkit": "^0.11.0", - "graphql": "^16.8.1", + "graphql": "^16.9.0", "graphql-language-service": "^5.3.0", "jsonc-parser": "^3.2.0", "monaco-editor": "^0.39.0", diff --git a/examples/monaco-graphql-webpack/package.json b/examples/monaco-graphql-webpack/package.json index f86cd3f7174..ba412189401 100644 --- a/examples/monaco-graphql-webpack/package.json +++ b/examples/monaco-graphql-webpack/package.json @@ -9,7 +9,7 @@ "start": "cross-env NODE_ENV=development webpack-cli serve" }, "dependencies": { - "graphql": "^16.8.1", + "graphql": "^16.9.0", "graphql-language-service": "^5.3.0", "json-schema": "^0.4.0", "jsonc-parser": "^3.2.0", diff --git a/package.json b/package.json index aa272db9a91..284e1688c13 100644 --- a/package.json +++ b/package.json @@ -144,7 +144,6 @@ "resolutions": { "@babel/traverse": "^7.23.2", "vscode-languageserver-types": "3.17.3", - "markdown-it": "14.1.0", - "graphql": "17.0.0-alpha.7" + "markdown-it": "14.1.0" } } diff --git a/packages/cm6-graphql/package.json b/packages/cm6-graphql/package.json index 53fe96bc691..fb06cb54c4d 100644 --- a/packages/cm6-graphql/package.json +++ b/packages/cm6-graphql/package.json @@ -30,7 +30,7 @@ "@lezer/highlight": "^1.0.0", "@lezer/lr": "^1.0.0", "esbuild": "0.18.10", - "graphql": "^17.0.0-alpha.7", + "graphql": "^16.9.0", "rollup": "^2.60.2", "rollup-plugin-dts": "^4.0.1", "rollup-plugin-esbuild": "^4.9.1", diff --git a/packages/codemirror-graphql/package.json b/packages/codemirror-graphql/package.json index dd145b52f62..a11bf9fa485 100644 --- a/packages/codemirror-graphql/package.json +++ b/packages/codemirror-graphql/package.json @@ -51,7 +51,7 @@ "@codemirror/language": "^6.0.0", "codemirror": "^5.65.3", "cross-env": "^7.0.2", - "graphql": "^17.0.0-alpha.7", + "graphql": "^16.9.0", "rimraf": "^3.0.2", "sane": "2.0.0" } diff --git a/packages/graphiql-plugin-code-exporter/package.json b/packages/graphiql-plugin-code-exporter/package.json index aea1325082d..c8cb3c4d5f0 100644 --- a/packages/graphiql-plugin-code-exporter/package.json +++ b/packages/graphiql-plugin-code-exporter/package.json @@ -41,7 +41,7 @@ "devDependencies": { "@graphiql/react": "^0.26.0", "@vitejs/plugin-react": "^4.3.1", - "graphql": "^17.0.0-alpha.7", + "graphql": "^16.9.0", "postcss-nesting": "^10.1.7", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/packages/graphiql-plugin-explorer/package.json b/packages/graphiql-plugin-explorer/package.json index 368f34e6f39..33e5b3e7f93 100644 --- a/packages/graphiql-plugin-explorer/package.json +++ b/packages/graphiql-plugin-explorer/package.json @@ -40,7 +40,7 @@ "devDependencies": { "@graphiql/react": "^0.26.0", "@vitejs/plugin-react": "^4.3.1", - "graphql": "^17.0.0-alpha.7", + "graphql": "^16.9.0", "react": "^18.2.0", "react-dom": "^18.2.0", "typescript": "^4.6.3", diff --git a/packages/graphiql-react/package.json b/packages/graphiql-react/package.json index ce6c2cf3fe0..d967e050cb4 100644 --- a/packages/graphiql-react/package.json +++ b/packages/graphiql-react/package.json @@ -72,7 +72,7 @@ "@types/get-value": "^3.0.5", "@types/set-value": "^4.0.1", "@vitejs/plugin-react": "^4.3.1", - "graphql": "^17.0.0-alpha.7", + "graphql": "^16.9.0", "postcss-nesting": "^10.1.7", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/packages/graphiql-toolkit/package.json b/packages/graphiql-toolkit/package.json index 8e3c8bcfde2..f939b217e9b 100644 --- a/packages/graphiql-toolkit/package.json +++ b/packages/graphiql-toolkit/package.json @@ -30,7 +30,7 @@ "meros": "^1.1.4" }, "devDependencies": { - "graphql": "^17.0.0-alpha.7", + "graphql": "^16.9.0", "graphql-ws": "^5.5.5", "isomorphic-fetch": "^3.0.0", "subscriptions-transport-ws": "0.11.0", diff --git a/packages/graphiql/package.json b/packages/graphiql/package.json index c81a2049afd..d4d66c01b1f 100644 --- a/packages/graphiql/package.json +++ b/packages/graphiql/package.json @@ -67,7 +67,7 @@ "cypress": "^13.13.2", "express": "^4.19.2", "fork-ts-checker-webpack-plugin": "7.3.0", - "graphql": "^17.0.0-alpha.7", + "graphql": "^16.9.0", "graphql-helix": "^1.13.0", "graphql-subscriptions": "^2.0.0", "html-webpack-plugin": "^5.5.0", diff --git a/packages/graphql-language-service-cli/package.json b/packages/graphql-language-service-cli/package.json index 47be9dc6dff..58fc75ee4bb 100644 --- a/packages/graphql-language-service-cli/package.json +++ b/packages/graphql-language-service-cli/package.json @@ -42,6 +42,6 @@ "yargs": "^16.2.0" }, "devDependencies": { - "graphql": "^17.0.0-alpha.7" + "graphql": "^16.9.0" } } diff --git a/packages/graphql-language-service-server/package.json b/packages/graphql-language-service-server/package.json index e35d3685761..c5baa72eb3d 100644 --- a/packages/graphql-language-service-server/package.json +++ b/packages/graphql-language-service-server/package.json @@ -68,7 +68,7 @@ "@types/mock-fs": "^4.13.4", "cross-env": "^7.0.2", "debounce-promise": "^3.1.2", - "graphql": "^17.0.0-alpha.7", + "graphql": "^16.9.0", "mock-fs": "^5.2.0" } } diff --git a/packages/graphql-language-service/package.json b/packages/graphql-language-service/package.json index 5504c41a3bd..d75ac223bc3 100644 --- a/packages/graphql-language-service/package.json +++ b/packages/graphql-language-service/package.json @@ -45,7 +45,7 @@ "@types/json-schema": "7.0.9", "@types/picomatch": "^2.3.0", "benchmark": "^2.1.4", - "graphql": "^17.0.0-alpha.7", + "graphql": "^16.9.0", "graphql-config": "5.0.3", "lodash": "^4.17.15", "platform": "^1.3.5", diff --git a/packages/monaco-graphql/package.json b/packages/monaco-graphql/package.json index 5ec8ac52ab1..fdda36cfa39 100644 --- a/packages/monaco-graphql/package.json +++ b/packages/monaco-graphql/package.json @@ -71,7 +71,7 @@ }, "devDependencies": { "execa": "^7.1.1", - "graphql": "^17.0.0-alpha.7", + "graphql": "^16.9.0", "monaco-editor": "^0.39.0", "prettier": "3.3.2", "vscode-languageserver-types": "^3.17.1" diff --git a/packages/monaco-graphql/test/monaco-editor.test.ts b/packages/monaco-graphql/test/monaco-editor.test.ts index b9fc918b879..3454a3a8e9e 100644 --- a/packages/monaco-graphql/test/monaco-editor.test.ts +++ b/packages/monaco-graphql/test/monaco-editor.test.ts @@ -15,7 +15,7 @@ describe('monaco-editor', () => { // expect(lines[1]).toMatch(' building for production...'); // expect(lines[2]).toBe('transforming...'); expect(lines[3]).toMatch( - `✓ ${parseInt(version, 10) > 16 ? 862 : 843} modules transformed.`, + `✓ ${parseInt(version, 10) > 16 ? 862 : 850} modules transformed.`, ); // expect(lines[4]).toBe('rendering chunks...'); // expect(lines[5]).toBe('computing gzip size...'); diff --git a/yarn.lock b/yarn.lock index 489e1c7e1fc..aa9f849324f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10543,10 +10543,10 @@ graphql-ws@5.14.0, graphql-ws@^5.5.5: resolved "https://registry.yarnpkg.com/graphql-ws/-/graphql-ws-5.14.0.tgz#766f249f3974fc2c48fae0d1fb20c2c4c79cd591" integrity sha512-itrUTQZP/TgswR4GSSYuwWUzrE/w5GhbwM2GX3ic2U7aw33jgEsayfIlvaj7/GcIvZgNMzsPTrE5hqPuFUiE5g== -graphql@17.0.0-alpha.7, graphql@^16.8.1, "graphql@^16.8.1 || ^17.0.0-alpha.2", graphql@^17.0.0-alpha.7: - version "17.0.0-alpha.7" - resolved "https://registry.yarnpkg.com/graphql/-/graphql-17.0.0-alpha.7.tgz#707e7457d7ed5316a8d7940f78809a2eb5854383" - integrity sha512-kdteHez9s0lfNAGntSwnDBpxSl09sBWEFxFRPS/Z8K1nCD4FZ2wVGwXuj5dvrTKcqOA+O8ujAJ3CiY/jXhs14g== +"graphql@^16.8.1 || ^17.0.0-alpha.2", graphql@^16.9.0: + version "16.9.0" + resolved "https://registry.yarnpkg.com/graphql/-/graphql-16.9.0.tgz#1c310e63f16a49ce1fbb230bd0a000e99f6f115f" + integrity sha512-GGTKBX4SD7Wdb8mqeDLni2oaRGYQWjWHGKPQ24ZMnUtKfcsVoiv4uX8+LJr1K6U5VW2Lu1BwJnj7uiori0YtRw== gzip-size@^5.0.0: version "5.1.1"