Relay setup automation for CRA, Next.js and Vite
MIT License
--legacy-peer-deps
flag when installing packages via npmFull Changelog: https://github.com/tobias-tengler/create-relay-app/compare/v2.1.1...v2.1.2
Published by tobias-tengler over 1 year ago
relay-runtime
package_app.{tsx,jsx}
being located under src/pages/
instead of pages/
Full Changelog: https://github.com/tobias-tengler/create-relay-app/compare/v2.1.0...v2.1.1
Published by tobias-tengler over 1 year ago
relay-compiler
in relay.config.json
instead of in package.json
--watch
to relay-compiler
script, if watchman
is installedAccept
header as per the GraphQL over HTTP spec:Accept: application/graphql-response+json; charset=utf-8, application/json; charset=utf-8
Full Changelog: https://github.com/tobias-tengler/create-relay-app/compare/v2.0.0...v2.1.0
Published by tobias-tengler almost 2 years ago
--interactive
explicitlyFull Changelog: https://github.com/tobias-tengler/create-relay-app/compare/v1.0.0...v2.0.0
Published by tobias-tengler about 2 years ago
RelayPageProps
to AppProps<T>
in _app
componentinitialRecords
regenerating Relay environment upon new page visitRelayPageProps
, and GetRelayServerSideProps
as well as GetRelayStaticProps
Full Changelog: https://github.com/tobias-tengler/create-relay-app/compare/v0.0.7...v1.0.0
Published by tobias-tengler about 2 years ago
vite-plugin-relay
now that it supports Vite 3I'm aware of a Typescript issue with Next.js 12.3. I'm working on resolving it for v1.0.0.
Full Changelog: https://github.com/tobias-tengler/create-relay-app/compare/v0.0.6...v0.0.7
Published by tobias-tengler about 2 years ago
vite-plugin-relay
from GIT branch. Instead showcase how to add the plugin manually until it's fixed for Vite 3.Full Changelog: https://github.com/tobias-tengler/create-relay-app/compare/v0.0.5...v0.0.6
Published by tobias-tengler about 2 years ago
--subscriptions
option to configure subscriptions via graphql-ws
LF
using .gitattributes
(when in a GIT repository)--package-manager
Full Changelog: https://github.com/tobias-tengler/create-relay-app/compare/v0.0.4...v0.0.5
Published by tobias-tengler about 2 years ago
next.config.js
instead of bailingFull Changelog: https://github.com/tobias-tengler/create-relay-app/compare/v0.0.3...v0.0.4
Published by tobias-tengler about 2 years ago
babel-plugin-relay
setup for CRA: Link
babel-plugin-relay
macroFull Changelog: https://github.com/tobias-tengler/create-relay-app/compare/v0.0.2...v0.0.3
Published by tobias-tengler about 2 years ago
relay-compiler --validate
to "build"
script in package.json
, if present"relay"
configuration in package.json
is merged with new configuration"eagerEsModules": true
to relay-compiler configuration for Vite, to generate correct artifacts also for Javascript--yes
Full Changelog: https://github.com/tobias-tengler/create-relay-app/compare/v0.0.1...v0.0.2
Published by tobias-tengler about 2 years ago
⚠️ 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! :)
vite-plugin-relay
package from an open PR at the moment, until it's published and the latest Vite version is officially supported.babel-plugin-relay
transform is currently not being setup. This will be added in the next version!Full Changelog: https://github.com/tobias-tengler/create-relay-app/commits/v0.0.1