Skip to content

Commit

Permalink
move back to v16 (#3773)
Browse files Browse the repository at this point in the history
* 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 :(
  • Loading branch information
yaacovCR committed Sep 10, 2024
1 parent 1118d42 commit 31edfab
Show file tree
Hide file tree
Showing 22 changed files with 42 additions and 25 deletions.
18 changes: 18 additions & 0 deletions .changeset/strange-knives-hammer.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion examples/cm6-graphql-legacy-parcel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion examples/cm6-graphql-parcel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion examples/graphiql-parcel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/graphiql-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion examples/monaco-graphql-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion examples/monaco-graphql-react-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion examples/monaco-graphql-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
2 changes: 1 addition & 1 deletion packages/cm6-graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/codemirror-graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/graphiql-plugin-code-exporter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/graphiql-plugin-explorer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/graphiql-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/graphiql-toolkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/graphiql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-language-service-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
"yargs": "^16.2.0"
},
"devDependencies": {
"graphql": "^17.0.0-alpha.7"
"graphql": "^16.9.0"
}
}
2 changes: 1 addition & 1 deletion packages/graphql-language-service-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
2 changes: 1 addition & 1 deletion packages/graphql-language-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/monaco-graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/monaco-graphql/test/monaco-editor.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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...');
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10543,10 +10543,10 @@ [email protected], 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==

[email protected], 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"
Expand Down

0 comments on commit 31edfab

Please sign in to comment.