diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2890d126d565..d6bb91c0c3c7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -5,7 +5,7 @@ Thanks for your interest in contributing to Lodestar. It's people like you that ## Prerequisites - :gear: [NodeJS](https://nodejs.org/) (LTS) -- :toolbox: [Yarn](https://yarnpkg.com/)/[Lerna](https://lerna.js.org/) +- :toolbox: [Yarn](https://yarnpkg.com/) ## Getting Started @@ -18,10 +18,10 @@ Thanks for your interest in contributing to Lodestar. It's people like you that To run tests: -- :test_tube: Run `lerna run test:unit` for unit tests. -- :test_tube: Run `lerna run test:e2e` for end-to-end tests. -- :test_tube: Run `lerna run test:spec` for spec tests. -- :test_tube: Run `lerna run test` to run all tests. +- :test_tube: Run `yarn test:unit` for unit tests. +- :test_tube: Run `yarn test:e2e` for end-to-end tests. +- :test_tube: Run `yarn test:spec` for spec tests. +- :test_tube: Run `yarn test` to run all tests. - :test_tube: Run `yarn check-types` to check TypeScript types. - :test_tube: Run `yarn lint` to run the linter (ESLint). diff --git a/README.md b/README.md index 5b74a64a5330..488f078bd4af 100644 --- a/README.md +++ b/README.md @@ -30,12 +30,12 @@ ## Prerequisites - :gear: [NodeJS](https://nodejs.org/) (LTS) -- :toolbox: [Yarn](https://yarnpkg.com/)/[Lerna](https://lerna.js.org/) +- :toolbox: [Yarn](https://yarnpkg.com/) ###### Developer Quickstart: ```bash -lerna bootstrap +yarn install yarn build ./lodestar --help ``` diff --git a/docs/install/source.md b/docs/install/source.md index d2ae2a889ebc..3ff60ebe7777 100644 --- a/docs/install/source.md +++ b/docs/install/source.md @@ -43,12 +43,6 @@ Build across all packages. yarn run build ``` -Or if you are using [Lerna](https://lerna.js.org/): - -```bash -lerna bootstrap -``` - ## Lodestar CLI Lodestar should now be ready for use. diff --git a/package.json b/package.json index 86a7548c6f3b..46985e20c8fc 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "check-build": "lerna run check-build", "check-types": "lerna run check-types --no-bail", "coverage": "lerna run coverage --no-bail", + "test": "lerna run test --no-bail --concurrency 1", "test:unit": "lerna run test:unit --no-bail --concurrency 1", "test:browsers": "lerna run test:browsers", "test:e2e": "lerna run test:e2e --no-bail --concurrency 1", diff --git a/packages/api/README.md b/packages/api/README.md index 0cd9f04079aa..02711ffefecf 100644 --- a/packages/api/README.md +++ b/packages/api/README.md @@ -35,7 +35,7 @@ api.beacon ## Prerequisites -- [Lerna](https://github.com/lerna/lerna) +- [NodeJS](https://nodejs.org/) (LTS) - [Yarn](https://yarnpkg.com/) ## What you need diff --git a/packages/light-client/README.md b/packages/light-client/README.md index d7ecfd1f76e9..583ab61c69ae 100644 --- a/packages/light-client/README.md +++ b/packages/light-client/README.md @@ -9,7 +9,7 @@ ## Prerequisites -- [Lerna](https://github.com/lerna/lerna) +- [NodeJS](https://nodejs.org/) (LTS) - [Yarn](https://yarnpkg.com/) ## What you need diff --git a/packages/prover/README.md b/packages/prover/README.md index d5eccff7079e..9a8f250d8fe3 100644 --- a/packages/prover/README.md +++ b/packages/prover/README.md @@ -114,7 +114,7 @@ lodestar-prover start \ ## Prerequisites -- [Lerna](https://github.com/lerna/lerna) +- [NodeJS](https://nodejs.org/) (LTS) - [Yarn](https://yarnpkg.com/) ## What you need diff --git a/packages/reqresp/README.md b/packages/reqresp/README.md index 0a3e81ea244f..ecb29a7ff2ad 100644 --- a/packages/reqresp/README.md +++ b/packages/reqresp/README.md @@ -43,7 +43,7 @@ async function getReqResp(libp2p: Libp2p, logger: Logger): Promise { ## Prerequisites -- [Lerna](https://github.com/lerna/lerna) +- [NodeJS](https://nodejs.org/) (LTS) - [Yarn](https://yarnpkg.com/) ## What you need