Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
84 changes: 48 additions & 36 deletions src/schemas/json/all-contributors.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@
],
"default": "angular"
},
"commitType": {
"description": "UNDOCUMENTED: Sets Conventional Commits commit type to be used by the all contributors bot. See https://www.conventionalcommits.org.",
"type": "string",
"default": "docs"
},
"contributorsPerLine": {
"title": "Maximum number of columns for the contributors table",
"type": "number",
Expand Down Expand Up @@ -148,42 +153,49 @@
"type": "array",
"minItems": 1,
"items": {
"type": "string",
"minLength": 0,
"enum": [
"a11y",
"audio",
"blog",
"bug",
"business",
"code",
"content",
"data",
"design",
"doc",
"eventOrganizing",
"example",
"financial",
"fundingFinding",
"ideas",
"infra",
"maintenance",
"mentoring",
"platform",
"plugin",
"projectManagement",
"promotion",
"question",
"research",
"review",
"security",
"talk",
"test",
"tool",
"translation",
"tutorial",
"userTesting",
"video"
"anyOf": [
{
"type": "string",
"enum": [
"a11y",
"audio",
"blog",
"bug",
"business",
"code",
"content",
"data",
"design",
"doc",
"eventOrganizing",
"example",
"financial",
"fundingFinding",
"ideas",
"infra",
"maintenance",
"mentoring",
"platform",
"plugin",
"projectManagement",
"promotion",
"question",
"research",
"review",
"security",
"talk",
"test",
"tool",
"translation",
"tutorial",
"userTesting",
"video"
]
},
{
"type": "string",
"minLength": 0
}
]
}
}
Expand Down
32 changes: 32 additions & 0 deletions src/test/all-contributors/commit-type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"badgeTemplate": "[![All Contributors](https://img.shields.io/github/all-contributors/<%= projectOwner %>/<%= projectName %>?color=ee8449&style=flat-square)](#contributors)",
"commit": false,
"commitType": "docs",
"contributorTemplate": "<a href=\"<%= contributor.profile %>\"><img src=\"<%= contributor.avatar_url %>\" width=\"<%= options.imageSize %>px;\" alt=\"\"/><br /><sub><b><%= contributor.name %></b></sub></a>",
"contributors": [
{
"avatar_url": "https://avatars1.githubusercontent.com/u/26386270?v=4",
"contributions": ["code", "doc"],
"login": "EndBug",
"name": "Federico Grandi",
"profile": "https://github.com/EndBug"
}
],
"contributorsPerLine": 7,
"contributorsSortAlphabetically": false,
"files": ["README.md", "CONTRIBUTING.md"],
"imageSize": 100,
"linkToUsage": true,
"projectName": "all-contributors",
"projectOwner": "all-contributors",
"repoHost": "https://github.com",
"repoType": "github",
"skipCi": true,
"types": {
"custom": {
"description": "A custom contribution type.",
"link": "[<%= symbol %>](<%= url %> \"<%= description %>\"),",
"symbol": "🔭"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"contributors": [
{
"avatar_url": "https://avatars1.githubusercontent.com/u/26386270?v=4",
"contributions": ["code", "doc", "jokes"],
"contributions": ["code", "doc", "custom"],
"login": "EndBug",
"name": "Federico Grandi",
"profile": "https://github.com/EndBug"
Expand Down