@szum-tech/semantic-release-config
Version:
Recommended setup for releasing semantically using GitHub Actions workflows compliance with the Szum-Tech standards.
5 lines • 1.27 kB
JavaScript
function s({features:{npmPublish:t=false,mdx:e=false}={}}={}){return {branches:["main"],plugins:[["@semantic-release/commit-analyzer",{preset:"conventionalcommits"}],["@semantic-release/release-notes-generator",{preset:"conventionalcommits",presetConfig:{types:[{type:"feat",section:"Features"},{type:"fix",section:"Bug Fixes"},{type:"perf",section:"Performance Improvements"},{type:"revert",section:"Reverts"},{type:"docs",section:"Documentation"},{type:"chore",section:"Miscellaneous Chores"},{type:"refactor",section:"Code Refactoring"},{type:"test",section:"Tests"},{type:"build",section:"Build System"},{type:"ci",section:"Continuous Integration"},{type:"style",section:"Styles",hidden:true}]}}],["@semantic-release/changelog",{changelogFile:`CHANGELOG.${e?"mdx":"md"}`,changelogTitle:`${e?"":"<!-- markdownlint-disable --><!-- textlint-disable -->"}
# \u{1F4D3} Changelog
All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.`}],["@semantic-release/npm",{npmPublish:t}],["@semantic-release/git",{message:"release: ${nextRelease.gitTag} [skip ci]\n\n${nextRelease.notes}",assets:[`CHANGELOG.${e?"mdx":"md"}`,"package.json"]}],"@semantic-release/github"]}}
export{s as a};