Skip to content

Commit 9090a84

Browse files
committed
Add ESM changeset
1 parent 7389bc1 commit 9090a84

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.changeset/hot-toys-leave.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
'@graphql-codegen/typed-document-node': major
3+
'@graphql-codegen/gql-tag-operations': major
4+
'@graphql-codegen/visitor-plugin-common': major
5+
'@graphql-codegen/typescript-document-nodes': major
6+
'@graphql-codegen/typescript-operations': major
7+
'@graphql-codegen/typescript': major
8+
'@graphql-codegen/typescript-resolvers': major
9+
'@graphql-codegen/graphql-modules-preset': major
10+
'@graphql-codegen/plugin-helpers': major
11+
'@graphql-codegen/cli': major
12+
'@graphql-codegen/client-preset': major
13+
---
14+
15+
BREAKING CHANGE: Update deps to latest, some only support ESM
16+
17+
Node 20 support is dropped in this release.
18+
Node 22 comes with `require()` support for ESM, which means it's easier to integrate ES modules into applications. Therefore, it is safe to start using ESM-only packages.
19+
20+
If you are a user, please upgrade to Node 22.
21+
If you are a lib maintainer and see ESM vs CJS issues when running Jest tests, try using Vitest.

0 commit comments

Comments
 (0)