Skip to content

Releases: tobias-tengler/create-relay-app

v0.0.2

14 Aug 17:20
Compare
Choose a tag to compare

Changes

  • Add relay-compiler --validate to "build" script in package.json, if present
  • existing "relay" configuration in package.json is merged with new configuration
  • Consolidate CLI argument / prompt handling
  • Speed up checking for installed dependencies
  • Add "eagerEsModules": true to relay-compiler configuration for Vite, to generate correct artifacts also for Javascript
  • Display default values that were chosen when running with --yes

Full Changelog: v0.0.1...v0.0.2

v0.0.1

14 Aug 10:50
Compare
Choose a tag to compare

⚠️ This package is not stable yet! I'm just publishing it, so you don't have to remember to append @experimental. I'll consider it stable, once a v1.0.0 is released. In the meantime feel free to try it out and give feedback! :)

New features

  • Support configuration of Next.js Javascript and Typescript projects
  • Support configuration of Vite.js Javascript and Typescript projects
    • We are installing the vite-plugin-relay package from an open PR at the moment, until it's published and the latest Vite version is officially supported.
  • Support configuration of Create React App Javascript and Typescript projects
    • The babel-plugin-relay transform is currently not being setup. This will be added in the next version!

Learn how to use it

Full Changelog: https://github.com/tobias-tengler/create-relay-app/commits/v0.0.1