Skip to content

Conversation

eddeee888
Copy link
Collaborator

@eddeee888 eddeee888 commented Aug 13, 2025

Description

This PR bumps deps to next major versions:

  • nock v14
  • dependency-graph to v1
  • cosmiconfig v9
  • debounce v2
  • jiti v2.3

These have lower risk so I'm grouping them together

Related #10218

Type of change

Please delete options that are not relevant.

  • Version update

Copy link

changeset-bot bot commented Aug 13, 2025

🦋 Changeset detected

Latest commit: e7bcbe4

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

This PR includes changesets to release 12 packages
Name Type
@graphql-codegen/testing Major
@graphql-codegen/visitor-plugin-common Major
@graphql-codegen/cli Major
@graphql-codegen/typescript-document-nodes Patch
@graphql-codegen/gql-tag-operations Patch
@graphql-codegen/typescript-operations Patch
@graphql-codegen/typescript-resolvers Patch
@graphql-codegen/typed-document-node Patch
@graphql-codegen/typescript Patch
@graphql-codegen/introspection Patch
@graphql-codegen/client-preset Patch
@graphql-codegen/graphql-modules-preset Patch

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

@eddeee888 eddeee888 marked this pull request as ready for review August 14, 2025 12:31
@@ -78,7 +78,6 @@
"devDependencies": {
"@graphql-tools/merge": "9.0.6",
"@parcel/watcher": "^2.1.0",
"@types/debounce": "1.2.4",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

debounce v2 comes with types so we don't need this type package anymore 🕺

const jitiLoader = jiti('', { interopDefault: true });
return jitiLoader(filepath);
const jitiLoader = createJiti('');
return jitiLoader.import(filepath, { default: true });
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

In [email protected], default: true is the equivalent of interopDefault: true

@eddeee888 eddeee888 merged commit 9b9c4e7 into federation-fixes Aug 14, 2025
15 checks passed
@eddeee888 eddeee888 deleted the bump-packages branch August 14, 2025 12:34
eddeee888 added a commit that referenced this pull request Aug 27, 2025
* Bump dependency-graph to ^1.0.0

* Bump nock to 14.0.0

* Bump debounce to v2 and remove types package

* Bump ESM packages

- chalk
- detect-indent
- log-symbols
- auto-bind

* Revert "Bump ESM packages"

This reverts commit 7b79aaa.

* Migrate jitit to v2

* Bump cosmiconfig to v9

* Add changesets

* Use min. jiti v2.3.0 to handle default import like before
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.

1 participant