Move to yarn
This commit is contained in:
parent
a0985442c0
commit
0ef7fd96fd
|
@ -25,7 +25,7 @@
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "Launch via NPM",
|
"name": "Launch via NPM",
|
||||||
"cwd": "${workspaceFolder}",
|
"cwd": "${workspaceFolder}",
|
||||||
"runtimeExecutable": "npm",
|
"runtimeExecutable": "yarn",
|
||||||
"runtimeArgs": [
|
"runtimeArgs": [
|
||||||
"start"
|
"start"
|
||||||
],
|
],
|
||||||
|
|
|
@ -12,8 +12,8 @@ Please note that this project is released with a [Contributor Code of Conduct][c
|
||||||
## Submitting a pull request
|
## Submitting a pull request
|
||||||
|
|
||||||
1. [Fork][fork] and clone the repository
|
1. [Fork][fork] and clone the repository
|
||||||
1. Configure and install the dependencies: `npm install`
|
1. Configure and install the dependencies: `yarn 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. 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. Create a new branch: `git checkout -b my-branch-name`
|
||||||
1. Make your change, add tests, and make sure the tests still pass
|
1. Make your change, add tests, and make sure the tests still pass
|
||||||
1. Push to your fork and [submit a pull request][pr]
|
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:
|
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.
|
- 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.
|
- 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).
|
- Write a [good commit message](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
|
||||||
|
|
|
@ -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:
|
To get your environment set up, go through the following steps:
|
||||||
|
|
||||||
1. Run `npm install`.
|
1. Run `yarn install`.
|
||||||
2. Populate `.env`.
|
2. Populate `.env`.
|
||||||
|
|
||||||
```sh
|
```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:
|
After this, you can start the bot by running the following:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm start
|
yarn start
|
||||||
```
|
```
|
||||||
|
|
||||||
## Creating the Slack Bot Integration
|
## Creating the Slack Bot Integration
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -8,7 +8,6 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "probot run ./index.js",
|
"start": "probot run ./index.js",
|
||||||
"test": "jest && standard",
|
"test": "jest && standard",
|
||||||
|
|
||||||
"logs": "ssh dokku.status.im tail -n 100 -f /var/log/docker/status-github-bot.web.1/docker.log",
|
"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"
|
"run-checks": "ssh dokku.status.im dokku checks:run status-github-bot"
|
||||||
},
|
},
|
||||||
|
@ -40,7 +39,7 @@
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 7.7.0",
|
"node": ">= 7.7.0",
|
||||||
"npm": ">= 4.0.0"
|
"yarn": "1.13.x"
|
||||||
},
|
},
|
||||||
"standard": {
|
"standard": {
|
||||||
"env": [
|
"env": [
|
||||||
|
|
Loading…
Reference in New Issue