npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

simsala

v0.0.23

Published

Conflict free changelogs and release management

Downloads

43

Readme

simsala

Conflict free changelogs and simple release management. Simsala helps you to create a changelog based on Keep a Changelog and to release according to Semantic Versioning.

Installation

npm i -g simsala

Adding pending changes

simsala log

This will guide you through the process of adding pending changes as logs to the repository. Finally it will commit these changes to your branch to save you a step.

Options:

simsala log -h
Usage: log [options]

Options:
  -p, --pending-path [pending path]  Where are pending files located? (default: "./pending")
  -s, --stage-only                   Stage changes only instead of committing them
  -h, --help                         output usage information

Releasing

simsala release

This will bump the version, merge the pending changes and add them to the CHANGELOG.md. Finally it will commit the version changes and tag the commit.

Options:

$ simsala release -h
Usage: release [options]

Options:
  -s, --semver [semver type]             Which version (patch|minor|mayor) your want to increase? (default: "patch")
  -p, --pending-path [pending path]      Where are pending files located? (default: "./pending")
  -c, --changelog-path [changelog path]  Where is the changelog located? (default: "./CHANGELOG.md")
  -b, --beta                             Is this a beta release?
  -s, --stage-only                       Stage version bump changes only instead of committing them
  -h, --help                             output usage information

Release Candidate

In a collaborative flow you might want to create a PR for any release so your colleagues can approve the release. Simsala provides a command to create a release PR. You need to provide a GitHub access token either by --token or via a GITHUB_ACCESS_TOKEN environment variable.

simsala release-candidate --token <github access token>

Options:

$ simsala release-candidate -h
Usage: release-candidate [options]

Options:
  -s, --semver <semver type>             Which version (patch|minor|mayor) your want to increase? (default: "patch")
  -p, --pending-path <pending path>      Where are pending files located? (default: "./pending")
  -c, --changelog-path <changelog path>  Where is the changelog located? (default: "./CHANGELOG.md")
  -o, --owner <owner>                    Name of the owner or organization of the repository. (guessed from origin or GitHub Actions context if empty)
  -r, --repository <repository>          Name of the repo. (guessed from origin if empty)
  -t, --token <github auth token>        Token to authenticate to GitHub (to push chages).
  -m, --message <message>                Message to prepend to the changes in the release PR description.
  -h, --help

Simple releases

Simsala is designed so you can have a simple release flow. I propose setting up a GitHub Action lile you see in .github/workflows/release.yml that only triggers on the release branch. When you are ready to release just push to the release branch and Simsala will create a release PR for you.

sh``` git push origin develop:release


## Add a check for your PRs

Every PR should have a changelog entry in it. I propose setting up a GitHub Action lile you see in `.github/workflows/checkChangelog.yml`. It will run on all the PRs and check if the changelog was added.