From dca2269706a0f29edc227244c1a8831c6e10721d Mon Sep 17 00:00:00 2001 From: enisdenjo Date: Tue, 15 Oct 2024 18:12:43 +0200 Subject: [PATCH] mega simplify and single tsconfig --- package.json | 2 +- packages/gateway/package.json | 2 +- packages/gateway/scripts/inject-version.ts | 1 - packages/gateway/src/bin.ts | 6 +--- packages/gateway/src/cli.ts | 18 +++++----- packages/gateway/src/commands/index.ts | 8 ++--- packages/gateway/src/commands/proxy.ts | 10 +++--- packages/gateway/src/commands/subgraph.ts | 10 +++--- packages/gateway/src/commands/supergraph.ts | 10 +++--- packages/gateway/src/config.ts | 6 ++-- packages/gateway/src/index.ts | 4 +-- packages/gateway/src/server.ts | 4 +-- packages/gateway/tsconfig.json | 4 --- packages/runtime/package.json | 4 +-- packages/runtime/src/createGatewayRuntime.ts | 36 +++++++++---------- packages/runtime/src/getProxyExecutor.ts | 2 +- packages/runtime/src/getReportingPlugin.ts | 2 +- .../runtime/src/handleUnifiedGraphConfig.ts | 2 +- packages/runtime/src/index.ts | 12 +++---- .../runtime/src/plugins/useCustomFetch.ts | 2 +- .../runtime/src/plugins/useUpstreamCancel.ts | 2 +- packages/runtime/src/types.ts | 8 ++--- packages/runtime/tsconfig.json | 9 ----- tsconfig.base.json | 10 ------ tsconfig.json | 19 +++++++--- yarn.lock | 5 +-- 26 files changed, 90 insertions(+), 108 deletions(-) delete mode 100644 packages/gateway/tsconfig.json delete mode 100644 packages/runtime/tsconfig.json delete mode 100644 tsconfig.base.json diff --git a/package.json b/package.json index 5190139c9..8382d5756 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "scripts": { "build": "yarn workspaces foreach -A -p run build", "check:format": "prettier --check .", - "check:type": "yarn tsc -b", + "check:type": "yarn tsc", "format": "yarn check:format --write" }, "devDependencies": { diff --git a/packages/gateway/package.json b/packages/gateway/package.json index d2b6f860a..eed9daa73 100644 --- a/packages/gateway/package.json +++ b/packages/gateway/package.json @@ -46,6 +46,7 @@ }, "dependencies": { "@commander-js/extra-typings": "^12.1.0", + "@graphql-hive/gateway-runtime": "^0.0.0", "@graphql-mesh/cache-cfw-kv": "^0.102.6", "@graphql-mesh/cache-localforage": "^0.102.6", "@graphql-mesh/cache-redis": "^0.102.6", @@ -60,7 +61,6 @@ "@graphql-mesh/plugin-prometheus": "^1.1.0", "@graphql-mesh/plugin-rate-limit": "^0.102.6", "@graphql-mesh/plugin-snapshot": "^0.102.6", - "@graphql-mesh/serve-runtime": "^1.1.0", "@graphql-mesh/transport-http-callback": "^0.4.1", "@graphql-mesh/transport-ws": "^0.3.7", "@graphql-mesh/types": "^0.102.6", diff --git a/packages/gateway/scripts/inject-version.ts b/packages/gateway/scripts/inject-version.ts index 81ef7cbe2..ec5132fef 100755 --- a/packages/gateway/scripts/inject-version.ts +++ b/packages/gateway/scripts/inject-version.ts @@ -1,7 +1,6 @@ import { readFile, writeFile } from 'node:fs/promises'; import { resolve } from 'node:path'; import { fileURLToPath, URL } from 'node:url'; -// @ts-expect-error tsx will allow this to work import pkg from '../package.json'; const version = process.argv[2] || pkg.version; diff --git a/packages/gateway/src/bin.ts b/packages/gateway/src/bin.ts index 588f9030a..54ac7595a 100644 --- a/packages/gateway/src/bin.ts +++ b/packages/gateway/src/bin.ts @@ -1,10 +1,6 @@ #!/usr/bin/env node import { DefaultLogger } from '@graphql-mesh/utils'; -import { - enableModuleCachingIfPossible, - handleNodeWarnings, - run, -} from './cli.js'; +import { enableModuleCachingIfPossible, handleNodeWarnings, run } from './cli'; // @inject-version globalThis.__VERSION__ here diff --git a/packages/gateway/src/cli.ts b/packages/gateway/src/cli.ts index 968f1371c..fb2d7cbd3 100644 --- a/packages/gateway/src/cli.ts +++ b/packages/gateway/src/cli.ts @@ -9,23 +9,23 @@ import { InvalidArgumentError, Option, } from '@commander-js/extra-typings'; -import type { InitializeData } from '@graphql-mesh/include/hooks'; -import type { JWTAuthPluginOptions } from '@graphql-mesh/plugin-jwt-auth'; -import type { OpenTelemetryMeshPluginOptions } from '@graphql-mesh/plugin-opentelemetry'; -import type { PrometheusPluginOptions } from '@graphql-mesh/plugin-prometheus'; -import type useMeshRateLimit from '@graphql-mesh/plugin-rate-limit'; import type { GatewayConfigContext, GatewayConfigProxy, GatewayConfigSubgraph, GatewayConfigSupergraph, -} from '@graphql-mesh/serve-runtime'; +} from '@graphql-hive/gateway-runtime'; +import type { InitializeData } from '@graphql-mesh/include/hooks'; +import type { JWTAuthPluginOptions } from '@graphql-mesh/plugin-jwt-auth'; +import type { OpenTelemetryMeshPluginOptions } from '@graphql-mesh/plugin-opentelemetry'; +import type { PrometheusPluginOptions } from '@graphql-mesh/plugin-prometheus'; +import useMeshRateLimit from '@graphql-mesh/plugin-rate-limit'; import type { KeyValueCache, Logger, YamlConfig } from '@graphql-mesh/types'; import { DefaultLogger } from '@graphql-mesh/utils'; import parseDuration from 'parse-duration'; -import { addCommands } from './commands/index.js'; -import { createDefaultConfigPaths } from './config.js'; -import type { ServerConfig } from './server.js'; +import { addCommands } from './commands/index'; +import { createDefaultConfigPaths } from './config'; +import type { ServerConfig } from './server'; export type GatewayCLIConfig = ( | GatewayCLISupergraphConfig diff --git a/packages/gateway/src/commands/index.ts b/packages/gateway/src/commands/index.ts index 53c501aef..2494fe0bb 100644 --- a/packages/gateway/src/commands/index.ts +++ b/packages/gateway/src/commands/index.ts @@ -1,7 +1,7 @@ -import type { AddCommand } from '../cli.js'; -import { addCommand as addProxyCommand } from './proxy.js'; -import { addCommand as addSubgraphCommand } from './subgraph.js'; -import { addCommand as addSupergraphCommand } from './supergraph.js'; +import type { AddCommand } from '../cli'; +import { addCommand as addProxyCommand } from './proxy'; +import { addCommand as addSubgraphCommand } from './subgraph'; +import { addCommand as addSupergraphCommand } from './supergraph'; export const addCommands: AddCommand = (ctx, cli) => { addSupergraphCommand(ctx, cli); diff --git a/packages/gateway/src/commands/proxy.ts b/packages/gateway/src/commands/proxy.ts index 0d66f8689..b011bffac 100644 --- a/packages/gateway/src/commands/proxy.ts +++ b/packages/gateway/src/commands/proxy.ts @@ -2,7 +2,7 @@ import cluster from 'node:cluster'; import { createGatewayRuntime, type GatewayConfigProxy, -} from '@graphql-mesh/serve-runtime'; +} from '@graphql-hive/gateway-runtime'; import { isUrl, PubSub } from '@graphql-mesh/utils'; import { defaultOptions, @@ -10,14 +10,14 @@ import { type CLIContext, type CLIGlobals, type GatewayCLIConfig, -} from '../cli.js'; +} from '../cli'; import { getBuiltinPluginsFromConfig, getCacheInstanceFromConfig, loadConfig, -} from '../config.js'; -import { startServerForRuntime } from '../server.js'; -import { handleFork } from './handleFork.js'; +} from '../config'; +import { startServerForRuntime } from '../server'; +import { handleFork } from './handleFork'; export const addCommand: AddCommand = (ctx, cli) => cli diff --git a/packages/gateway/src/commands/subgraph.ts b/packages/gateway/src/commands/subgraph.ts index 01075499c..d884a3f11 100644 --- a/packages/gateway/src/commands/subgraph.ts +++ b/packages/gateway/src/commands/subgraph.ts @@ -5,7 +5,7 @@ import { createGatewayRuntime, type GatewayConfigSubgraph, type UnifiedGraphConfig, -} from '@graphql-mesh/serve-runtime'; +} from '@graphql-hive/gateway-runtime'; import { isUrl, PubSub } from '@graphql-mesh/utils'; import { isValidPath } from '@graphql-tools/utils'; import { @@ -14,14 +14,14 @@ import { type CLIContext, type CLIGlobals, type GatewayCLIConfig, -} from '../cli.js'; +} from '../cli'; import { getBuiltinPluginsFromConfig, getCacheInstanceFromConfig, loadConfig, -} from '../config.js'; -import { startServerForRuntime } from '../server.js'; -import { handleFork } from './handleFork.js'; +} from '../config'; +import { startServerForRuntime } from '../server'; +import { handleFork } from './handleFork'; export const addCommand: AddCommand = (ctx, cli) => cli diff --git a/packages/gateway/src/commands/supergraph.ts b/packages/gateway/src/commands/supergraph.ts index cd52ea7de..19a469912 100644 --- a/packages/gateway/src/commands/supergraph.ts +++ b/packages/gateway/src/commands/supergraph.ts @@ -8,7 +8,7 @@ import { type GatewayGraphOSManagedFederationOptions, type GatewayHiveCDNOptions, type UnifiedGraphConfig, -} from '@graphql-mesh/serve-runtime'; +} from '@graphql-hive/gateway-runtime'; import { isUrl, PubSub, registerTerminateHandler } from '@graphql-mesh/utils'; import { isValidPath } from '@graphql-tools/utils'; import { @@ -17,14 +17,14 @@ import { type CLIContext, type CLIGlobals, type GatewayCLIConfig, -} from '../cli.js'; +} from '../cli'; import { getBuiltinPluginsFromConfig, getCacheInstanceFromConfig, loadConfig, -} from '../config.js'; -import { startServerForRuntime } from '../server.js'; -import { handleFork } from './handleFork.js'; +} from '../config'; +import { startServerForRuntime } from '../server'; +import { handleFork } from './handleFork'; export const addCommand: AddCommand = (ctx, cli) => cli diff --git a/packages/gateway/src/config.ts b/packages/gateway/src/config.ts index 3923937b8..8337bb3a7 100644 --- a/packages/gateway/src/config.ts +++ b/packages/gateway/src/config.ts @@ -6,10 +6,10 @@ import type { GatewayConfig, GatewayConfigContext, GatewayPlugin, -} from '@graphql-mesh/serve-runtime'; +} from '@graphql-hive/gateway-runtime'; import type { KeyValueCache, Logger } from '@graphql-mesh/types'; -import type { GatewayCLIBuiltinPluginConfig } from './cli.js'; -import type { ServerConfig } from './server.js'; +import type { GatewayCLIBuiltinPluginConfig } from './cli'; +import type { ServerConfig } from './server'; export const defaultConfigExtensions = [ '.ts', diff --git a/packages/gateway/src/index.ts b/packages/gateway/src/index.ts index 804e55fa1..589feff35 100644 --- a/packages/gateway/src/index.ts +++ b/packages/gateway/src/index.ts @@ -1,5 +1,5 @@ -export * from './cli.js'; -export * from '@graphql-mesh/serve-runtime'; +export * from './cli'; +export * from '@graphql-hive/gateway-runtime'; export { PubSub } from '@graphql-mesh/utils'; export * from '@graphql-mesh/plugin-jwt-auth'; export * from '@graphql-mesh/plugin-opentelemetry'; diff --git a/packages/gateway/src/server.ts b/packages/gateway/src/server.ts index f0380fab1..c3c354191 100644 --- a/packages/gateway/src/server.ts +++ b/packages/gateway/src/server.ts @@ -2,10 +2,10 @@ import { promises as fsPromises } from 'node:fs'; import { createServer as createHTTPServer, type Server } from 'node:http'; import { createServer as createHTTPSServer } from 'node:https'; import type { SecureContextOptions } from 'node:tls'; -import type { GatewayRuntime } from '@graphql-mesh/serve-runtime'; +import type { GatewayRuntime } from '@graphql-hive/gateway-runtime'; import type { Logger } from '@graphql-mesh/types'; import { createAsyncDisposable, getTerminateStack } from '@graphql-mesh/utils'; -import { defaultOptions } from './cli.js'; +import { defaultOptions } from './cli'; export interface ServerConfig { /** diff --git a/packages/gateway/tsconfig.json b/packages/gateway/tsconfig.json deleted file mode 100644 index 6a153a08f..000000000 --- a/packages/gateway/tsconfig.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": ["../../tsconfig.base.json", "@tsconfig/node18/tsconfig.json"], - "include": ["src", "scripts"] -} diff --git a/packages/runtime/package.json b/packages/runtime/package.json index 5d990f317..bca9e948d 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -11,7 +11,6 @@ "engines": { "node": ">=18.0.0" }, - "bin": "./dist/bin.js", "main": "./dist/index.js", "exports": { ".": { @@ -74,7 +73,8 @@ "devDependencies": { "@envelop/disable-introspection": "6.0.0", "graphql-sse": "^2.5.3", - "html-minifier-terser": "7.2.0" + "html-minifier-terser": "7.2.0", + "pkgroll": "^2.5.0" }, "sideEffects": false } diff --git a/packages/runtime/src/createGatewayRuntime.ts b/packages/runtime/src/createGatewayRuntime.ts index 089937afc..9b5b63aa3 100644 --- a/packages/runtime/src/createGatewayRuntime.ts +++ b/packages/runtime/src/createGatewayRuntime.ts @@ -66,25 +66,25 @@ import { type YogaServerInstance, } from 'graphql-yoga'; import type { GraphiQLOptions, PromiseOrValue } from 'graphql-yoga'; -import { getProxyExecutor } from './getProxyExecutor.js'; -import { getReportingPlugin } from './getReportingPlugin.js'; +import { getProxyExecutor } from './getProxyExecutor'; +import { getReportingPlugin } from './getReportingPlugin'; import { getUnifiedGraphSDL, handleUnifiedGraphConfig, -} from './handleUnifiedGraphConfig.js'; -import landingPageHtml from './landing-page-html.js'; -import { useChangingSchema } from './plugins/useChangingSchema.js'; -import { useCompleteSubscriptionsOnDispose } from './plugins/useCompleteSubscriptionsOnDispose.js'; -import { useCompleteSubscriptionsOnSchemaChange } from './plugins/useCompleteSubscriptionsOnSchemaChange.js'; -import { useContentEncoding } from './plugins/useContentEncoding.js'; -import { useCustomAgent } from './plugins/useCustomAgent.js'; -import { useFetchDebug } from './plugins/useFetchDebug.js'; -import { usePropagateHeaders } from './plugins/usePropagateHeaders.js'; -import { useRequestId } from './plugins/useRequestId.js'; -import { useSubgraphExecuteDebug } from './plugins/useSubgraphExecuteDebug.js'; -import { useUpstreamCancel } from './plugins/useUpstreamCancel.js'; -import { useWebhooks } from './plugins/useWebhooks.js'; -import { defaultProductLogo } from './productLogo.js'; +} from './handleUnifiedGraphConfig'; +import landingPageHtml from './landing-page-html'; +import { useChangingSchema } from './plugins/useChangingSchema'; +import { useCompleteSubscriptionsOnDispose } from './plugins/useCompleteSubscriptionsOnDispose'; +import { useCompleteSubscriptionsOnSchemaChange } from './plugins/useCompleteSubscriptionsOnSchemaChange'; +import { useContentEncoding } from './plugins/useContentEncoding'; +import { useCustomAgent } from './plugins/useCustomAgent'; +import { useFetchDebug } from './plugins/useFetchDebug'; +import { usePropagateHeaders } from './plugins/usePropagateHeaders'; +import { useRequestId } from './plugins/useRequestId'; +import { useSubgraphExecuteDebug } from './plugins/useSubgraphExecuteDebug'; +import { useUpstreamCancel } from './plugins/useUpstreamCancel'; +import { useWebhooks } from './plugins/useWebhooks'; +import { defaultProductLogo } from './productLogo'; import type { GatewayConfig, GatewayConfigContext, @@ -92,8 +92,8 @@ import type { GatewayHiveCDNOptions, GatewayPlugin, UnifiedGraphConfig, -} from './types.js'; -import { checkIfDataSatisfiesSelectionSet, defaultQueryText } from './utils.js'; +} from './types'; +import { checkIfDataSatisfiesSelectionSet, defaultQueryText } from './utils'; // TODO: this type export is not properly accessible from graphql-yoga // "graphql-yoga/typings/plugins/use-graphiql.js" is an illegal path diff --git a/packages/runtime/src/getProxyExecutor.ts b/packages/runtime/src/getProxyExecutor.ts index 38e6897d3..6aa82df3f 100644 --- a/packages/runtime/src/getProxyExecutor.ts +++ b/packages/runtime/src/getProxyExecutor.ts @@ -5,7 +5,7 @@ import type { import { getOnSubgraphExecute } from '@graphql-mesh/fusion-runtime'; import type { Executor } from '@graphql-tools/utils'; import type { GraphQLSchema } from 'graphql'; -import type { GatewayConfigContext, GatewayConfigProxy } from './types.js'; +import type { GatewayConfigContext, GatewayConfigProxy } from './types'; export function getProxyExecutor>({ config, diff --git a/packages/runtime/src/getReportingPlugin.ts b/packages/runtime/src/getReportingPlugin.ts index 006469557..257df4639 100644 --- a/packages/runtime/src/getReportingPlugin.ts +++ b/packages/runtime/src/getReportingPlugin.ts @@ -4,7 +4,7 @@ import type { GatewayConfig, GatewayConfigContext, GatewayPlugin, -} from './types.js'; +} from './types'; export function getReportingPlugin>( config: GatewayConfig, diff --git a/packages/runtime/src/handleUnifiedGraphConfig.ts b/packages/runtime/src/handleUnifiedGraphConfig.ts index 1afaa8e52..c2e30e2a0 100644 --- a/packages/runtime/src/handleUnifiedGraphConfig.ts +++ b/packages/runtime/src/handleUnifiedGraphConfig.ts @@ -13,7 +13,7 @@ import { } from '@graphql-tools/utils'; import type { DocumentNode, GraphQLSchema } from 'graphql'; import { buildASTSchema, isSchema, parse, print } from 'graphql'; -import type { GatewayConfigContext } from './types.js'; +import type { GatewayConfigContext } from './types'; export type UnifiedGraphSchema = GraphQLSchema | DocumentNode | string; diff --git a/packages/runtime/src/index.ts b/packages/runtime/src/index.ts index 4053852f1..84a29ec51 100644 --- a/packages/runtime/src/index.ts +++ b/packages/runtime/src/index.ts @@ -1,9 +1,9 @@ -export * from './createGatewayRuntime.js'; -export type * from './types.js'; -export * from './plugins/useCustomFetch.js'; -export * from './plugins/useStaticFiles.js'; -export * from './getProxyExecutor.js'; -export * from './plugins/usePropagateHeaders.js'; +export * from './createGatewayRuntime'; +export type * from './types'; +export * from './plugins/useCustomFetch'; +export * from './plugins/useStaticFiles'; +export * from './getProxyExecutor'; +export * from './plugins/usePropagateHeaders'; export * from '@whatwg-node/disposablestack'; export type { ResolveUserFn, ValidateUserFn } from '@envelop/generic-auth'; export * from '@graphql-mesh/hmac-upstream-signature'; diff --git a/packages/runtime/src/plugins/useCustomFetch.ts b/packages/runtime/src/plugins/useCustomFetch.ts index 14fa6cdf3..0b787130f 100644 --- a/packages/runtime/src/plugins/useCustomFetch.ts +++ b/packages/runtime/src/plugins/useCustomFetch.ts @@ -1,6 +1,6 @@ /* eslint-disable import/no-extraneous-dependencies */ import type { MeshFetch } from '@graphql-mesh/types'; -import type { GatewayPlugin } from '../types.js'; +import type { GatewayPlugin } from '../types'; export function useCustomFetch(fetch: MeshFetch): GatewayPlugin { return { diff --git a/packages/runtime/src/plugins/useUpstreamCancel.ts b/packages/runtime/src/plugins/useUpstreamCancel.ts index 3328270d8..5d8aec473 100644 --- a/packages/runtime/src/plugins/useUpstreamCancel.ts +++ b/packages/runtime/src/plugins/useUpstreamCancel.ts @@ -1,4 +1,4 @@ -import type { GatewayPlugin } from '../types.js'; +import type { GatewayPlugin } from '../types'; export function useUpstreamCancel(): GatewayPlugin { return { diff --git a/packages/runtime/src/types.ts b/packages/runtime/src/types.ts index 050d8f467..ee622a005 100644 --- a/packages/runtime/src/types.ts +++ b/packages/runtime/src/types.ts @@ -30,10 +30,10 @@ import type { Plugin as YogaPlugin, YogaServerOptions, } from 'graphql-yoga'; -import type { UnifiedGraphConfig } from './handleUnifiedGraphConfig.js'; -import type { UseContentEncodingOpts } from './plugins/useContentEncoding.js'; -import type { AgentFactory } from './plugins/useCustomAgent.js'; -import { PropagateHeadersOpts } from './plugins/usePropagateHeaders.js'; +import type { UnifiedGraphConfig } from './handleUnifiedGraphConfig'; +import type { UseContentEncodingOpts } from './plugins/useContentEncoding'; +import type { AgentFactory } from './plugins/useCustomAgent'; +import { PropagateHeadersOpts } from './plugins/usePropagateHeaders'; export type { UnifiedGraphConfig }; diff --git a/packages/runtime/tsconfig.json b/packages/runtime/tsconfig.json deleted file mode 100644 index 351b97f5a..000000000 --- a/packages/runtime/tsconfig.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "extends": ["../../tsconfig.base.json"], - "compilerOptions": { - "module": "esnext", - "moduleResolution": "bundler", - "target": "esnext" - }, - "include": ["src"] -} diff --git a/tsconfig.base.json b/tsconfig.base.json deleted file mode 100644 index 82ca945a6..000000000 --- a/tsconfig.base.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extends": ["@tsconfig/strictest/tsconfig.json"], - "compilerOptions": { - "outDir": "dist", - "composite": true, - "noEmit": false, // we must emit to type check all packages - "emitDeclarationOnly": true - }, - "include": [] -} diff --git a/tsconfig.json b/tsconfig.json index 4626eb9ff..e9e51e18c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,16 @@ { - "references": [ - { "path": "packages/gateway" }, - { "path": "packages/runtime" } - ], - "include": [] + "extends": ["@tsconfig/strictest/tsconfig.json"], + "compilerOptions": { + // tsc only for type checking + "noEmit": true, + // pkgroll will take care of building, we use the most modern JS while coding + "module": "esnext", + "moduleResolution": "bundler", + "target": "esnext", + // packages + "paths": { + "@graphql-hive/gateway-runtime": ["./packages/runtime/src/index.ts"] + } + }, + "include": ["packages/**/src", "packages/**/scripts"] } diff --git a/yarn.lock b/yarn.lock index f2adb834b..e389615e9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -621,7 +621,7 @@ __metadata: languageName: node linkType: hard -"@graphql-hive/gateway-runtime@workspace:packages/runtime": +"@graphql-hive/gateway-runtime@npm:^0.0.0, @graphql-hive/gateway-runtime@workspace:packages/runtime": version: 0.0.0-use.local resolution: "@graphql-hive/gateway-runtime@workspace:packages/runtime" dependencies: @@ -653,6 +653,7 @@ __metadata: graphql-sse: "npm:^2.5.3" graphql-yoga: "npm:^5.7.0" html-minifier-terser: "npm:7.2.0" + pkgroll: "npm:^2.5.0" peerDependencies: "@parcel/watcher": ^2.1.0 graphql: ^16.9.0 @@ -669,6 +670,7 @@ __metadata: resolution: "@graphql-hive/gateway@workspace:packages/gateway" dependencies: "@commander-js/extra-typings": "npm:^12.1.0" + "@graphql-hive/gateway-runtime": "npm:^0.0.0" "@graphql-mesh/cache-cfw-kv": "npm:^0.102.6" "@graphql-mesh/cache-localforage": "npm:^0.102.6" "@graphql-mesh/cache-redis": "npm:^0.102.6" @@ -683,7 +685,6 @@ __metadata: "@graphql-mesh/plugin-prometheus": "npm:^1.1.0" "@graphql-mesh/plugin-rate-limit": "npm:^0.102.6" "@graphql-mesh/plugin-snapshot": "npm:^0.102.6" - "@graphql-mesh/serve-runtime": "npm:^1.1.0" "@graphql-mesh/transport-http-callback": "npm:^0.4.1" "@graphql-mesh/transport-ws": "npm:^0.3.7" "@graphql-mesh/types": "npm:^0.102.6"