@ecssc/release-it-config
v1.0.3
Published
Shared release-it config for ECSSC projects
Readme
@ecssc/release-it-config
Shared release-it configuration for ECSSC projects. Requires release-it 19 or 20.
Installation
These packages are published to GitHub Packages. Add an .npmrc to your project pointing the @ecssc scope at that registry:
@ecssc:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}GitHub Packages requires authentication even for public packages, so NODE_AUTH_TOKEN must hold a token with the read:packages scope. Then install:
npm install --save-dev @ecssc/release-it-config release-itUsage
Create a .release-it.mjs:
import { base, module } from '@ecssc/release-it-config'
export default {
...base,
...module,
}Exports
| Export | Description |
|--------|-------------|
| base | Core config: git commits, GitHub releases, changelog generation |
| module | npm publishing config for GitHub Packages registry |
Features
- Automatic version bumping based on conventional commits
- Changelog generation with custom section headings
- GitHub release creation
- npm publishing to GitHub Packages
Changelog Sections
| Commit Type | Changelog Section |
|-------------|-------------------|
| feat: | Features |
| fix: | Bug Fixes |
| perf: | Performance |
| revert: | Reverts |
Other commit types (docs, style, refactor, test, build, ci, chore) are hidden from the changelog.
