https://github.com/renddslow/updoot
A githook designed to remind you to update your changelog and move released changes into a release entries.
https://github.com/renddslow/updoot
Last synced: 3 months ago
JSON representation
A githook designed to remind you to update your changelog and move released changes into a release entries.
- Host: GitHub
- URL: https://github.com/renddslow/updoot
- Owner: Renddslow
- Created: 2020-07-14T22:55:31.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-03-27T05:58:50.000Z (about 3 years ago)
- Last Synced: 2025-03-08T20:16:31.650Z (3 months ago)
- Language: TypeScript
- Homepage:
- Size: 503 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# updoot
> A githook designed to remind you to update your changelog.
## Install
```
$ yarn add updoot
```## Usage
This was designed to work in conjunction with husky and lint-staged. However, you can use it solo by passing a list of files to it.
```
Description
Checks to see if a Changelog is present in the list of changed files and alerts if one is not present.Usage
$ updoot remind [options]Options
-w, --workspace Whether or not updoot should look for changelogs in yarn workspaces (default false)
--warn Print to stdout without an exit(1) when changelogs are missing. (default false)
-i, --ignore-pkgs When in a monorepo context, a comma-delimited list of packages to ignore
--pattern A case-insensitive wildcard pattern describing the filename of changelogs (default changelog*)
-h, --help Displays this message
```## Options
Since this is intended to be used with git and lint-staged, you may also provide an ENV argument to skip updoot when needed.
```
$ SKIP_UPDOOT=true git commit -m "Added a comma to a comment"
```