Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

swift-commits

christina.codes30MIT1.0.3

A CLI for creating conventional commits, but for Swifties

typescript, cli, git, commit, taylor swift

readme

Swift Commits

swift commits is enabled downloads

A CLI for writing better commits—made by and for Swifties.

✨ As easy as knowing all the words to your old favorite song

  • Choose between quill, fountain pen, or glitter gel pen commit types.
  • Select which era your code belongs in—that's your scope.
  • Choose from pre-selected lyrics that match your type and scope—your new commit message.
  • Get commit messages like these:
quill(midnights): It was all by design, cause I'm a mastermind.
fountain(midnights): Dear reader, burn all the files.
glitter-gel(fearless): It's flawless, really something.

🚀 Is it too soon to do this yet?

npm install -g swift-commits

When you're ready to commit. To run the CLI in your terminal:

swift-commits
# or
npx swift-commits

It will prompt a series of questions. These prompts will build a commit message, which you can preview, before confirming the commit.

🌌 Long live all the magic we made

You can add this badge to your repository to display that you're using a swift-commits repository config

Markdown Result
[![swift commits is enabled](https://img.shields.io/badge/swift--commits-enabled?style=for-the-badge&logo=git&color=a6e3a1&logoColor=D9E0EE&labelColor=302D41)](https://github.com/christina-de-martinez/swift-commits) swift commits is enabled