Repository navigation
chore: Bump @graphql-codegen/* and @graphql-tools/* to latest majors - #505
Conversation
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 detectedLatest commit: 4375856 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
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 |
| "@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", |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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
@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
Co-authored-by: Eddy Nguyen <github@eddeee888.me>
|
/release-snapshot |
|
❌ Failed to publish package/s with tag |
|
/release-snapshot |
|
❌ Failed to publish package/s with tag |
|
/release-snapshot |
|
✅ 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 |
|
✅ 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 |
Note
Opened on autopilot by Code Ops plugin;
Why
@graphql-codegen/*(plugin-helpers 8, add 8, typescript/typescript-resolvers 7) and@graphql-tools/*(merge 10, utils 13).graphqlpeer of^16.0.0 || ^17.0.0andengines.nodeof>=22.18.0(checked withnpm view <pkg> peerDependencies engines). Our packages still advertised graphql 15 support, which their dependencies no longer give.What
@eddeee888/gcg-typescript-resolver-filesand@eddeee888/gcg-operation-location-migrationnow peer ongraphql^16.0.0 || ^17.0.0.engines.node.^ranges. Root and e2e devDependencies are pinned exactly, andtypescript-react-apollomoves from a 4.4.3 alpha to 6.0.1.emitLegacyCommonJSImportspreset option is removed from@eddeee888/gcg-typescript-resolver-files.@graphql-codegen/typescript7 (visitor-plugin-common8) dropped it. UseimportExtensioninstead:'.js'replacesfalse, and leaving it unset gives the old default (no extension).minor, which is the author's choice. The packages are still 0.x.server-configstill has nographqlpeer.Verification
tsc --build --forceoperation-location-migrationhas no unit-test target. During install,pnpmwarned that the root dev tool@eddeee888/nx-graphql-code-generator2.1.0 accepts@graphql-codegen/clionly up to v7. The e2e codegen still runs through it without errors.Before
tsrf-e2e: captured @ e89c2e1
olm-e2e: captured @ e89c2e1
tsrf-test: captured @ e89c2e1
After
tsrf-e2e: captured @ ab8bb26
olm-e2e: captured @ ab8bb26
tsrf-test: captured @ ab8bb26
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