-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
244,778 additions
and
19,406 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
*{{#if scope}} **{{scope}}:** | ||
{{~/if}} {{#if subject}} | ||
{{~subject}} | ||
{{~else}} | ||
{{~header}} | ||
{{~/if}} | ||
|
||
{{~!-- commit link --}} {{#if @root.linkReferences~}} | ||
([{{shortHash}}]( | ||
{{~#if @root.repository}} | ||
{{~#if @root.host}} | ||
{{~@root.host}}/ | ||
{{~/if}} | ||
{{~#if @root.owner}} | ||
{{~@root.owner}}/ | ||
{{~/if}} | ||
{{~@root.repository}} | ||
{{~else}} | ||
{{~@root.repoUrl}} | ||
{{~/if}}/ | ||
{{~@root.commit}}/{{hash}})) | ||
{{~else}} | ||
{{~shortHash}} | ||
{{~/if}} | ||
|
||
{{~!-- commit references --}} | ||
{{~#if references~}} | ||
, closes | ||
{{~#each references}} {{#if @root.linkReferences~}} | ||
[ | ||
{{~#if this.owner}} | ||
{{~this.owner}}/ | ||
{{~/if}} | ||
{{~this.repository}}#{{this.issue}}]( | ||
{{~#if @root.repository}} | ||
{{~#if @root.host}} | ||
{{~@root.host}}/ | ||
{{~/if}} | ||
{{~#if this.repository}} | ||
{{~#if this.owner}} | ||
{{~this.owner}}/ | ||
{{~/if}} | ||
{{~this.repository}} | ||
{{~else}} | ||
{{~#if @root.owner}} | ||
{{~@root.owner}}/ | ||
{{~/if}} | ||
{{~@root.repository}} | ||
{{~/if}} | ||
{{~else}} | ||
{{~@root.repoUrl}} | ||
{{~/if}}/ | ||
{{~@root.issue}}/{{this.issue}}) | ||
{{~else}} | ||
{{~#if this.owner}} | ||
{{~this.owner}}/ | ||
{{~/if}} | ||
{{~this.repository}}#{{this.issue}} | ||
{{~/if}}{{/each}} | ||
{{~/if}} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema", | ||
"type": "object", | ||
"definitions": { | ||
"rule": { | ||
"oneOf": [ | ||
{ | ||
"description": "A rule", | ||
"type": "array", | ||
"items": [ | ||
{ | ||
"description": "Level: 0 disables the rule. For 1 it will be considered a warning, for 2 an error", | ||
"type": "number", | ||
"enum": [0, 1, 2] | ||
}, | ||
{ | ||
"description": "Applicable: always|never: never inverts the rule", | ||
"type": "string", | ||
"enum": ["always", "never"] | ||
}, | ||
{ | ||
"description": "Value: the value for this rule" | ||
} | ||
], | ||
"minItems": 1, | ||
"maxItems": 3, | ||
"additionalItems": false | ||
}, | ||
{ | ||
"description": "A rule", | ||
"typeof": "function" | ||
} | ||
] | ||
} | ||
}, | ||
"properties": { | ||
"extends": { | ||
"description": "Resolveable ids to commitlint configurations to extend", | ||
"oneOf": [ | ||
{ | ||
"type": "array", | ||
"items": { "type": "string" } | ||
}, | ||
{ "type": "string" } | ||
] | ||
}, | ||
"parserPreset": { | ||
"description": "Resolveable id to conventional-changelog parser preset to import and use", | ||
"oneOf": [ | ||
{ "type": "string" }, | ||
{ | ||
"type": "object", | ||
"properties": { | ||
"name": { "type": "string" }, | ||
"path": { "type": "string" }, | ||
"parserOpts": {} | ||
}, | ||
"additionalProperties": true | ||
}, | ||
{ "typeof": "function" } | ||
] | ||
}, | ||
"helpUrl": { | ||
"description": "Custom URL to show upon failure", | ||
"type": "string" | ||
}, | ||
"formatter": { | ||
"description": "Resolveable id to package, from node_modules, which formats the output", | ||
"type": "string" | ||
}, | ||
"rules": { | ||
"description": "Rules to check against", | ||
"type": "object", | ||
"propertyNames": { "type": "string" }, | ||
"additionalProperties": { "$ref": "#/definitions/rule" } | ||
}, | ||
"plugins": { | ||
"description": "Resolveable ids of commitlint plugins from node_modules", | ||
"type": "array", | ||
"items": { | ||
"anyOf": [ | ||
{ "type": "string" }, | ||
{ | ||
"type": "object", | ||
"required": ["rules"], | ||
"properties": { | ||
"rules": { | ||
"type": "object" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"ignores": { | ||
"type": "array", | ||
"items": { "typeof": "function" }, | ||
"description": "Additional commits to ignore, defined by ignore matchers" | ||
}, | ||
"defaultIgnores": { | ||
"description": "Whether commitlint uses the default ignore rules", | ||
"type": "boolean" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{{#if noteGroups}} | ||
{{#each noteGroups}} | ||
|
||
### {{title}} | ||
|
||
{{#each notes}} | ||
* {{#if commit.scope}}**{{commit.scope}}:** {{/if}}{{text}} | ||
{{/each}} | ||
{{/each}} | ||
|
||
{{/if}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{{#if isPatch~}} | ||
## | ||
{{~else~}} | ||
# | ||
{{~/if}} {{#if @root.linkCompare~}} | ||
[{{version}}]( | ||
{{~#if @root.repository~}} | ||
{{~#if @root.host}} | ||
{{~@root.host}}/ | ||
{{~/if}} | ||
{{~#if @root.owner}} | ||
{{~@root.owner}}/ | ||
{{~/if}} | ||
{{~@root.repository}} | ||
{{~else}} | ||
{{~@root.repoUrl}} | ||
{{~/if~}} | ||
/compare/{{previousTag}}...{{currentTag}}) | ||
{{~else}} | ||
{{~version}} | ||
{{~/if}} | ||
{{~#if title}} "{{title}}" | ||
{{~/if}} | ||
{{~#if date}} ({{date}}) | ||
{{/if}} |
Oops, something went wrong.