Skip to content

Commit bef2266

Browse files
committed
Update bootstrap script to include building packages.
1 parent 702a32f commit bef2266

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CONTRIBUTING.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ To start working on React Async, clone the repo and bootstrap the project:
1818
```sh
1919
git clone https://github.com/async-library/react-async.git
2020
cd react-async
21-
yarn && yarn build:packages
22-
yarn bootstrap
23-
yarn build && yarn test
21+
yarn && yarn bootstrap && yarn test
2422
```
2523

2624
Note that all work is done against the `next` branch, we only merge to `master` when doing a release.
@@ -84,6 +82,8 @@ In the `examples` folder, you will find sample React applications that use React
8482
To run sample examples on your local environments
8583

8684
```sh
85+
yarn build:examples
86+
yarn test:examples
8787
yarn start:examples
8888
```
8989

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"packages/*"
1111
],
1212
"scripts": {
13-
"bootstrap": "yarn workspaces run install",
13+
"bootstrap": "yarn build:packages && yarn workspaces run install",
1414
"clean": "lerna clean",
1515
"start": "run-p start:*",
1616
"start:examples": "now dev",

0 commit comments

Comments
 (0)