Skip to content
This repository was archived by the owner on Sep 27, 2023. It is now read-only.

Commit 6a50d29

Browse files
alloykastermester
authored andcommitted
[README] More install instructions.
1 parent b1e38fc commit 6a50d29

File tree

1 file changed

+25
-8
lines changed

1 file changed

+25
-8
lines changed

README.md

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,37 @@
22

33
### Package
44

5+
First clone and build Relay packages:
6+
7+
```
8+
git clone https://github.com/alloy/relay.git -b language-plugin
9+
cd relay
10+
yarn install
11+
yarn build
12+
cd dist/babel-plugin-relay && npm pack
13+
cd dist/react-relay && npm pack
14+
cd dist/relay-compiler && npm pack
15+
cd dist/relay-runtime && npm pack
16+
cd dist/relay-test-utils && npm pack
17+
cd ..
18+
```
19+
20+
Then setup package:
21+
522
```
6-
$ git clone https://github.com/kastermester/relay-compiler-language-typescript.git
7-
$ cd relay-compiler-language-typescript
8-
$ yarn install
23+
git clone https://github.com/kastermester/relay-compiler-language-typescript.git
24+
cd relay-compiler-language-typescript
25+
yarn install
926
```
1027

1128
### Example
1229

1330
After following the above package steps:
1431

1532
```
16-
$ npm pack
17-
$ cd example
18-
$ yarn install
19-
$ yarn build
20-
$ yarn start
33+
npm pack
34+
cd example
35+
yarn install
36+
yarn build
37+
yarn start
2138
```

0 commit comments

Comments
 (0)