Skip to content

Commit

Permalink
refactor(package.json): 🚚 move semantic release config to .releaserc …
Browse files Browse the repository at this point in the history
…file and use angular commits presets
  • Loading branch information
AkashRajpurohit committed Mar 25, 2024
1 parent 3402e46 commit 6ead753
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 73 deletions.
28 changes: 28 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"branches": [
"main"
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "angular",
"releaseRules": [
{
"type": "build",
"scope": "deps",
"release": "patch"
}
]
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "angular"
}
],
"@semantic-release/npm",
"@semantic-release/github"
]
}
73 changes: 0 additions & 73 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,78 +61,5 @@
},
"publishConfig": {
"access": "public"
},
"release": {
"branches": [
"main"
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{
"type": "build",
"scope": "deps",
"release": "patch"
}
]
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "docs",
"section": "Documentation Changes"
},
{
"type": "perf",
"section": "Performance Improvements"
},
{
"type": "refactor",
"section": "Code Refactoring"
},
{
"type": "test",
"section": "Tests"
},
{
"type": "chore",
"section": "Miscellaneous Chores"
},
{
"type": "revert",
"section": "Reverts"
},
{
"type": "style",
"section": "Code Style Changes"
},
{
"type": "build",
"section": "Dependencies and Other Build Updates",
"hidden": false
}
]
}
}
],
"@semantic-release/npm",
"@semantic-release/github"
]
}
}

0 comments on commit 6ead753

Please sign in to comment.