Skip to content

Commit ef494ac

Browse files
committed
feat(lint): empty type
1 parent 4557a4b commit ef494ac

5 files changed

+24
-6
lines changed

.github/dependabot.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@ updates:
33
- package-ecosystem: "github-actions"
44
directory: "/"
55
schedule:
6-
interval: "weekly"
6+
interval: "weekly"
7+
commit-message:
8+
prefix: "chore(gha):"

.releaserc

+12-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,16 @@
22
"branches": ["master"],
33
"plugins": [
44
"@semantic-release/commit-analyzer",
5+
{
6+
"preset": "conventionalcommits",
7+
"releaseRules": [
8+
{ "type": "", "release": "patch" }
9+
]
10+
},
511
"@semantic-release/release-notes-generator",
12+
{
13+
"preset": "conventionalcommits"
14+
},
615
["@semantic-release/exec", {
716
"prepareCmd": "ant -Dapp.version=${nextRelease.version}"
817
}],
@@ -13,9 +22,9 @@
1322
["@semantic-release/github", {
1423
"assets": [
1524
{
16-
"path": "build/release-*.xar",
17-
"name": "release-${nextRelease.version}.xar",
18-
"label": "Expath package (release-${nextRelease.version}.xar)"
25+
"path": "build/release.xar",
26+
"name": "release.xar",
27+
"label": "Expath package (release.xar)"
1928
}
2029
]
2130
}]

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ A collection of utilities for preparing releases:
2929

3030
Releases for this package are automated. Any commit to the `master` branch will trigger the release automation.
3131

32-
All commit message must conform to [Angular Commit Message Conventions](https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#-git-commit-guidelines) to determine semantic versioning of releases, please adhere to these conventions, like so:
32+
All commit message must conform to [Conventional Commit Messages](https://www.conventionalcommits.org/en/v1.0.0/) to determine semantic versioning of releases, please adhere to these conventions, like so:
3333

3434
| Commit message | Release type |
3535
|-----------------|--------------|

commitlint.config.cjs

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module.exports = {
2+
extends: ['@commitlint/config-conventional'],
3+
rules: {
4+
'body-max-line-length': [1, 'always', 200],
5+
'type-empty': [1, 'never'],
6+
'subject-empty': [1, 'never']
7+
}
8+
}

commitlint.config.js

-1
This file was deleted.

0 commit comments

Comments
 (0)