Skip to content

Commit

Permalink
chore: releaserc
Browse files Browse the repository at this point in the history
  • Loading branch information
YanZisuka committed Jan 6, 2024
1 parent 25557a5 commit c4ce233
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 21 deletions.
26 changes: 26 additions & 0 deletions .releaserc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
module.exports = {
branches: ['main'],
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
[
'@semantic-release/changelog',
{
changelogFile: 'CHANGELOG.md',
},
],
'@semantic-release/npm',
[
'@semantic-release/github',
{ assets: ['dist/**', 'LICENSE', 'README.md', 'package.json'] },
],
[
'@semantic-release/git',
{
assets: ['CHANGELOG.md', 'package.json'],
message:
'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}',
},
],
],
}
20 changes: 0 additions & 20 deletions .releaserc.yml

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
}
},
"lint-staged": {
"**/*.{js,json,md}": [
"**/*.{js,ts,json,md}": [
"prettier --write"
]
}
Expand Down

0 comments on commit c4ce233

Please sign in to comment.