Migrating to 5.0.0. What has changed? How to migrate? What are the new features?
What has changed?
There was an outstanding issue with @parcel/watcher which prevented it to be installed in certain
environments, or needed an extra amount of dependencies to be built. This release focuses on
improving the usage of @graphql-codegen/cli in those environments by making it an optional peer
dependency. NPM (or Yarn) will not emit errors when an optional peer dependency is missing.
How to migrate?
To use @graphql-codegen/cli’s watch mode (based on @parcel/watcher) you need to provide it in a
package that uses @graphql-codegen/cli from now on.