1.0.3 • Published 7 months ago

@nova/graphql-compiler v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

@nova/graphql-compiler

This package contains the compiler that used to be available with @nova/react. This compiler is just here for backwards compatibility. We recommend using duct-tape-compiler or the latest relay-compiler instead.

Migration from the embedded compiler inside @nova/react

If you used the embedded compiler inside @nova/react you can now use this package instead. This should be a drop in replacement. Upgrading @nova/react to version 2.0.0 will remove the embedded compiler. You can then add this package to your project your scripts should keep working.

Installation

Add @nova/graphql-compiler to your project.

Then inside your package.json add the compiler to your scripts:

{
  "scripts": {
    "generate": "nova-graphql-compiler"
  }
}

NOTE: @nova/graphql-compiler is not compatible with Typescript 5.x. When you upgrade to Typescript 5.x, make sure to force resolution to Typescript 4.x for both compilers and it's dependencies like relay-compiler-language-graphitation.