Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A changelog generator not authored by git data but by the developer implementing the fix, feature, breaking change, ...

License

NotificationsYou must be signed in to change notification settings

MFB-Technologies-Inc/changelog-generator

Repository files navigation

A changelog generator not authored by git data but by the developer implementing the fix, feature, breaking change, ...

This package helps developers manage changelogs and package version while keeping their freedom to put what ever they want in their commit messages, tags, ....

Usage

The general workflow of a developer would be something like,

  1. Branch off of the main development branch of the repository.
  2. Commit changes and, before making a pull request, runccg change next to thepackage.json of your project to generate a change file.
  3. Create a pull requests and merge the changes.ccg change --verify can be run in CI/CD to verify that a change file has been generated.
  4. When publishing the package, runccg publish to bump the package.json version and update the changelog file with all of the change files.

Change files contain date/time, a short description of the change and an associated version bump for the change (i.e. major, minor, patch, or none).

Usage: ccg [options] [command]Options:  -h, --help         display help for commandCommands:  change [options]   Generates a change file if a change is detected.  publish [options]  Combines all of the existing changes files into the change log and consolidates the version bumps in the change files down to a single version  help [command]     display help for command

change

Usage: ccg change [options]Generates a change file if a change is detected.Options:  -v, --verify    Verify the change file has been generated and is valid.  -h, --help      display help for command

publish

Usage: ccg publish [options]Combines all of the existing changes files into the change log and consolidates the version bumps in the change files down to a single versionOptions:  -a, --apply  By default this command will perform a readonly operation. If you want to update the change log files and the project's version (i.e. package.json), then specify this argument.  -h, --help   display help for command

Configuration

{"repoUrl":"https://github.com/MFB-Technologies-Inc/changelog-generator.git","branchName":"develop","remoteName":"origin","packagePath":"./package.json"}
  • repoUrl: the remote URL of the repository.
  • branchName: the default branch name to be compared against the local branch for changes.
  • remoteName: the default remote name for comparing against.
  • packagePath: the path to thepackage.json of the package that should be checked for changes.

Scripts

  • build: Builds the CLI.
  • ccg: Run the built CLI. Use-- before any arguments that you want to pass to the script.
  • lint: Fixes all lint errors.
  • check-linting: Checks for lint errors without fixing them.
  • format: Fixes all format errors.
  • check-formatting: Checks for format errors without fixing them.
  • test: Runs all tests and re-runs them when changes are made.
  • test:ci: Runs all tests, generates a test coverage report and exits.

Changelog

Link to changelog.

Publishing

TODO

About

A changelog generator not authored by git data but by the developer implementing the fix, feature, breaking change, ...

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp