Move to yarn

This commit is contained in:
Pedro Pombeiro 2019-01-31 15:58:51 +01:00
parent a0985442c0
commit 0ef7fd96fd
No known key found for this signature in database
GPG Key ID: A65DEB11E4BBC647
6 changed files with 6193 additions and 8958 deletions

2
.vscode/launch.json vendored
View File

@ -25,7 +25,7 @@
"request": "launch",
"name": "Launch via NPM",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "npm",
"runtimeExecutable": "yarn",
"runtimeArgs": [
"start"
],

View File

@ -12,8 +12,8 @@ Please note that this project is released with a [Contributor Code of Conduct][c
## Submitting a pull request
1. [Fork][fork] and clone the repository
1. Configure and install the dependencies: `npm install`
1. Make sure the tests pass on your machine: `npm test`, note: these tests also apply the linter, so no need to lint seperately
1. Configure and install the dependencies: `yarn install`
1. Make sure the tests pass on your machine: `yarn test`, note: these tests also apply the linter, so no need to lint seperately
1. Create a new branch: `git checkout -b my-branch-name`
1. Make your change, add tests, and make sure the tests still pass
1. Push to your fork and [submit a pull request][pr]
@ -21,7 +21,7 @@ Please note that this project is released with a [Contributor Code of Conduct][c
Here are a few things you can do that will increase the likelihood of your pull request being accepted:
- Follow the [style guide][style] which is using standard. Any linting errors should be shown when running `npm test`
- Follow the [style guide][style] which is using standard. Any linting errors should be shown when running `yarn test`
- Write and update tests.
- Keep your change as focused as possible. If there are multiple changes you would like to make that are not dependent upon each other, consider submitting them as separate pull requests.
- Write a [good commit message](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).

View File

@ -29,7 +29,7 @@ The project board's names, column names, welcome message, and other values are s
To get your environment set up, go through the following steps:
1. Run `npm install`.
1. Run `yarn install`.
2. Populate `.env`.
```sh
@ -40,7 +40,7 @@ To get your environment set up, go through the following steps:
After this, you can start the bot by running the following:
```sh
npm start
yarn start
```
## Creating the Slack Bot Integration

8950
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -8,7 +8,6 @@
"scripts": {
"start": "probot run ./index.js",
"test": "jest && standard",
"logs": "ssh dokku.status.im tail -n 100 -f /var/log/docker/status-github-bot.web.1/docker.log",
"run-checks": "ssh dokku.status.im dokku checks:run status-github-bot"
},
@ -40,7 +39,7 @@
},
"engines": {
"node": ">= 7.7.0",
"npm": ">= 4.0.0"
"yarn": "1.13.x"
},
"standard": {
"env": [

6186
yarn.lock Normal file

File diff suppressed because it is too large Load Diff