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

evem

v0.1.5

Published

Evem cli

Downloads

4

Readme

evem

This is evem's cli tool, which is used to track changes and release version.

Evem command

evem contains the following commands

usage: evem [-h] [-s] <command> ...

Make the version release more efficient.

Positional arguments:
  <command>
    change      Generate changes summary
    version     Apply modified packages version
    publish     Publish package with release version changes
    init        Init evem basic config

Optional arguments:
  -h, --help    Show this help message and exit.
  -s, --silent  Silent execution without outputting any logs

For detailed help about a specific command, use: evem <command> -h

Usage

install

npx evem init
or
npm install -g evem

evem init

If you are a new repository, you can run evem init to complete the initialization.

evem init

➜ evem init
🐳  info Detected management tool pnpm
🐳  success Evem have been init 🎉

evem change

This action will generate changes for changed packages。The changed packages comes from the diff difference between the current branch and the default branch you specified.

evem change

It should be noted that you need to submit your changes before executing evem change. The reason for this is to avoid that the changes in your workspace are not intended to be submitted, but unnecessary changes are generated.

In addition, If you want to generate a changelog for a specified package regardless of whether it has actually changed, you can use the --to parameter, which is different from the default change. The default change is the difference calculated based on the diff result.

evem change --to evem-logger

More help

evem change -h

usage: evem change [-h] [-v] [-t TO]

Generate changes summary

Optional arguments:
  -h, --help      Show this help message and exit.
  -v, --verbose   If specified, log information useful for debugging
  -t TO, --to TO  Specify the package name that needs to generate the change
                  log.

evem version

This command will generate a new version for you according to the changes file, and then generate a changelog.

Note that this operation will cause file changes.

evem version

Of course, you can also specify packages to generate change logs.

evem version --to evem-logger

If you want to release the pre version, you just need to do this.

evem version --pre beta // this will auto bump version like beta.0、beta.1 ...
or
evem version --pre beta.11 // this will bump version by specified version beta.11

More help

evem version -h

usage: evem version [-h] [--pre PRE_NAME] [-v] [-t TO]

Apply modified packages version

Optional arguments:
  -h, --help      Show this help message and exit.
  -t TO, --to TO  You can specify the package name that needs to generate the
                  change log. Instead of applying all.
  --pre PRE_NAME  Prerelease version name,It can be a specific version number
                  or version type,like:beta or beta.1
  --only-none     Release packages with change type of "none" only, this
                  option needs to be used with "--pre".
  --list          Display only the result of the version without actually
                  applying the version.
  -v, --verbose   If specified, log information useful for debugging

evem publish

This step will actually carry out the release operation. He will verify your package version and execute npm pubish.

evem publish

Similarly, publishing also supports the release of specified packages.

evem publish --to evem-logger

You can specify different tags for the versions you release, such as specifying beta as the corresponding tag when releasing a beta version.

evem publish --tag beta

More help

evem publish -h

usage: evem publish [-h] [--tag TAG_NAME] [-t TO] [-n] [-v]
Publish package with release version changes

Optional arguments:
  -h, --help        Show this help message and exit.
  --tag TAG_NAME    Publish tag, like:beta/alpha.It will be use when npm
                    publish and git tag
  -t TO, --to TO    Specify the package name that needs to generate the
                    change log.
  -n, --no-git-tag  If specified, Will not tag the current commits
  -v, --verbose     If specified, log information useful for debugging