Skip to content

Commit

Permalink
chore(semantic-release): init project and configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
r17x committed Sep 20, 2024
1 parent d91ad59 commit 1212462
Show file tree
Hide file tree
Showing 3 changed files with 118 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/semantic-release/.releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "./index.json"
}
104 changes: 104 additions & 0 deletions packages/semantic-release/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
{
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"main",
"next",
"next-major",
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits"
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "feature",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "perf",
"section": "Performance Improvements"
},
{
"type": "revert",
"section": "Reverts"
},
{
"type": "docs",
"section": "Documentation",
"hidden": false
},
{
"type": "style",
"section": "Styles",
"hidden": false
},
{
"type": "chore",
"section": "Miscellaneous Chores",
"hidden": false
},
{
"type": "refactor",
"section": "Code Refactoring",
"hidden": false
},
{
"type": "test",
"section": "Tests",
"hidden": false
},
{
"type": "build",
"section": "Build System",
"hidden": false
},
{
"type": "ci",
"section": "Continuous Integration",
"hidden": false
}
]
}
}
],
"@semantic-release/changelog",
"@semantic-release/npm",
[
"@semantic-release/git",
{
"message": "chore(release): ${nextRelease.gitTag} [skip ci]\\n\\n${nextRelease.notes}"
}
],
[
"@semantic-release/github",
{
"successComment": false,
"failComment": false
}
]
]
}
11 changes: 11 additions & 0 deletions packages/semantic-release/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "@r17x/semantic-release",
"description": "semantic-release configuration",
"version": "0.0.0",
"exports": {
".": {
"require": "./index.json",
"import": "./index.json"
}
}
}

0 comments on commit 1212462

Please sign in to comment.