Skip to content

Commit

Permalink
feat(parse-comment): added business and content (#124)
Browse files Browse the repository at this point in the history
* feat(parse-comment): added `business` and `content`

I added the missing types for "Business development" and "Content"

* refactor(parse-comment): added missing comma

* chore: bumped `all-contributors-cli` to 5.11

* chore(yarn): re-generated the lock file

* feat(parse-comment): added `business` and `content`

I added the missing types for "Business development" and "Content"

* refactor(parse-comment): added missing comma

* chore: bumped `all-contributors-cli` to 5.11

* chore(yarn): re-generated the lock file

* chore: updated package.json and yarn.lock

* revert: updated package.json and yarn.lock"

This reverts commit f817694.

* chore(yarn.lock): re-built yarn.lock

Rebuilt the lock file using `[email protected]`
  • Loading branch information
Berkmann18 authored and jakebolam committed Feb 6, 2019
1 parent e498928 commit f919a1b
Show file tree
Hide file tree
Showing 3 changed files with 137 additions and 315 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"commit": "git-cz"
},
"dependencies": {
"all-contributors-cli": "^5.10.1",
"all-contributors-cli": "^5.11.0",
"aws-sdk": "^2.395.0",
"compromise": "^11.13.0",
"node-fetch": "^2.3.0",
Expand Down
3 changes: 3 additions & 0 deletions src/tasks/processIssueComment/utils/parse-comment/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ const nlp = require('compromise')
const validContributionTypes = [
'blog',
'bug',
'business',
'code',
'content',
'design',
'doc',
'eventorganizing',
Expand Down Expand Up @@ -78,6 +80,7 @@ const contributionTypeMultiWordMapping = {
'fund finding': 'fundingFinding',
'funding finding': 'fundingFinding',
'user testing': 'userTesting',
'business development': 'business',
}

const Contributions = {}
Expand Down
Loading

0 comments on commit f919a1b

Please sign in to comment.