Skip to content

th3rdwave/relay-compiler-language-typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

Package

First clone and build Relay packages:

git clone https://github.com/alloy/relay.git -b language-plugin
cd relay
yarn install
yarn build
cd dist/babel-plugin-relay && npm pack
cd dist/react-relay && npm pack
cd dist/relay-compiler && npm pack
cd dist/relay-runtime && npm pack
cd dist/relay-test-utils && npm pack
cd ..

Then setup package:

git clone https://github.com/kastermester/relay-compiler-language-typescript.git
cd relay-compiler-language-typescript
yarn install

Example

After following the above package steps:

npm pack
cd example
yarn install
yarn build
yarn start

About

A language plugin for Relay that adds TypeScript support, including emitting type definitions.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 83.2%
  • JavaScript 9.6%
  • CSS 6.4%
  • Other 0.8%