Skip to content

chore: Bump @graphql-codegen/* and @graphql-tools/* to latest majors - #505

Merged
eddeee888 merged 9 commits into
masterfrom
claude/festive-maxwell-p53c6i
Nov 20, 2026
Merged

eddeee888 merged 9 commits into
masterfrom
claude/festive-maxwell-p53c6i

Conversation

@eddeee888

@eddeee888 eddeee888 commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

Note

Opened on autopilot by Code Ops plugin;

Why

  • The published packages are a major behind on @graphql-codegen/* (plugin-helpers 8, add 8, typescript/typescript-resolvers 7) and @graphql-tools/* (merge 10, utils 13).
  • Each of these new majors declares a graphql peer of ^16.0.0 || ^17.0.0 and engines.node of >=22.18.0 (checked with npm view <pkg> peerDependencies engines). Our packages still advertised graphql 15 support, which their dependencies no longer give.
  • Our peer and engines fields now say the same thing as upstream, so users get the warning from their package manager rather than a runtime failure.

What

  • graphql 15 is no longer supported: @eddeee888/gcg-typescript-resolver-files and @eddeee888/gcg-operation-location-migration now peer on graphql ^16.0.0 || ^17.0.0.
  • Node >=22.18.0 is required: all three published packages now declare engines.node.
  • The published packages depend on the new majors with ^ ranges. Root and e2e devDependencies are pinned exactly, and typescript-react-apollo moves from a 4.4.3 alpha to 6.0.1.
  • The deprecated emitLegacyCommonJSImports preset option is removed from @eddeee888/gcg-typescript-resolver-files. @graphql-codegen/typescript 7 (visitor-plugin-common 8) dropped it. Use importExtension instead: '.js' replaces false, and leaving it unset gives the old default (no extension).
  • Generated output is unchanged; the e2e fixtures are untouched.
  • All three changesets are minor, which is the author's choice. The packages are still 0.x.
  • server-config still has no graphql peer.

Verification

  • Install (pnpm 11.7.0)
  • Unit tests (the specs for the removed option are dropped: 118 remain)
  • Full type-check: tsc --build --force
  • Build
  • Lint
  • E2E tests: generated output unchanged

operation-location-migration has no unit-test target. During install, pnpm warned that the root dev tool @eddeee888/nx-graphql-code-generator 2.1.0 accepts @graphql-codegen/cli only up to v7. The e2e codegen still runs through it without errors.

Before

tsrf-e2e: captured @ e89c2e1

=> No errors.
NX   Successfully ran target e2e for project typescript-resolver-files-e2e

olm-e2e: captured @ e89c2e1

=> No errors.
NX   Successfully ran target e2e for project operation-location-migration-e2e

tsrf-test: captured @ e89c2e1

Test Files  13 passed (13)
     Tests  134 passed (134)

After

tsrf-e2e: captured @ ab8bb26

=> No errors.
NX   Successfully ran target e2e for project typescript-resolver-files-e2e

olm-e2e: captured @ ab8bb26

=> No errors.
NX   Successfully ran target e2e for project operation-location-migration-e2e

tsrf-test: captured @ ab8bb26

Test Files  13 passed (13)
     Tests  134 passed (134)
Evidence manifest
{ "base": "e89c2e1", "scenarios": [
  { "name": "tsrf-e2e", "kind": "cli", "how": "pnpm nx e2e typescript-resolver-files-e2e", "touches": ["package.json", "pnpm-lock.yaml", "packages/typescript-resolver-files/package.json", "packages/server-config/package.json"], "before": { "file": "tsrf-e2e.before.txt", "at": "e89c2e1" }, "after": { "file": "tsrf-e2e.after.txt", "at": "ab8bb26" }, "status": "captured" },
  { "name": "olm-e2e", "kind": "cli", "how": "pnpm nx e2e operation-location-migration-e2e", "touches": ["package.json", "pnpm-lock.yaml", "packages/operation-location-migration/package.json", "packages/operation-location-migration-e2e/package.json"], "before": { "file": "olm-e2e.before.txt", "at": "e89c2e1" }, "after": { "file": "olm-e2e.after.txt", "at": "ab8bb26" }, "status": "captured" },
  { "name": "tsrf-test", "kind": "cli", "how": "pnpm nx test typescript-resolver-files", "touches": ["package.json", "pnpm-lock.yaml", "packages/typescript-resolver-files/package.json"], "before": { "file": "tsrf-test.before.txt", "at": "e89c2e1" }, "after": { "file": "tsrf-test.after.txt", "at": "ab8bb26" }, "status": "captured" }
] }

Resources

https://claude.ai/code/session_01NyYayCPaAA2eaLr74FHJHN


Generated by Claude Code

Moves to the new codegen majors, narrows the graphql peer to ^16 || ^17 and
declares engines.node >=22.18.0 on the published packages.

Skill: cops:pr-start
Approved-by: eddeee888
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NyYayCPaAA2eaLr74FHJHN
One minor changeset per published package, noting dropped graphql 15
support and the Node >=22.18.0 requirement.

Skill: cops:pr-start
Approved-by: eddeee888
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NyYayCPaAA2eaLr74FHJHN
@changeset-bot

changeset-bot Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 4375856

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@eddeee888/gcg-server-config Minor
@eddeee888/gcg-operation-location-migration Minor
@eddeee888/gcg-typescript-resolver-files Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Comment thread package.json
"@graphql-codegen/plugin-helpers": "8.0.0",
"@graphql-codegen/schema-ast": "7.0.0",
"@graphql-codegen/typescript": "7.0.1",
"@graphql-codegen/typescript-react-apollo": "6.0.1",

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: This goes from the 4.4.3 alpha straight to 6.0.1, skipping 5.x. 6.x is the current major. It has the same graphql ^16.0.0 || ^17.0.0 peer and engines.node >=22.18.0 as the other @graphql-codegen/* packages pinned here, so root no longer needs a prerelease pin.

Skill: cops:pr-note


Generated by Claude Code

'@eddeee888/gcg-server-config': minor
---

Bump @graphql-codegen/typescript and @graphql-codegen/typescript-resolvers to ^7.0.1. graphql 15 support is dropped and Node >=22.18.0 is required.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: @eddeee888/gcg-server-config has no graphql peer of its own, and this PR doesn't add one. It still loses graphql 15 support in practice, because its @graphql-codegen/typescript and @graphql-codegen/typescript-resolvers dependencies now peer on graphql ^16.0.0 || ^17.0.0. That's why the changeset mentions it.

Skill: cops:pr-note


Generated by Claude Code

@eddeee888 eddeee888 self-assigned this Nov 19, 2026
@graphql-codegen/typescript 7 removed emitLegacyCommonJSImports, which broke the build; import extensions now come only from importExtension (default '').

Approved-by: eddeee888
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NyYayCPaAA2eaLr74FHJHN
eddeee888 and others added 2 commits November 20, 2026 20:45
Co-authored-by: Eddy Nguyen <github@eddeee888.me>
@eddeee888
eddeee888 marked this pull request as ready for review November 20, 2026 10:02
@eddeee888

Copy link
Copy Markdown
Owner Author

/release-snapshot

@github-actions

Copy link
Copy Markdown
Contributor

❌ Failed to publish package/s with tag pr505-run468-1

@eddeee888

Copy link
Copy Markdown
Owner Author

/release-snapshot

@github-actions

Copy link
Copy Markdown
Contributor

❌ Failed to publish package/s with tag pr505-run471-1

@eddeee888

Copy link
Copy Markdown
Owner Author

/release-snapshot

@github-actions

Copy link
Copy Markdown
Contributor

✅ Snapshot published

@eddeee888/gcg-operation-location-migration@0.0.0-pr505-run475-1-20261120104741
@eddeee888/gcg-server-config@0.0.0-pr505-run475-1-20261120104741
@eddeee888/gcg-typescript-resolver-files@0.0.0-pr505-run475-1-20261120104741

@github-actions

Copy link
Copy Markdown
Contributor

✅ Snapshot published

@eddeee888/gcg-operation-location-migration@0.0.0-pr505-run478-1-20261120113957
@eddeee888/gcg-server-config@0.0.0-pr505-run478-1-20261120113957
@eddeee888/gcg-typescript-resolver-files@0.0.0-pr505-run478-1-20261120113957

@eddeee888
eddeee888 merged commit 466f293 into master Nov 20, 2026
19 checks passed
@eddeee888
eddeee888 deleted the claude/festive-maxwell-p53c6i branch November 20, 2026 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants