@nova/graphql-compiler

1.0.2 • Public • Published

@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: Both duct-tape-compiler and @nova/graphql-compiler are 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.

Readme

Keywords

none

Package Sidebar

Install

npm i @nova/graphql-compiler

Weekly Downloads

2

Version

1.0.2

License

MIT

Unpacked Size

8.92 kB

Total Files

12

Last publish

Collaborators

  • gql-svc
  • kenotron_msft
  • kerrynf
  • alloy