From bc2250cfcfa1a0a92fab9b98f8ea74c57b56c2af Mon Sep 17 00:00:00 2001 From: Yaacov Rydzinski Date: Tue, 10 Sep 2024 13:05:03 +0300 Subject: [PATCH] export exact desired version --- packages/graphiql/package.json | 1 + packages/graphiql/src/cdn.ts | 2 +- yarn.lock | 5 +++++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/graphiql/package.json b/packages/graphiql/package.json index c81a2049afd..deb2d69c12c 100644 --- a/packages/graphiql/package.json +++ b/packages/graphiql/package.json @@ -68,6 +68,7 @@ "express": "^4.19.2", "fork-ts-checker-webpack-plugin": "7.3.0", "graphql": "^17.0.0-alpha.7", + "graphql-for-export": "npm:graphql@^16.9.0", "graphql-helix": "^1.13.0", "graphql-subscriptions": "^2.0.0", "html-webpack-plugin": "^5.5.0", diff --git a/packages/graphiql/src/cdn.ts b/packages/graphiql/src/cdn.ts index d7a5914f9dc..7a1c6584b16 100644 --- a/packages/graphiql/src/cdn.ts +++ b/packages/graphiql/src/cdn.ts @@ -6,7 +6,7 @@ */ import * as GraphiQLReact from '@graphiql/react'; import { createGraphiQLFetcher, createLocalStorage } from '@graphiql/toolkit'; -import * as GraphQL from 'graphql'; +import * as GraphQL from 'graphql-for-export'; import { GraphiQL } from './components/GraphiQL'; import '@graphiql/react/font/roboto.css'; diff --git a/yarn.lock b/yarn.lock index 489e1c7e1fc..1879e818010 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10509,6 +10509,11 @@ graphql-config@5.0.3: string-env-interpolation "^1.0.1" tslib "^2.4.0" +"graphql-for-export@npm:graphql@^16.9.0": + version "16.9.0" + resolved "https://registry.yarnpkg.com/graphql/-/graphql-16.9.0.tgz#1c310e63f16a49ce1fbb230bd0a000e99f6f115f" + integrity sha512-GGTKBX4SD7Wdb8mqeDLni2oaRGYQWjWHGKPQ24ZMnUtKfcsVoiv4uX8+LJr1K6U5VW2Lu1BwJnj7uiori0YtRw== + graphql-helix@^1.13.0: version "1.13.0" resolved "https://registry.yarnpkg.com/graphql-helix/-/graphql-helix-1.13.0.tgz#e64dad5ef5f622ef38c97fa033f56f3d953c0104"