Skip to content

Commit

Permalink
feat(semantic-release): init project
Browse files Browse the repository at this point in the history
  • Loading branch information
r17x committed Sep 20, 2024
1 parent 561ce1d commit 374476f
Show file tree
Hide file tree
Showing 4 changed files with 303 additions and 8 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
}
]
]
}
25 changes: 25 additions & 0 deletions packages/semantic-release/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "@r17x/semantic-release",
"description": "semantic-release configuration",
"version": "0.0.0",
"repository": "https://github.com/r17x/js",
"publishConfig": {
"access": "public"
},
"exports": {
".": {
"require": "./index.json",
"import": "./index.json"
}
},
"dependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.0",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^10.3.4",
"@semantic-release/npm": "^12.0.1",
"@semantic-release/release-notes-generator": "^14.0.1",
"conventional-changelog-conventionalcommits": "^8.0.0"
}
}
Loading

0 comments on commit 374476f

Please sign in to comment.