mirror of
https://github.com/ChainSafe/lodestar.git
synced 2026-01-09 15:48:08 -05:00
chore: replace lerna commands with yarn (#5657)
* Remove lerna from prerequisites * Replace lerna commands with yarn
This commit is contained in:
@@ -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).
|
||||
|
||||
|
||||
@@ -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
|
||||
```
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- [Lerna](https://github.com/lerna/lerna)
|
||||
- [NodeJS](https://nodejs.org/) (LTS)
|
||||
- [Yarn](https://yarnpkg.com/)
|
||||
|
||||
## What you need
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -43,7 +43,7 @@ async function getReqResp(libp2p: Libp2p, logger: Logger): Promise<void> {
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- [Lerna](https://github.com/lerna/lerna)
|
||||
- [NodeJS](https://nodejs.org/) (LTS)
|
||||
- [Yarn](https://yarnpkg.com/)
|
||||
|
||||
## What you need
|
||||
|
||||
Reference in New Issue
Block a user