chore: replace lerna commands with yarn (#5657)

* Remove lerna from prerequisites

* Replace lerna commands with yarn
This commit is contained in:
Nico Flaig
2023-06-16 16:58:27 +02:00
committed by GitHub
parent a896cc8667
commit 83d1b7c81e
8 changed files with 12 additions and 17 deletions

View File

@@ -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).

View File

@@ -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
```

View File

@@ -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.

View File

@@ -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",

View File

@@ -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

View File

@@ -9,7 +9,7 @@
## Prerequisites
- [Lerna](https://github.com/lerna/lerna)
- [NodeJS](https://nodejs.org/) (LTS)
- [Yarn](https://yarnpkg.com/)
## What you need

View File

@@ -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

View File

@@ -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