nova-facade/packages/nova-graphql-compiler
Graphitation Service Account 9841ee63ec applying package updates 2024-03-08 17:52:20 +00:00
..
src Bump duct tape version for package deduplication and make compiler test work on windows (#95) 2024-03-07 12:43:38 -08:00
CHANGELOG.json applying package updates 2024-03-08 17:52:20 +00:00
CHANGELOG.md applying package updates 2024-03-08 17:52:20 +00:00
README.md Move compiler to separate package (#91) 2024-02-20 14:07:20 -08:00
package.json applying package updates 2024-03-08 17:52:20 +00:00

README.md

@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"
  }
}