Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
major: 1.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
xstelea committed Sep 24, 2023
1 parent 67aff91 commit 7d9d686
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
24 changes: 23 additions & 1 deletion commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1 +1,23 @@
module.exports = { extends: ['@commitlint/config-conventional'] }
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'type-enum': () => [
2,
'always',
[
'build',
'chore',
'ci',
'docs',
'feat',
'fix',
'perf',
'refactor',
'revert',
'style',
'test',
'major',
],
],
},
}
8 changes: 8 additions & 0 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ module.exports = {
{
preset: 'conventionalcommits',
releaseRules: [
{
type: 'major',
release: 'major',
},
{
type: 'refactor',
release: 'patch',
Expand Down Expand Up @@ -74,6 +78,10 @@ module.exports = {
},
presetConfig: {
types: [
{
type: 'major',
release: 'major',
},
{
type: 'feat',
section: ':sparkles: Features',
Expand Down

0 comments on commit 7d9d686

Please sign in to comment.