-
Notifications
You must be signed in to change notification settings - Fork 614
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
1 parent
21e17b4
commit a518542
Showing
6 changed files
with
70 additions
and
115 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,39 @@ | ||
"use strict"; | ||
const config = require("conventional-changelog-conventionalcommits"); | ||
|
||
module.exports = config({ | ||
types: [ | ||
{ | ||
type: "feat", | ||
section: "✨ Features", | ||
}, | ||
{ | ||
type: "fix", | ||
section: "🐛 Bug Fixes", | ||
}, | ||
{ | ||
type: "chore", | ||
section: "🧹 Maintenance", | ||
}, | ||
{ | ||
type: "docs", | ||
section: "📚 Documentation", | ||
}, | ||
{ | ||
type: "style", | ||
section: "💅 Styles", | ||
}, | ||
{ | ||
type: "refactor", | ||
section: "🔨 Refactoring", | ||
}, | ||
{ | ||
type: "perf", | ||
section: "⚡ Performance Improvements", | ||
}, | ||
{ | ||
type: "test", | ||
section: "✅ Tests", | ||
}, | ||
], | ||
}); |
10 changes: 10 additions & 0 deletions
10
.github/conventional-changelog/pre-changelog-generation.js
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,10 @@ | ||
// Next version e.g. 1.12.3 | ||
module.exports = exports = {}; | ||
module.exports.preVersionGeneration = function preVersionGeneration(version) { | ||
return process.env.NYANPASU_VERSION; | ||
}; | ||
|
||
// Next tag e.g. v1.12.3 | ||
module.exports.preTagGeneration = function preTagGeneration(tag) { | ||
return `v${process.env.NYANPASU_VERSION}`; | ||
}; |
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.