mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Remove lerna bootstrap (#6289)
This commit is contained in:
parent
7dbe837ae4
commit
36946f9709
|
@ -9,9 +9,6 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
name: Installing dependencies
|
name: Installing dependencies
|
||||||
command: yarn install
|
command: yarn install
|
||||||
- run:
|
|
||||||
name: Bootstrapping
|
|
||||||
command: yarn bootstrap
|
|
||||||
- run:
|
- run:
|
||||||
name: Linting
|
name: Linting
|
||||||
command: yarn lint
|
command: yarn lint
|
||||||
|
@ -31,4 +28,4 @@ workflows:
|
||||||
version: 2
|
version: 2
|
||||||
build-and-deploy:
|
build-and-deploy:
|
||||||
jobs:
|
jobs:
|
||||||
- build
|
- build
|
||||||
|
|
|
@ -20,6 +20,6 @@
|
||||||
before_cache: [
|
before_cache: [
|
||||||
"rm -rf node_modules/.cache"
|
"rm -rf node_modules/.cache"
|
||||||
],
|
],
|
||||||
before_script: ["npm run bootstrap"],
|
before_script: [],
|
||||||
after_script: ["npm run coveralls"]
|
after_script: ["npm run coveralls"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,10 +19,6 @@ steps:
|
||||||
yarn install
|
yarn install
|
||||||
displayName: 'Install dependencies'
|
displayName: 'Install dependencies'
|
||||||
|
|
||||||
- script: |
|
|
||||||
yarn bootstrap
|
|
||||||
displayName: 'Lerna bootstrap'
|
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
yarn test
|
yarn test
|
||||||
displayName: 'Run tests'
|
displayName: 'Run tests'
|
||||||
|
|
|
@ -3,10 +3,9 @@
|
||||||
Our Commitment to Open Source can be found [here](https://zeit.co/blog/oss)
|
Our Commitment to Open Source can be found [here](https://zeit.co/blog/oss)
|
||||||
|
|
||||||
1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device.
|
1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device.
|
||||||
2. Install yarn: `npm install -g yarn`
|
1. Install yarn: `npm install -g yarn`
|
||||||
3. Install the dependencies: `yarn`
|
1. Install the dependencies: `yarn`
|
||||||
4. Run `yarn run bootstrap`, which will link all repositories locally
|
1. Run `yarn run dev` to build and watch for code changes
|
||||||
5. Run `yarn run dev` to build and watch for code changes
|
|
||||||
|
|
||||||
## To run tests
|
## To run tests
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lerna": "lerna",
|
"lerna": "lerna",
|
||||||
"bootstrap": "lerna bootstrap",
|
|
||||||
"dev": "lerna run build --stream --parallel",
|
"dev": "lerna run build --stream --parallel",
|
||||||
"testonly": "jest",
|
"testonly": "jest",
|
||||||
"testall": "yarn check && npm run testonly -- --coverage --forceExit --runInBand --reporters=default --reporters=jest-junit",
|
"testall": "yarn check && npm run testonly -- --coverage --forceExit --runInBand --reporters=default --reporters=jest-junit",
|
||||||
|
|
Loading…
Reference in a new issue