From e92bb1bb1dcbeeba2af87650d1bb6afae5a60456 Mon Sep 17 00:00:00 2001 From: chenshenyue Date: Mon, 17 Sep 2018 11:22:44 +0800 Subject: [PATCH 1/4] docs: fix the setup workflow #591 --- CONTRIBUTING.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5c635b7302c..44d8f0e0962 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -34,6 +34,7 @@ In case you are suggesting a new feature, we will match your idea with our curre ### Setup with npm * Install the dependencies: `npm install` +* Bootstrap the packages:`npx lerna bootstrap` * Run the tests with: `npm test` ### Setup with yarn @@ -42,6 +43,7 @@ In case you are suggesting a new feature, we will match your idea with our curre ```bash yarn install +yarn lerna bootstrap yarn link yarn link webpack-cli ``` From c51c60955a0d95dcd4b07dcae12c6c96b5230af1 Mon Sep 17 00:00:00 2001 From: chenshenyue Date: Mon, 17 Sep 2018 18:00:52 +0800 Subject: [PATCH 2/4] docs: change to npm script --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 44d8f0e0962..ad4c5937fff 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -34,7 +34,7 @@ In case you are suggesting a new feature, we will match your idea with our curre ### Setup with npm * Install the dependencies: `npm install` -* Bootstrap the packages:`npx lerna bootstrap` +* Bootstrap the packages:`npm run bootstrap` * Run the tests with: `npm test` ### Setup with yarn From af663dc4532428b958ef717a253d1934d8494e64 Mon Sep 17 00:00:00 2001 From: chenshenyue Date: Mon, 17 Sep 2018 18:07:18 +0800 Subject: [PATCH 3/4] docs: script change --- CONTRIBUTING.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ad4c5937fff..fc60f4818d0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -33,8 +33,7 @@ In case you are suggesting a new feature, we will match your idea with our curre * `git clone && cd webpack-cli` ### Setup with npm -* Install the dependencies: `npm install` -* Bootstrap the packages:`npm run bootstrap` +* Install the dependencies and bootstrap the packages: `npm run bootstrap` * Run the tests with: `npm test` ### Setup with yarn From 2d3934a23e215cba48fd6e7088df0325b2d78508 Mon Sep 17 00:00:00 2001 From: chenshenyue Date: Mon, 17 Sep 2018 18:09:49 +0800 Subject: [PATCH 4/4] docs: simplify script --- CONTRIBUTING.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index fc60f4818d0..6b69f35554d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -41,8 +41,7 @@ In case you are suggesting a new feature, we will match your idea with our curre * Install the dependencies and link them ```bash -yarn install -yarn lerna bootstrap +yarn bootstrap yarn link yarn link webpack-cli ```