Bump tmp and @graphql-codegen/cli in /catalog#4533
Bump tmp and @graphql-codegen/cli in /catalog#4533dependabot[bot] wants to merge 1 commit intomasterfrom
Conversation
Removes [tmp](https://github.com/raszi/node-tmp). It's no longer used after updating ancestor dependency [@graphql-codegen/cli](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/graphql-codegen-cli). These dependencies need to be updated together. Removes `tmp` Updates `@graphql-codegen/cli` from 1.21.8 to 6.0.0 - [Release notes](https://github.com/dotansimha/graphql-code-generator/releases) - [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/graphql-codegen-cli/CHANGELOG.md) - [Commits](https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/cli@6.0.0/packages/graphql-codegen-cli) --- updated-dependencies: - dependency-name: tmp dependency-version: dependency-type: indirect - dependency-name: "@graphql-codegen/cli" dependency-version: 6.0.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
There was a problem hiding this comment.
Greptile Summary
This PR updates the GraphQL code generation tooling in the catalog component by upgrading @graphql-codegen/cli from version 1.21.8 to 6.0.0 and removing the now-unused tmp dependency. This represents a significant leap across multiple major versions that brings substantial improvements to the GraphQL code generation pipeline.
The update modernizes the GraphQL codegen CLI with several key enhancements including better error handling, improved syntax error messages, and a new allowPartialOutputs flag for more resilient code generation. The CLI has migrated from the legacy inquirer package to @inquirer/prompts and bumped core dependencies like cosmiconfig (v9), debounce (v2), and jiti (v2.3) to their latest major versions. Additionally, the removal of @graphql-tools/prisma-loader streamlines the dependency tree.
The tmp dependency removal is a cleanup change - this package was a transitive dependency that's no longer required after the CLI upgrade. The project's existing Node 20 requirement aligns perfectly with the new CLI's runtime requirements (which dropped Node 18 support), ensuring compatibility. The update integrates seamlessly with the existing GraphQL codegen setup in /catalog/internals/graphql-codegen, which handles TypeScript type generation and GraphQL operations management through custom plugins and presets.
Confidence score: 3/5
- This PR requires careful testing due to the major version jump spanning multiple breaking changes in the GraphQL codegen ecosystem
- Score reflects the significant scope of changes across multiple major versions, though the Node version compatibility is already satisfied
- Pay close attention to the GraphQL code generation pipeline and ensure all existing codegen scripts and configurations continue working properly
1 file reviewed, no comments
Removes tmp. It's no longer used after updating ancestor dependency @graphql-codegen/cli. These dependencies need to be updated together.
Removes
tmpUpdates
@graphql-codegen/clifrom 1.21.8 to 6.0.0Release notes
Sourced from
@graphql-codegen/cli's releases.Changelog
Sourced from
@graphql-codegen/cli's changelog.... (truncated)
Commits
c1a8fd4chore(release): update monorepo packages versions (#10426)140298aNext major version feature branch (#10218)72e1d99chore(release): update monorepo packages versions (#10364)e324382Allow function as valid type for UrlSchemaOptions.customFetch (#10150)157c823CODEGEN-787 - Improve handling of missing@parcel/watcherscenario (#10358)d72bbacchore(release): update monorepo packages versions (#10334)5d1c4e1CODEGEN-334 - Fix ignoreNoDocuments swallowing all errors, not just no docume...10ab58dCODEGEN-334 - Improve error logging (#10333)20164e0chore(release): update monorepo packages versions (#10284)7d7760dfix: Don't treat schema URLs as relative file paths for the watcher (#10282)Maintainer changes
This version was pushed to npm by theguild-bot, a new releaser for
@graphql-codegen/clisince your current version.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.