7.0.0 • Published 1 year ago

@insurgentlab/conventional-changelog-preset v7.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Insurgent Lab's conventional-changelog preset

npm GitHub Workflow Status Codecov Renovate Snyk

conventional-changelog preset built from a list of conventional commit types (similar to conventional-commit-types). Also provides release rules configuration for @semantic-release/commit-analyzer.

Commit types originally from:

Install

npm install --save-dev @insurgentlab/conventional-changelog-preset

Configuration for @semantic-release/commit-analyzer

npm install --save-dev @semantic-release/commit-analyzer
{
  "plugins": [
    [
      "@semantic-release/commit-analyzer",
      {
        "config": "@insurgentlab/conventional-changelog-preset",
        "releaseRules": "@insurgentlab/conventional-changelog-preset/release-rules"
      }
    ]
  ]
}

Configuration for @semantic-release/release-notes-generator

npm install --save-dev @semantic-release/release-notes-generator
{
  "plugins": [
    [
      "@semantic-release/release-notes-generator",
      {
        "config": "@insurgentlab/conventional-changelog-preset"
      }
    ]
  ]
}

Use with conventional-changelog

npm install --save-dev conventional-changelog
import conventionalChangelog from 'conventional-changelog';

const config = require('@insurgentlab/conventional-changelog-preset');
conventionalChangelog({ config }).pipe(process.stdout);

Commit types

Commit TypeTitleDescriptionEmojiReleaseInclude in changelog
featFeaturesA new featureminortrue
fixBug FixesA bug Fix🐛patchtrue
docsDocumentationDocumentation only changes📚patch if scope is readmetrue
styleStylesChanges that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)💎-true
refactorCode RefactoringA code change that neither fixes a bug nor adds a feature📦-true
perfPerformance ImprovementsA code change that improves performance🚀patchtrue
testTestsAdding missing tests or correcting existing tests🚨-true
buildBuildsChanges that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)🛠patchtrue
ciContinuous IntegrationsChanges to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)⚙️-true
choreChoresOther changes that don't modify src or test files♻️-true
revertRevertsReverts a previous commit🗑-true

Related