From 533558a06303f3744d2eaf20110a3c1c104eaf1e Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 12 Nov 2026 09:52:30 +0000 Subject: [PATCH] chore(deps): update graphqlcodegenerator monorepo (major) (#3144) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [@graphql-codegen/cli](https://github.com/dotansimha/graphql-code-generator) ([source](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/graphql-codegen-cli)) | [`7.4.6` → `8.0.0`](https://renovatebot.com/diffs/npm/@graphql-codegen%2fcli/7.4.6/8.0.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@graphql-codegen%2fcli/8.0.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@graphql-codegen%2fcli/7.4.6/8.0.0?slim=true) | | [@graphql-codegen/fragment-matcher](https://github.com/dotansimha/graphql-code-generator) ([source](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/plugins/other/fragment-matcher)) | [`7.1.1` → `8.0.0`](https://renovatebot.com/diffs/npm/@graphql-codegen%2ffragment-matcher/7.1.1/8.0.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@graphql-codegen%2ffragment-matcher/8.0.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@graphql-codegen%2ffragment-matcher/7.1.1/8.0.0?slim=true) | | [@graphql-codegen/typescript](https://github.com/dotansimha/graphql-code-generator) ([source](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/plugins/typescript/typescript)) | [`6.1.2` → `7.0.0`](https://renovatebot.com/diffs/npm/@graphql-codegen%2ftypescript/6.1.2/7.0.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@graphql-codegen%2ftypescript/7.0.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@graphql-codegen%2ftypescript/6.1.2/7.0.0?slim=true) | | [@graphql-codegen/typescript-operations](https://github.com/dotansimha/graphql-code-generator) ([source](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/plugins/typescript/operations)) | [`6.2.0` → `7.0.0`](https://renovatebot.com/diffs/npm/@graphql-codegen%2ftypescript-operations/6.2.0/7.0.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@graphql-codegen%2ftypescript-operations/7.0.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@graphql-codegen%2ftypescript-operations/6.2.0/7.0.0?slim=true) | --- ### Release Notes
dotansimha/graphql-code-generator (@​graphql-codegen/cli) ### [`v8.0.0`](https://github.com/dotansimha/graphql-code-generator/blob/HEAD/packages/graphql-codegen-cli/CHANGELOG.md#800) [Compare Source](https://github.com/dotansimha/graphql-code-generator/compare/@graphql-codegen/cli@7.4.6...@graphql-codegen/cli@8.0.0) ##### Major Changes - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: GraphQL 14 and 15 are no longer supported. The `graphql` peer dependency is now `^16.0.0 || ^17.0.0`, so upgrade `graphql` to version 16 or 17 before updating to this version. - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: Node.js versions below 22.18.0 are no longer supported. Upgrade to Node.js 22.18.0 or later before updating to this version. - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - `generate()` now returns `Promise` instead of `Promise`. The result is no longer `any`, so consumers using the result as an array must narrow it first. Refs [#​11071](https://github.com/dotansimha/graphql-code-generator/issues/11071) - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: Remove the deprecated `emitLegacyCommonJSImports` config option and the `--emit-legacy-common-js-imports` CLI flag Use `importExtension` (or `--import-extension`) to set the extension appended to relative imports. When `importExtension` is not set, no extension is appended. `@graphql-codegen/plugin-helpers` no longer exports `normalizeImportExtension`. Use `importExtension ?? ''` instead. Migration: ```diff const config: CodegenConfig = { - emitLegacyCommonJSImports: false, + importExtension: '.js', }; ``` - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: `@graphql-tools/*` dependencies are updated to their latest majors, which require Node.js 22.18.0 or later and GraphQL 16 or 17. If you import `@graphql-tools/*` packages in your own code, update them to the same majors to avoid duplicate installs. `@graphql-tools/code-file-loader@9` now extracts `#graphql`-marked template literals by default, so code files that contain such templates can produce newly found documents; check your generated output after upgrading. To keep the previous behavior, set `pluckConfig: { gqlHashComment: '' }`. - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE - `config.generates` no longer takes `ConfiguredPlugin[]`, takes `ConfiguredOutput[]` instead `config.generates`'s previous typing allowed a value to be an array e.g. ``` generates: { "src/gql/generated.ts": [{ typescript: {} }] } ``` However, this never worked because this config is eventually passed into `normalizeOutputParam` which previously had this bug in the implementation: ```ts export function normalizeOutputParam(config) { // 0. When config is an array... if (isOutputConfigArray(config)) { // 1. `isOutputConfigArray(config)` was `Array.isArray(config)` -> returns true return { documents: [], schema: [], plugins: isConfiguredOutput(config) ? config.plugins : config // 2. ‼️ `isConfiguredOutput(config)` was `typeof config === 'object'` -> returns true. This is a bug because we are accessing `plugins` property of an array, which will ALWAYS be `undefined` -> the output is always rejected as "Invalid Codegen Configuration" } } if (isConfiguredOutput(config)) { return config } throw new Error(`Invalid "generates" config!`) } ``` Now, an array is still accepted, but as `ConfiguredOutput[]` instead. For this major version release, only the first array element is used, and `@graphql-codegen/cli` logs a warning when there is more than one element. `normalizeOutputParam` now returns `ConfiguredOutput[]` instead of a single `ConfiguredOutput`. `@graphql-codegen/cli` also throws its "Invalid Codegen Configuration" error when a `generates` array is empty or its first element is not a config object. This error is now a single generic message, no longer naming the output file, and it shows a TypeScript `CodegenConfig` example with the `ConfiguredOutput` shape instead of the old YAML plugin-list example. ##### Patch Changes - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - dependencies updates: - Updated dependency [`@graphql-tools/apollo-engine-loader@^9.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/apollo-engine-loader/v/9.0.2) (from `^8.0.38`, in `dependencies`) - Updated dependency [`@graphql-tools/code-file-loader@^9.0.3` ↗︎](https://www.npmjs.com/package/@graphql-tools/code-file-loader/v/9.0.3) (from `^8.1.41`, in `dependencies`) - Updated dependency [`@graphql-tools/git-loader@^9.0.3` ↗︎](https://www.npmjs.com/package/@graphql-tools/git-loader/v/9.0.3) (from `^8.0.44`, in `dependencies`) - Updated dependency [`@graphql-tools/github-loader@^10.0.3` ↗︎](https://www.npmjs.com/package/@graphql-tools/github-loader/v/10.0.3) (from `^9.1.11`, in `dependencies`) - Updated dependency [`@graphql-tools/graphql-file-loader@^9.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/graphql-file-loader/v/9.0.2) (from `^8.1.22`, in `dependencies`) - Updated dependency [`@graphql-tools/json-file-loader@^9.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/json-file-loader/v/9.0.2) (from `^8.0.36`, in `dependencies`) - Updated dependency [`@graphql-tools/load@^9.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/load/v/9.0.2) (from `^8.1.19`, in `dependencies`) - Updated dependency [`@graphql-tools/merge@^10.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/merge/v/10.0.2) (from `^9.2.6`, in `dependencies`) - Updated dependency [`@graphql-tools/url-loader@^10.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/url-loader/v/10.0.2) (from `^9.1.12`, in `dependencies`) - Updated dependency [`@graphql-tools/utils@^13.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/13.0.2) (from `^12.0.3`, in `dependencies`) - Updated dependency [`graphql-config@^6.0.0` ↗︎](https://www.npmjs.com/package/graphql-config/v/6.0.0) (from `^5.1.8`, in `dependencies`) - Updated dependency [`graphql@^16.0.0 || ^17.0.0` ↗︎](https://www.npmjs.com/package/graphql/v/16.0.0) (from `^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 || ^17.0.0`, in `peerDependencies`) - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - dependencies updates: - Updated dependency [`@graphql-tools/apollo-engine-loader@^9.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/apollo-engine-loader/v/9.0.2) (from `^8.0.38`, in `dependencies`) - Updated dependency [`@graphql-tools/code-file-loader@^9.0.3` ↗︎](https://www.npmjs.com/package/@graphql-tools/code-file-loader/v/9.0.3) (from `^8.1.41`, in `dependencies`) - Updated dependency [`@graphql-tools/git-loader@^9.0.3` ↗︎](https://www.npmjs.com/package/@graphql-tools/git-loader/v/9.0.3) (from `^8.0.44`, in `dependencies`) - Updated dependency [`@graphql-tools/github-loader@^10.0.3` ↗︎](https://www.npmjs.com/package/@graphql-tools/github-loader/v/10.0.3) (from `^9.1.11`, in `dependencies`) - Updated dependency [`@graphql-tools/graphql-file-loader@^9.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/graphql-file-loader/v/9.0.2) (from `^8.1.22`, in `dependencies`) - Updated dependency [`@graphql-tools/json-file-loader@^9.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/json-file-loader/v/9.0.2) (from `^8.0.36`, in `dependencies`) - Updated dependency [`@graphql-tools/load@^9.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/load/v/9.0.2) (from `^8.1.19`, in `dependencies`) - Updated dependency [`@graphql-tools/merge@^10.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/merge/v/10.0.2) (from `^9.2.6`, in `dependencies`) - Updated dependency [`@graphql-tools/url-loader@^10.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/url-loader/v/10.0.2) (from `^9.1.12`, in `dependencies`) - Updated dependency [`@graphql-tools/utils@^13.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/13.0.2) (from `^12.0.3`, in `dependencies`) - Updated dependency [`graphql-config@^6.0.0` ↗︎](https://www.npmjs.com/package/graphql-config/v/6.0.0) (from `^5.1.8`, in `dependencies`) - Updated dependency [`graphql@^16.0.0 || ^17.0.0` ↗︎](https://www.npmjs.com/package/graphql/v/16.0.0) (from `^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 || ^17.0.0`, in `peerDependencies`) - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - dependencies updates: - Updated dependency [`graphql-config@^6.0.0` ↗︎](https://www.npmjs.com/package/graphql-config/v/6.0.0) (from `^5.1.8`, in `dependencies`) - Updated dependencies \[[`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`409ffbf`](https://github.com/dotansimha/graphql-code-generator/commit/409ffbfda5c56d6f46f0e0a4045c547714df2264), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`7366c63`](https://github.com/dotansimha/graphql-code-generator/commit/7366c63b4fca59951f15d017bb939c5460ba2451), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)]: - [@​graphql-codegen/client-preset](https://github.com/graphql-codegen/client-preset)@7.0.0 - [@​graphql-codegen/core](https://github.com/graphql-codegen/core)@7.0.0 - [@​graphql-codegen/plugin-helpers](https://github.com/graphql-codegen/plugin-helpers)@8.0.0
dotansimha/graphql-code-generator (@​graphql-codegen/fragment-matcher) ### [`v8.0.0`](https://github.com/dotansimha/graphql-code-generator/blob/HEAD/packages/plugins/other/fragment-matcher/CHANGELOG.md#800) ##### Major Changes - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: GraphQL 14 and 15 are no longer supported. The `graphql` peer dependency is now `^16.0.0 || ^17.0.0`, so upgrade `graphql` to version 16 or 17 before updating to this version. - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: Node.js versions below 22.18.0 are no longer supported. Upgrade to Node.js 22.18.0 or later before updating to this version. - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: A plugin's `validate` function now receives an info object as its fourth argument, matching the `plugin` function: `validate(schema, documents, config, { outputFile, allPlugins, pluginContext })`. Custom plugins that export `validate` and read `outputFile`, `allPlugins` or `pluginContext` as positional arguments must destructure them from the fourth argument instead. Refs [#​11071](https://github.com/dotansimha/graphql-code-generator/issues/11071) ##### Patch Changes - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - dependencies updates: - Updated dependency [`graphql@^16.0.0 || ^17.0.0` ↗︎](https://www.npmjs.com/package/graphql/v/16.0.0) (from `^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 || ^17.0.0`, in `peerDependencies`) - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - dependencies updates: - Updated dependency [`graphql@^16.0.0 || ^17.0.0` ↗︎](https://www.npmjs.com/package/graphql/v/16.0.0) (from `^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 || ^17.0.0`, in `peerDependencies`) - Updated dependencies \[[`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)]: - [@​graphql-codegen/plugin-helpers](https://github.com/graphql-codegen/plugin-helpers)@8.0.0
dotansimha/graphql-code-generator (@​graphql-codegen/typescript) ### [`v7.0.0`](https://github.com/dotansimha/graphql-code-generator/blob/HEAD/packages/plugins/typescript/typescript/CHANGELOG.md#700) [Compare Source](https://github.com/dotansimha/graphql-code-generator/compare/@graphql-codegen/typescript@6.1.2...@graphql-codegen/typescript@7.0.0) ##### Major Changes - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: GraphQL 14 and 15 are no longer supported. The `graphql` peer dependency is now `^16.0.0 || ^17.0.0`, so upgrade `graphql` to version 16 or 17 before updating to this version. - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: Node.js versions below 22.18.0 are no longer supported. Upgrade to Node.js 22.18.0 or later before updating to this version. ##### Patch Changes - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - dependencies updates: - Updated dependency [`graphql@^16.0.0 || ^17.0.0` ↗︎](https://www.npmjs.com/package/graphql/v/16.0.0) (from `^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0`, in `peerDependencies`) - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - dependencies updates: - Updated dependency [`graphql@^16.0.0 || ^17.0.0` ↗︎](https://www.npmjs.com/package/graphql/v/16.0.0) (from `^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0`, in `peerDependencies`) - Updated dependencies \[[`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`409ffbf`](https://github.com/dotansimha/graphql-code-generator/commit/409ffbfda5c56d6f46f0e0a4045c547714df2264), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)]: - [@​graphql-codegen/plugin-helpers](https://github.com/graphql-codegen/plugin-helpers)@8.0.0 - [@​graphql-codegen/schema-ast](https://github.com/graphql-codegen/schema-ast)@7.0.0 - [@​graphql-codegen/visitor-plugin-common](https://github.com/graphql-codegen/visitor-plugin-common)@8.0.0
dotansimha/graphql-code-generator (@​graphql-codegen/typescript-operations) ### [`v7.0.0`](https://github.com/dotansimha/graphql-code-generator/blob/HEAD/packages/plugins/typescript/operations/CHANGELOG.md#700) [Compare Source](https://github.com/dotansimha/graphql-code-generator/compare/@graphql-codegen/typescript-operations@6.2.0...@graphql-codegen/typescript-operations@7.0.0) ##### Major Changes - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: GraphQL 14 and 15 are no longer supported. The `graphql` peer dependency is now `^16.0.0 || ^17.0.0`, so upgrade `graphql` to version 16 or 17 before updating to this version. - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: Node.js versions below 22.18.0 are no longer supported. Upgrade to Node.js 22.18.0 or later before updating to this version. - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: Remove the deprecated `emitLegacyCommonJSImports` config option and the `--emit-legacy-common-js-imports` CLI flag Use `importExtension` (or `--import-extension`) to set the extension appended to relative imports. When `importExtension` is not set, no extension is appended. `@graphql-codegen/plugin-helpers` no longer exports `normalizeImportExtension`. Use `importExtension ?? ''` instead. Migration: ```diff const config: CodegenConfig = { - emitLegacyCommonJSImports: false, + importExtension: '.js', }; ``` ##### Minor Changes - [#​11103](https://github.com/dotansimha/graphql-code-generator/pull/11103) [`409ffbf`](https://github.com/dotansimha/graphql-code-generator/commit/409ffbfda5c56d6f46f0e0a4045c547714df2264) Thanks [@​jerelmiller](https://github.com/jerelmiller)! - Add support for graphql v17 fragment arguments (`experimentalFragmentArguments`). To use fragment arguments, set the parser option in the root `config`: ```ts const config: CodegenConfig = { config: { experimentalFragmentArguments: true } // ... } ``` ##### Patch Changes - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - dependencies updates: - Updated dependency [`graphql@^16.0.0 || ^17.0.0` ↗︎](https://www.npmjs.com/package/graphql/v/16.0.0) (from `^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 || ^17.0.0`, in `peerDependencies`) - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - dependencies updates: - Updated dependency [`graphql@^16.0.0 || ^17.0.0` ↗︎](https://www.npmjs.com/package/graphql/v/16.0.0) (from `^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 || ^17.0.0`, in `peerDependencies`) - Updated dependencies \[[`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`409ffbf`](https://github.com/dotansimha/graphql-code-generator/commit/409ffbfda5c56d6f46f0e0a4045c547714df2264), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)]: - [@​graphql-codegen/plugin-helpers](https://github.com/graphql-codegen/plugin-helpers)@8.0.0 - [@​graphql-codegen/schema-ast](https://github.com/graphql-codegen/schema-ast)@7.0.0 - [@​graphql-codegen/visitor-plugin-common](https://github.com/graphql-codegen/visitor-plugin-common)@8.0.0
--- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). --------- Co-authored-by: Joakim Olsson Reviewed-on: https://gitea.unbound.se/dancefinder/dancefinder-app/pulls/3144 Co-authored-by: Renovate Bot --- app/components/pages/events/event-card.vue | 2 +- .../pages/events/event-distance.vue | 2 +- app/components/pages/events/event-list.vue | 2 +- app/store/index.ts | 2 +- codegen.yml | 20 +- graphql/generated/operations.ts | 218 +-- graphql/generated/schema.ts | 158 ++ package-lock.json | 1514 +++++++++-------- package.json | 10 +- 9 files changed, 1061 insertions(+), 867 deletions(-) create mode 100644 graphql/generated/schema.ts diff --git a/app/components/pages/events/event-card.vue b/app/components/pages/events/event-card.vue index 4a5818a..1881113 100644 --- a/app/components/pages/events/event-card.vue +++ b/app/components/pages/events/event-card.vue @@ -108,7 +108,7 @@ import { computed } from 'vue' import { useI18n } from '#i18n' import DistanceDisplay from '~/components/pages/events/event-distance.vue' -import type { Event } from '~~/graphql/generated/operations' +import type { Event } from '~~/graphql/generated/schema' const props = defineProps({ event: { diff --git a/app/components/pages/events/event-distance.vue b/app/components/pages/events/event-distance.vue index e18cd79..2fc34d6 100644 --- a/app/components/pages/events/event-distance.vue +++ b/app/components/pages/events/event-distance.vue @@ -17,7 +17,7 @@ import type { PropType } from 'vue' import { computed } from 'vue' -import type { DanceHallDistance } from '~~/graphql/generated/operations' +import type { DanceHallDistance } from '~~/graphql/generated/schema' const props = defineProps({ distance: { diff --git a/app/components/pages/events/event-list.vue b/app/components/pages/events/event-list.vue index dffea2f..27a1bd0 100644 --- a/app/components/pages/events/event-list.vue +++ b/app/components/pages/events/event-list.vue @@ -15,7 +15,7 @@