Skip to content

Semantic Release Config

@theholocron/semantic-release-config provides defineConfig — a factory that produces a complete semantic-release configuration for any theholocron project.

Terminal window
pnpm add -D @theholocron/semantic-release-config semantic-release

In release.config.ts:

import { defineConfig } from "@theholocron/semantic-release-config";
export default defineConfig({
branches: ["main", { name: "alpha", prerelease: true }],
exec: {
prepareCmd: "...",
publishCmd: "...",
},
});
Commit type Release
feat minor
fix, perf, refactor patch
chore(deps) patch
Breaking change (!) major

Types docs, chore, ci, test do not trigger a release.

Type Section Visible
feat Features
fix Bug Fixes
perf Performance
refactor Refactoring
docs Documentation
chore Chores
ci CI hidden
test Tests hidden