build: add automated changelog

This commit is contained in:
Chen Asraf
2022-11-30 17:55:56 +02:00
parent f781613104
commit a4fbbcd4f2
3 changed files with 8 additions and 39 deletions

View File

@@ -1,20 +1 @@
## [0.3.3-develop.2](https://github.com/chenasraf/express-otp/compare/v0.3.3-develop.1...v0.3.3-develop.2) (2022-11-30)
# Changelog
## v0.3.1
- feat: add token end-user form
## v0.2.0
- feat: add `errorResponse` option
## v0.1.1
- feat: add `verifyToken` and `verifyUser` functions
- fix: token timestamp
## v0.1.0
- Initial release
# Change Log

View File

@@ -1,6 +1,6 @@
{
"name": "express-otp",
"version": "0.0.0-development",
"version": "0.3.3-develop.3",
"description": "OTP auth for your nodejs/express app, as easy as it gets!",
"main": "index.js",
"repository": "https://github.com/chenasraf/express-otp",

View File

@@ -5,20 +5,7 @@ module.exports = {
path: 'semantic-release-conventional-commits',
majorTypes: ['major', 'breaking'],
minorTypes: ['minor', 'feat', 'feature'],
patchTypes: [
'patch',
'fix',
'bugfix',
'chore',
'docs',
'style',
'refactor',
'perf',
'test',
'build',
'ci',
'revert',
],
patchTypes: ['patch', 'fix', 'bugfix', 'refactor', 'perf', 'revert'],
},
plugins: [
[
@@ -26,7 +13,7 @@ module.exports = {
{
preset: 'conventionalcommits',
parserOpts: {
noteKeywords: ['breaking'],
noteKeywords: ['breaking:', 'breaking-fix:', 'breaking-feat:'],
},
releaseRules: [
{ type: 'docs', hidden: true },
@@ -34,8 +21,8 @@ module.exports = {
{ type: 'fix', section: 'Bug Fixes' },
{ type: 'chore', hidden: true },
{ type: 'style', hidden: true },
{ type: 'refactor', hidden: true },
{ type: 'perf', hidden: true },
{ type: 'refactor', section: 'Misc' },
{ type: 'perf', section: 'Misc' },
{ type: 'test', hidden: true },
],
},
@@ -53,6 +40,7 @@ module.exports = {
'@semantic-release/changelog',
{
changelogFile: 'CHANGELOG.md',
changelogTitle: '# Changelog',
},
],
[
@@ -70,7 +58,7 @@ module.exports = {
[
'@semantic-release/git',
{
assets: ['CHANGELOG.md'],
assets: ['CHANGELOG.md', 'package.json'],
},
],
],