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

webthings-addon-cli

v1.0.1

Published

[![Build Status](https://github.com/tim-hellhake/webthings-addon-cli/workflows/Build/badge.svg)](https://github.com/tim-hellhake/webthings-addon-cli/actions?query=workflow%3ABuild) [![license](https://img.shields.io/badge/license-MPL--2.0-blue.svg)](LICEN

Downloads

4

Readme

Build Status license

WebThings addon CLI

This CLI helps you to prepare a new release of your addon and publish it by adding it to the addon-list repo.

Commands

Config

The addon works without any configuration.

If you need to override some defaults, you can use this command.

| Setting | Purpose | | ---------- | :-------------------------------------------------------------: | | githubUser | The GitHub user under which you have forked the addon-list repo | | userName | The git user.name for new commits | | userEmail | The git user.email for new commits |

The config is saved under ~/.webthings-addon-cli/config.json.

Prepare update <patch, minor, major>

This command creates a new tagged release commit using the following steps:

  1. Patch the versions in the manifest.json, package.json (node addons only), and package-lock.json (node addons only) files. The version will be increased according to the semantic versioning level you passed in as an argument.
  2. Collect all commit messages since the last tag.
  3. Create a new release commit with the collected commit messages.
  4. Tag the release commit with the new version.

After you executed the command, you need to push the new release with git push --tags.

Release update

After the CI pipeline built the new packages, you can use this command to prepare a PR in the addon-list repo.

The command does the following steps for you:

  1. Fetch the checksum files for the new release from your GitHub repo.
  2. Create an updated addons file
  3. Clone the addon-list repo
  4. Create a new update branch with the new addons file
  5. Push the new branch to your fork of the addon-list repo

All you need to do now is to create a new PR based on the pushed branch.