diff --git a/.changeset/polite-moose-end.md b/.changeset/polite-moose-end.md new file mode 100644 index 00000000..9e1d2e9b --- /dev/null +++ b/.changeset/polite-moose-end.md @@ -0,0 +1,5 @@ +--- +'nx-mesh': patch +--- + +Use the `node_modules` bin symlink to run `graphql-mesh` & `graphql-codegen` diff --git a/libs/nx-mesh/src/utils/graphql-codegen-cli/cli.ts b/libs/nx-mesh/src/utils/graphql-codegen-cli/cli.ts index 3e3a8c2f..0dab50d8 100644 --- a/libs/nx-mesh/src/utils/graphql-codegen-cli/cli.ts +++ b/libs/nx-mesh/src/utils/graphql-codegen-cli/cli.ts @@ -3,10 +3,9 @@ import type { ChildProcess, ForkOptions } from 'child_process'; import type { Arguments } from './arguments'; -import { fork } from 'child_process'; +import { spawn } from 'child_process'; import { getCliArguments, flatternCliArguments } from './arguments'; -import { resolveCliPath } from './path'; export let childProcess: ChildProcess; @@ -15,13 +14,12 @@ export async function runCodegenCli( context: ExecutorContext, processOptions?: Pick<ForkOptions, 'stdio'> ) { - const cliPath = resolveCliPath(context.root); const args = getCliArguments(options); const cliArgs = flatternCliArguments(args); return new Promise((resolve, reject) => { - childProcess = fork(cliPath, cliArgs, { - stdio: processOptions?.stdio, + childProcess = spawn('npx', ['graphql-codegen', ...cliArgs], { + stdio: processOptions?.stdio ?? [0, 1, 2], cwd: context.root, env: { ...process.env, diff --git a/libs/nx-mesh/src/utils/graphql-codegen-cli/index.ts b/libs/nx-mesh/src/utils/graphql-codegen-cli/index.ts index 880f60c6..d29075ae 100644 --- a/libs/nx-mesh/src/utils/graphql-codegen-cli/index.ts +++ b/libs/nx-mesh/src/utils/graphql-codegen-cli/index.ts @@ -1,3 +1,2 @@ export * from './arguments'; export * from './cli'; -export * from './path'; diff --git a/libs/nx-mesh/src/utils/graphql-codegen-cli/path.spec.ts b/libs/nx-mesh/src/utils/graphql-codegen-cli/path.spec.ts deleted file mode 100644 index ab287567..00000000 --- a/libs/nx-mesh/src/utils/graphql-codegen-cli/path.spec.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { resolveCliPath } from './path'; - -describe('CodegenCli Path', () => { - describe('resolveCliPath', () => { - it('should use the global bin path by default', () => { - const expected = - '/User/Test/project/node_modules/@graphql-codegen/cli/cjs/bin.js'; - const result = resolveCliPath('/User/Test/project'); - expect(result).toBe(expected); - }); - - it.each([ - [ - '/User/Test/project', - './node_modules/package/bin.js', - '/User/Test/project/node_modules/package/bin.js', - ], - [ - '/User/Test/project', - '/node_modules/package/bin.js', - '/User/Test/project/node_modules/package/bin.js', - ], - [ - '/User/Test/project', - 'node_modules/package/bin.js', - '/User/Test/project/node_modules/package/bin.js', - ], - [ - '~/project', - 'node_modules/package/bin.js', - '~/project/node_modules/package/bin.js', - ], - ])( - 'should return a resolved path to the CLI bin', - (root, binPath, expected) => { - const result = resolveCliPath(root, binPath); - expect(result).toBe(expected); - } - ); - }); -}); diff --git a/libs/nx-mesh/src/utils/graphql-codegen-cli/path.ts b/libs/nx-mesh/src/utils/graphql-codegen-cli/path.ts deleted file mode 100644 index 854339a3..00000000 --- a/libs/nx-mesh/src/utils/graphql-codegen-cli/path.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { join } from 'path'; - -export const codegenCliBinPath = - './node_modules/@graphql-codegen/cli/cjs/bin.js'; - -/** - * The path to the GraphQL Codegen CLI bin file - * @param workspaceRoot - The workspace root containing the `node_modules` configectory. - * @returns path to the GraphQL Codegen CLI bin file - */ -export const resolveCliPath = ( - workspaceRoot: string, - binPath: string = codegenCliBinPath -) => join(workspaceRoot, binPath); diff --git a/libs/nx-mesh/src/utils/mesh-cli/cli.ts b/libs/nx-mesh/src/utils/mesh-cli/cli.ts index c48a2303..13a9e40d 100644 --- a/libs/nx-mesh/src/utils/mesh-cli/cli.ts +++ b/libs/nx-mesh/src/utils/mesh-cli/cli.ts @@ -3,11 +3,10 @@ import type { ChildProcess, ForkOptions } from 'child_process'; import type { Command, Options } from './commands'; -import { fork } from 'child_process'; +import { spawn } from 'child_process'; import { flatternCliArguments } from './arguments'; import { getCommandOptions } from './commands'; -import { resolveCliPath } from './path'; export let childProcess: ChildProcess; @@ -20,13 +19,12 @@ export async function runMeshCli< context: ExecutorContext, processOptions?: Pick<ForkOptions, 'stdio'> ) { - const cliPath = resolveCliPath(context.root); const { args, env } = getCommandOptions<TCommand>(options); const cliArgs = flatternCliArguments(args); return new Promise((resolve, reject) => { - childProcess = fork(cliPath, [command, ...cliArgs], { - stdio: processOptions?.stdio, + childProcess = spawn(`npx`, ['graphql-mesh', command, ...cliArgs], { + stdio: processOptions?.stdio ?? [0, 1, 2], cwd: context.root, env: { ...process.env, diff --git a/libs/nx-mesh/src/utils/mesh-cli/index.ts b/libs/nx-mesh/src/utils/mesh-cli/index.ts index a15bce87..5c94a7be 100644 --- a/libs/nx-mesh/src/utils/mesh-cli/index.ts +++ b/libs/nx-mesh/src/utils/mesh-cli/index.ts @@ -2,4 +2,3 @@ export * from './arguments'; export * from './cli'; export * from './commands'; export * from './env'; -export * from './path'; diff --git a/libs/nx-mesh/src/utils/mesh-cli/path.spec.ts b/libs/nx-mesh/src/utils/mesh-cli/path.spec.ts deleted file mode 100644 index e02c3460..00000000 --- a/libs/nx-mesh/src/utils/mesh-cli/path.spec.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { resolveCliPath } from './path'; - -describe('MeshCli Path', () => { - describe('resolveCliPath', () => { - it('should use the global bin path by default', () => { - const expected = - '/User/Test/project/node_modules/@graphql-mesh/cli/bin.js'; - const result = resolveCliPath('/User/Test/project'); - expect(result).toBe(expected); - }); - - it.each([ - [ - '/User/Test/project', - './node_modules/package/bin.js', - '/User/Test/project/node_modules/package/bin.js', - ], - [ - '/User/Test/project', - '/node_modules/package/bin.js', - '/User/Test/project/node_modules/package/bin.js', - ], - [ - '/User/Test/project', - 'node_modules/package/bin.js', - '/User/Test/project/node_modules/package/bin.js', - ], - [ - '~/project', - 'node_modules/package/bin.js', - '~/project/node_modules/package/bin.js', - ], - ])( - 'should return a resolved path to the CLI bin', - (root, binPath, expected) => { - const result = resolveCliPath(root, binPath); - expect(result).toBe(expected); - } - ); - }); -}); diff --git a/libs/nx-mesh/src/utils/mesh-cli/path.ts b/libs/nx-mesh/src/utils/mesh-cli/path.ts deleted file mode 100644 index 02c21d83..00000000 --- a/libs/nx-mesh/src/utils/mesh-cli/path.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { join } from 'path'; - -export const meshCliBinPath = './node_modules/@graphql-mesh/cli/bin.js'; - -/** - * The path to the GraphQL Mesh CLI bin file - * @param workspaceRoot - The workspace root containing the `node_modules` directory. - * @returns path to the GraphQL Mesh CLI bin file - */ -export const resolveCliPath = ( - workspaceRoot: string, - binPath: string = meshCliBinPath -) => join(workspaceRoot, binPath); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index dd88e61c..62bdbfc0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2547,11 +2547,11 @@ packages: '@commitlint/types': 17.0.0 '@types/node': 18.11.17 chalk: 4.1.2 - cosmiconfig: 7.0.1 - cosmiconfig-typescript-loader: 2.0.2_qyqhcmwufjmwhptfkdjysgeb6u + cosmiconfig: 7.1.0 + cosmiconfig-typescript-loader: 2.0.2_3sgqmwrw5isgeyfjp4yrqggce4 lodash: 4.17.21 resolve-from: 5.0.0 - typescript: 4.8.4 + typescript: 4.9.4 transitivePeerDependencies: - '@swc/core' - '@swc/wasm' @@ -2908,7 +2908,7 @@ packages: peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: - '@graphql-codegen/plugin-helpers': 3.1.1_graphql@16.6.0 + '@graphql-codegen/plugin-helpers': 3.1.2_graphql@16.6.0 graphql: 16.6.0 tslib: 2.4.1 dev: false @@ -3020,7 +3020,7 @@ packages: peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: - '@graphql-codegen/plugin-helpers': 3.1.1_graphql@16.6.0 + '@graphql-codegen/plugin-helpers': 3.1.2_graphql@16.6.0 '@graphql-tools/schema': 9.0.12_graphql@16.6.0 '@graphql-tools/utils': 9.1.3_graphql@16.6.0 graphql: 16.6.0 @@ -3035,7 +3035,7 @@ packages: peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: - '@graphql-codegen/plugin-helpers': 3.1.1_graphql@16.6.0 + '@graphql-codegen/plugin-helpers': 3.1.2_graphql@16.6.0 '@graphql-codegen/visitor-plugin-common': 2.13.5_rjjjs2nwgns3bcvnnqb5eu5nry '@graphql-tools/utils': 8.13.1_graphql@16.6.0 auto-bind: 4.0.0 @@ -3080,17 +3080,20 @@ packages: tslib: 2.4.1 dev: false - /@graphql-codegen/schema-ast/2.5.1_graphql@16.6.0: + /@graphql-codegen/plugin-helpers/3.1.2_graphql@16.6.0: resolution: { - integrity: sha512-tewa5DEKbglWn7kYyVBkh3J8YQ5ALqAMVmZwiVFIGOao5u66nd+e4HuFqp0u+Jpz4SJGGi0ap/oFrEvlqLjd2A==, + integrity: sha512-emOQiHyIliVOIjKVKdsI5MXj312zmRDwmHpyUTZMjfpvxq/UVAHUJIVdVf+lnjjrI+LXBTgMlTWTgHQfmICxjg==, } peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: - '@graphql-codegen/plugin-helpers': 2.7.2_graphql@16.6.0 - '@graphql-tools/utils': 8.13.1_graphql@16.6.0 + '@graphql-tools/utils': 9.1.3_graphql@16.6.0 + change-case-all: 1.0.15 + common-tags: 1.8.2 graphql: 16.6.0 + import-from: 4.0.0 + lodash: 4.17.21 tslib: 2.4.1 dev: false @@ -3102,12 +3105,26 @@ packages: peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: - '@graphql-codegen/plugin-helpers': 3.1.1_graphql@16.6.0 + '@graphql-codegen/plugin-helpers': 3.1.2_graphql@16.6.0 '@graphql-tools/utils': 8.13.1_graphql@16.6.0 graphql: 16.6.0 tslib: 2.4.1 dev: false + /@graphql-codegen/schema-ast/2.6.1_graphql@16.6.0: + resolution: + { + integrity: sha512-5TNW3b1IHJjCh07D2yQNGDQzUpUl2AD+GVe1Dzjqyx/d2Fn0TPMxLsHsKPS4Plg4saO8FK/QO70wLsP7fdbQ1w==, + } + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + '@graphql-codegen/plugin-helpers': 3.1.2_graphql@16.6.0 + '@graphql-tools/utils': 9.1.3_graphql@16.6.0 + graphql: 16.6.0 + tslib: 2.4.1 + dev: false + /@graphql-codegen/typed-document-node/2.3.10_rjjjs2nwgns3bcvnnqb5eu5nry: resolution: { @@ -3116,7 +3133,7 @@ packages: peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: - '@graphql-codegen/plugin-helpers': 3.1.1_graphql@16.6.0 + '@graphql-codegen/plugin-helpers': 3.1.2_graphql@16.6.0 '@graphql-codegen/visitor-plugin-common': 2.13.5_rjjjs2nwgns3bcvnnqb5eu5nry auto-bind: 4.0.0 change-case-all: 1.0.15 @@ -3173,8 +3190,8 @@ packages: peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: - '@graphql-codegen/plugin-helpers': 3.1.1_graphql@16.6.0 - '@graphql-codegen/typescript': 2.8.5_rjjjs2nwgns3bcvnnqb5eu5nry + '@graphql-codegen/plugin-helpers': 3.1.2_graphql@16.6.0 + '@graphql-codegen/typescript': 2.8.6_rjjjs2nwgns3bcvnnqb5eu5nry '@graphql-codegen/visitor-plugin-common': 2.13.5_rjjjs2nwgns3bcvnnqb5eu5nry auto-bind: 4.0.0 graphql: 16.6.0 @@ -3193,7 +3210,7 @@ packages: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: '@graphql-codegen/plugin-helpers': 2.7.2_graphql@16.6.0 - '@graphql-codegen/typescript': 2.8.1_rjjjs2nwgns3bcvnnqb5eu5nry + '@graphql-codegen/typescript': 2.8.6_rjjjs2nwgns3bcvnnqb5eu5nry '@graphql-codegen/visitor-plugin-common': 2.13.1_rjjjs2nwgns3bcvnnqb5eu5nry auto-bind: 4.0.0 graphql: 16.6.0 @@ -3212,7 +3229,7 @@ packages: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: '@graphql-codegen/plugin-helpers': 2.7.2_graphql@16.6.0 - '@graphql-codegen/typescript': 2.8.1_rjjjs2nwgns3bcvnnqb5eu5nry + '@graphql-codegen/typescript': 2.8.6_rjjjs2nwgns3bcvnnqb5eu5nry '@graphql-codegen/visitor-plugin-common': 2.13.1_rjjjs2nwgns3bcvnnqb5eu5nry '@graphql-tools/utils': 8.13.1_graphql@16.6.0 auto-bind: 4.0.0 @@ -3232,7 +3249,7 @@ packages: graphql: ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: '@graphql-codegen/plugin-helpers': 2.7.2_graphql@16.6.0 - '@graphql-codegen/schema-ast': 2.5.1_graphql@16.6.0 + '@graphql-codegen/schema-ast': 2.6.1_graphql@16.6.0 '@graphql-codegen/visitor-plugin-common': 2.13.1_rjjjs2nwgns3bcvnnqb5eu5nry auto-bind: 4.0.0 graphql: 16.6.0 @@ -3250,7 +3267,7 @@ packages: peerDependencies: graphql: ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: - '@graphql-codegen/plugin-helpers': 3.1.1_graphql@16.6.0 + '@graphql-codegen/plugin-helpers': 3.1.2_graphql@16.6.0 '@graphql-codegen/schema-ast': 2.6.0_graphql@16.6.0 '@graphql-codegen/visitor-plugin-common': 2.13.5_rjjjs2nwgns3bcvnnqb5eu5nry auto-bind: 4.0.0 @@ -3261,6 +3278,25 @@ packages: - supports-color dev: false + /@graphql-codegen/typescript/2.8.6_rjjjs2nwgns3bcvnnqb5eu5nry: + resolution: + { + integrity: sha512-zyIcwfZRBkngpaywnYQYyIHd3Cjw5sQN3IHzuE0iBgT9GOmqKP/clX3X8D0jzmGKP9LEZxsJmndZw7Nrvt1ksQ==, + } + peerDependencies: + graphql: ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + '@graphql-codegen/plugin-helpers': 3.1.2_graphql@16.6.0 + '@graphql-codegen/schema-ast': 2.6.1_graphql@16.6.0 + '@graphql-codegen/visitor-plugin-common': 2.13.6_rjjjs2nwgns3bcvnnqb5eu5nry + auto-bind: 4.0.0 + graphql: 16.6.0 + tslib: 2.4.1 + transitivePeerDependencies: + - encoding + - supports-color + dev: false + /@graphql-codegen/visitor-plugin-common/2.13.1_rjjjs2nwgns3bcvnnqb5eu5nry: resolution: { @@ -3293,7 +3329,7 @@ packages: peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: - '@graphql-codegen/plugin-helpers': 3.1.1_graphql@16.6.0 + '@graphql-codegen/plugin-helpers': 3.1.2_graphql@16.6.0 '@graphql-tools/optimize': 1.3.0_graphql@16.6.0 '@graphql-tools/relay-operation-optimizer': 6.5.0_rjjjs2nwgns3bcvnnqb5eu5nry '@graphql-tools/utils': 8.13.1_graphql@16.6.0 @@ -3309,6 +3345,30 @@ packages: - supports-color dev: false + /@graphql-codegen/visitor-plugin-common/2.13.6_rjjjs2nwgns3bcvnnqb5eu5nry: + resolution: + { + integrity: sha512-jDxbS8CZIu3KPqku1NzkVkCvPy4UUxhmtRz+yyG3W6go/3hq/VG/yx3ljhI7jYT08W9yaFCUzczimS9fM+Qanw==, + } + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + '@graphql-codegen/plugin-helpers': 3.1.2_graphql@16.6.0 + '@graphql-tools/optimize': 1.3.0_graphql@16.6.0 + '@graphql-tools/relay-operation-optimizer': 6.5.0_rjjjs2nwgns3bcvnnqb5eu5nry + '@graphql-tools/utils': 9.1.3_graphql@16.6.0 + auto-bind: 4.0.0 + change-case-all: 1.0.15 + dependency-graph: 0.11.0 + graphql: 16.6.0 + graphql-tag: 2.12.6_graphql@16.6.0 + parse-filepath: 1.0.2 + tslib: 2.4.1 + transitivePeerDependencies: + - encoding + - supports-color + dev: false + /@graphql-inspector/core/3.3.0_graphql@16.6.0: resolution: { @@ -3438,7 +3498,7 @@ packages: '@graphql-tools/graphql-file-loader': 7.5.9_graphql@16.6.0 '@graphql-tools/load': 7.8.4_graphql@16.6.0 '@graphql-tools/utils': 9.0.1_graphql@16.6.0 - '@whatwg-node/fetch': 0.5.3_encoding@0.1.13 + '@whatwg-node/fetch': 0.5.4_encoding@0.1.13 camel-case: 4.1.2 graphql: 16.6.0 param-case: 3.0.4 @@ -3524,8 +3584,8 @@ packages: '@graphql-mesh/runtime': 0.44.31_rjjjs2nwgns3bcvnnqb5eu5nry '@graphql-mesh/types': 0.85.7_graphql@16.6.0 '@graphql-mesh/utils': 0.42.6_graphql@16.6.0 - '@whatwg-node/fetch': 0.5.3_encoding@0.1.13 - '@whatwg-node/server': 0.4.14_tnszpa3q4sbvo73aomgaj2dute + '@whatwg-node/fetch': 0.5.4_encoding@0.1.13 + '@whatwg-node/server': 0.4.17_tnszpa3q4sbvo73aomgaj2dute graphql: 16.6.0 graphql-yoga: 3.0.0-next.10_hkojjjhjmmbpr445byqe4myfr4 itty-router: 2.6.6 @@ -3996,7 +4056,7 @@ packages: dependencies: '@ardatan/sync-fetch': 0.0.1_encoding@0.1.13 '@graphql-tools/utils': 9.1.3_graphql@16.6.0 - '@whatwg-node/fetch': 0.5.3_encoding@0.1.13 + '@whatwg-node/fetch': 0.5.4_encoding@0.1.13 graphql: 16.6.0 tslib: 2.4.1 transitivePeerDependencies: @@ -4278,7 +4338,7 @@ packages: '@ardatan/sync-fetch': 0.0.1_encoding@0.1.13 '@graphql-tools/graphql-tag-pluck': 7.4.2_graphql@16.6.0 '@graphql-tools/utils': 9.1.3_graphql@16.6.0 - '@whatwg-node/fetch': 0.5.3_encoding@0.1.13 + '@whatwg-node/fetch': 0.5.4_encoding@0.1.13 graphql: 16.6.0 tslib: 2.4.1 transitivePeerDependencies: @@ -4287,6 +4347,22 @@ packages: - supports-color dev: false + /@graphql-tools/graphql-file-loader/7.5.13_graphql@16.6.0: + resolution: + { + integrity: sha512-VWFVnw3aB6sykGfpb/Dn3sxQswqvp2FsVwDy8ubH1pgLuxlDuurhHjRHvMG2+p7IaHC7q8T3Vk/rLtZftrwOBQ==, + } + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + dependencies: + '@graphql-tools/import': 6.7.14_graphql@16.6.0 + '@graphql-tools/utils': 9.1.3_graphql@16.6.0 + globby: 11.1.0 + graphql: 16.6.0 + tslib: 2.4.1 + unixify: 1.0.0 + dev: false + /@graphql-tools/graphql-file-loader/7.5.9_graphql@16.6.0: resolution: { @@ -4355,6 +4431,20 @@ packages: tslib: 2.4.1 dev: false + /@graphql-tools/import/6.7.14_graphql@16.6.0: + resolution: + { + integrity: sha512-lRX/MHM0Km497kg4VXMvtV1DeG/AfPJFO2ovaL0kDujWEdyCsWxsB4whY7nPeiNaPA/nT3mQ8MU7yFzVjogF/Q==, + } + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + dependencies: + '@graphql-tools/utils': 9.1.3_graphql@16.6.0 + graphql: 16.6.0 + resolve-from: 5.0.0 + tslib: 2.4.1 + dev: false + /@graphql-tools/json-file-loader/7.4.14_graphql@16.6.0: resolution: { @@ -4400,6 +4490,21 @@ packages: tslib: 2.4.1 dev: false + /@graphql-tools/load/7.8.8_graphql@16.6.0: + resolution: + { + integrity: sha512-gMuQdO2jXmI0BNUc1MafxRQTWVMUtuH500pZAQtOdDdNJppV7lJdY6mMhITQ2qnhYDuMrcZPHhIkcftyQfkgUg==, + } + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + dependencies: + '@graphql-tools/schema': 9.0.12_graphql@16.6.0 + '@graphql-tools/utils': 9.1.3_graphql@16.6.0 + graphql: 16.6.0 + p-limit: 3.1.0 + tslib: 2.4.1 + dev: false + /@graphql-tools/merge/8.3.10_graphql@16.6.0: resolution: { @@ -4681,7 +4786,7 @@ packages: '@graphql-tools/utils': 9.0.1_graphql@16.6.0 '@graphql-tools/wrap': 9.2.10_graphql@16.6.0 '@types/ws': 8.5.3 - '@whatwg-node/fetch': 0.5.3_encoding@0.1.13 + '@whatwg-node/fetch': 0.5.4_encoding@0.1.13 dset: 3.1.2 extract-files: 11.0.0 graphql: 16.6.0 @@ -4714,7 +4819,7 @@ packages: '@graphql-tools/utils': 9.1.3_graphql@16.6.0 '@graphql-tools/wrap': 9.2.21_graphql@16.6.0 '@types/ws': 8.5.3 - '@whatwg-node/fetch': 0.5.3_encoding@0.1.13 + '@whatwg-node/fetch': 0.5.4_encoding@0.1.13 graphql: 16.6.0 isomorphic-ws: 5.0.0_ws@8.11.0 tslib: 2.4.1 @@ -4919,13 +5024,13 @@ packages: tslib: 2.4.1 dev: false - /@graphql-yoga/subscription/3.0.0-next.0: + /@graphql-yoga/subscription/3.0.0: resolution: { - integrity: sha512-ne+0p7CUHK8XOZRymKzYCLtllKNLqHnL+DiAOMCsvTm7NwgRXBBWiVwN/Bkp/JUTS8+PTssuTSLG8cUTR55p7g==, + integrity: sha512-Wy1m2fcCrSj2a/KbtlQUEJ8Go7M95jeUXEH1dqbS6T6wbReqQHqq5ecSUKNhL49Xziy2Sh6od8iWm7MBUIWAlQ==, } dependencies: - '@graphql-yoga/typed-event-target': 1.0.0-next.0 + '@graphql-yoga/typed-event-target': 1.0.0 '@repeaterjs/repeater': 3.0.4 '@whatwg-node/events': 0.0.2 tslib: 2.4.1 @@ -4941,10 +5046,10 @@ packages: tslib: 2.4.1 dev: false - /@graphql-yoga/typed-event-target/1.0.0-next.0: + /@graphql-yoga/typed-event-target/1.0.0: resolution: { - integrity: sha512-OP+6WpeP2eJBdQ4aVdP6m+dhVXPQX1xJ0T2GVmBMiRD3NQeaIMbAP0FPrB3gvh2VGVH0UaAPspQSKsxwEe8YtQ==, + integrity: sha512-Mqni6AEvl3VbpMtKw+TIjc9qS9a8hKhiAjFtqX488yq5oJtj9TkNlFTIacAVS3vnPiswNsmDiQqvwUOcJgi1DA==, } dependencies: '@repeaterjs/repeater': 3.0.4 @@ -6814,7 +6919,7 @@ packages: '@graphql-mesh/utils': 0.42.6_graphql@16.6.0 '@graphql-tools/utils': 9.0.1_graphql@16.6.0 '@json-schema-tools/meta-schema': 1.7.0 - '@whatwg-node/fetch': 0.5.3_encoding@0.1.13 + '@whatwg-node/fetch': 0.5.4_encoding@0.1.13 ajv: 8.11.0 ajv-formats: 2.1.1 graphql: 16.6.0 @@ -8695,6 +8800,24 @@ packages: - encoding dev: false + /@whatwg-node/fetch/0.5.4_encoding@0.1.13: + resolution: + { + integrity: sha512-dR5PCzvOeS7OaW6dpIlPt+Ou3pak7IEG+ZVAV26ltcaiDB3+IpuvjqRdhsY6FKHcqBo1qD+S99WXY9Z6+9Rwnw==, + } + dependencies: + '@peculiar/webcrypto': 1.4.1 + abort-controller: 3.0.0 + busboy: 1.6.0 + form-data-encoder: 1.7.2 + formdata-node: 4.3.3 + node-fetch: 2.6.7_encoding@0.1.13 + undici: 5.12.0 + web-streams-polyfill: 3.2.1 + transitivePeerDependencies: + - encoding + dev: false + /@whatwg-node/server/0.4.14_tnszpa3q4sbvo73aomgaj2dute: resolution: { @@ -8710,6 +8833,21 @@ packages: - encoding dev: false + /@whatwg-node/server/0.4.17_tnszpa3q4sbvo73aomgaj2dute: + resolution: + { + integrity: sha512-kq1AHyi87VWfiDqiSTAOY+py83HMJg42+fI8JAe1wjmMkJ8v/E5mKq5NpLNRM9Cnf7NHsQR0AwQgvX/RFuptaA==, + } + peerDependencies: + '@types/node': ^18.0.6 + dependencies: + '@types/node': 18.11.9 + '@whatwg-node/fetch': 0.5.3_encoding@0.1.13 + tslib: 2.4.1 + transitivePeerDependencies: + - encoding + dev: false + /@xtuc/ieee754/1.2.0: resolution: { @@ -10673,7 +10811,7 @@ packages: '@iarna/toml': 2.2.5 dev: false - /cosmiconfig-typescript-loader/2.0.2_qyqhcmwufjmwhptfkdjysgeb6u: + /cosmiconfig-typescript-loader/2.0.2_3sgqmwrw5isgeyfjp4yrqggce4: resolution: { integrity: sha512-KmE+bMjWMXJbkWCeY4FJX/npHuZPNr9XF9q9CIQ/bpFwi1qHfCmSiKarrCcRa0LO4fWjk93pVoeRtJAkTGcYNw==, @@ -10685,8 +10823,8 @@ packages: dependencies: '@types/node': 18.11.17 cosmiconfig: 7.1.0 - ts-node: 10.9.1_qyqhcmwufjmwhptfkdjysgeb6u - typescript: 4.8.4 + ts-node: 10.9.1_3sgqmwrw5isgeyfjp4yrqggce4 + typescript: 4.9.4 transitivePeerDependencies: - '@swc/core' - '@swc/wasm' @@ -13488,9 +13626,9 @@ packages: peerDependencies: graphql: ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: - '@graphql-tools/graphql-file-loader': 7.5.9_graphql@16.6.0 + '@graphql-tools/graphql-file-loader': 7.5.13_graphql@16.6.0 '@graphql-tools/json-file-loader': 7.4.14_graphql@16.6.0 - '@graphql-tools/load': 7.8.4_graphql@16.6.0 + '@graphql-tools/load': 7.8.8_graphql@16.6.0 '@graphql-tools/merge': 8.3.14_graphql@16.6.0 '@graphql-tools/url-loader': 7.16.26_hkojjjhjmmbpr445byqe4myfr4 '@graphql-tools/utils': 8.13.1_graphql@16.6.0 @@ -13665,7 +13803,7 @@ packages: '@graphql-tools/schema': 9.0.12_graphql@16.6.0 '@graphql-tools/utils': 9.1.3_graphql@16.6.0 '@graphql-typed-document-node/core': 3.1.1_graphql@16.6.0 - '@graphql-yoga/subscription': 3.0.0-next.0 + '@graphql-yoga/subscription': 3.0.0 '@whatwg-node/fetch': 0.5.1_encoding@0.1.13 '@whatwg-node/server': 0.4.14_tnszpa3q4sbvo73aomgaj2dute dset: 3.1.2 @@ -15715,7 +15853,7 @@ packages: '@graphql-mesh/utils': 0.42.6_graphql@16.6.0 '@graphql-tools/utils': 9.0.1_graphql@16.6.0 '@json-schema-tools/meta-schema': 1.7.0 - '@whatwg-node/fetch': 0.5.3_encoding@0.1.13 + '@whatwg-node/fetch': 0.5.4_encoding@0.1.13 json-pointer: 0.6.2 to-json-schema: 0.2.5 tslib: 2.4.1 @@ -20905,7 +21043,7 @@ packages: yn: 3.1.1 dev: false - /ts-node/10.9.1_b2ulvot2eensv5kijvirfsfnxq: + /ts-node/10.9.1_3sgqmwrw5isgeyfjp4yrqggce4: resolution: { integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==, @@ -20928,18 +21066,19 @@ packages: '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.3 - '@types/node': 18.11.9 + '@types/node': 18.11.17 acorn: 8.8.0 acorn-walk: 8.2.0 arg: 4.1.3 create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 4.8.4 + typescript: 4.9.4 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 + dev: false - /ts-node/10.9.1_qyqhcmwufjmwhptfkdjysgeb6u: + /ts-node/10.9.1_b2ulvot2eensv5kijvirfsfnxq: resolution: { integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==, @@ -20962,7 +21101,7 @@ packages: '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.3 - '@types/node': 18.11.17 + '@types/node': 18.11.9 acorn: 8.8.0 acorn-walk: 8.2.0 arg: 4.1.3 @@ -20972,7 +21111,6 @@ packages: typescript: 4.8.4 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 - dev: false /tsconfig-paths-webpack-plugin/3.5.2: resolution: @@ -21174,6 +21312,15 @@ packages: engines: { node: '>=4.2.0' } hasBin: true + /typescript/4.9.4: + resolution: + { + integrity: sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==, + } + engines: { node: '>=4.2.0' } + hasBin: true + dev: false + /ua-parser-js/0.7.31: resolution: {