Skip to content

Commit e241b5d

Browse files
sinchangjakebolam
authored andcommitted
feat: add new maintenance type (greenkeeper/all contributors cli 5.10.1) (#52)
* chore(package): update all-contributors-cli to version 5.10.1 * chore(package): update lockfile yarn.lock * feat: add new types
1 parent b03b402 commit e241b5d

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
"dependencies": {
2626
"@probot/serverless-lambda": "^0.2.0",
27-
"all-contributors-cli": "^5.9.1",
27+
"all-contributors-cli": "^5.10.1",
2828
"compromise": "^11.13.0",
2929
"probot": "^8.0.0-octokit-16-preview"
3030
},

src/utils/parse-comment/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ const validContributionTypes = [
1212
'fundingFinding',
1313
'ideas',
1414
'infra',
15+
'maintenance',
1516
'platform',
1617
'plugin',
1718
'question',
@@ -32,6 +33,7 @@ const contributionTypeMappings = {
3233
'user testing': 'userTesting',
3334
documentation: 'doc',
3435
infrastructure: 'infra',
36+
maintaining: 'maintenance',
3537
}
3638

3739
const Contributions = {}

yarn.lock

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,9 +277,10 @@ align-text@^0.1.1, align-text@^0.1.3:
277277
longest "^1.0.1"
278278
repeat-string "^1.5.2"
279279

280-
all-contributors-cli@^5.9.1:
281-
version "5.9.1"
282-
resolved "https://registry.yarnpkg.com/all-contributors-cli/-/all-contributors-cli-5.9.1.tgz#0de277fe3feed5097fe6eaa70de0ad637fc4a3c3"
280+
all-contributors-cli@^5.10.1:
281+
version "5.10.1"
282+
resolved "https://registry.yarnpkg.com/all-contributors-cli/-/all-contributors-cli-5.10.1.tgz#1bb5cfcfcd60ec5e07a1c3d23c1c29c94ba14138"
283+
integrity sha512-Vpvdiliiw6YEjSrEun3hN8FR80nwOMgvrThGsNd1RY6DhpPuhLLp2MTPrMSmPuaUBZIcD3DxtHqvbK8HQ7zEwg==
283284
dependencies:
284285
async "^2.0.0-rc.1"
285286
chalk "^2.3.0"

0 commit comments

Comments
 (0)