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

reg-notify-github-plugin

v0.14.4

Published

Notify reg-suit result to GitHub repository

Downloads

188,412

Readme

reg-notify-github-plugin

reg-suit plugin to send notification the testing result to your GitHub repository.

Installing this plugin, reg-suit comments to your PR and sets commits' status.

Install

npm i reg-notify-github-plugin -D
reg-suit prepare -p notify-github

GitHub App and Client ID

To configure notify-github plugin, a client ID of your repository is needed. You can get the client ID via the following steps:

  1. Open https://github.com/apps/reg-suit and click "Install" button.
  2. Select repositories to integrate with reg-suit.
  3. After installation app, visit here and click the Get client ID button of the repository you want to integrate.

How to set commit status succeed

If reg-suit detects visual differences, it set the commit status failure. Sometimes you might dislike it because the difference is as you intended. In these cases, your reviewer can set the status green with submitting "Approve Review Changes".

Configure

{
  clientId: string;
  prComment?: boolean;
  prCommentBehavior?: "default" | "once" | "new";
  setCommitStatus?: boolean;
  shortDescription?: boolean;
}
  • clientId - Required - Client ID for reg-suit GitHub app. You can get it visiting here and click the Get client ID button.

  • prComment - Optional - Whether to allow reg-suit to comment to pull request. Default: true.

  • prCommentBehavior - Optional - How the plugin comments to your pull requests. Enabled values are the following. Default: default.

    • "default" : Update the PR comment if exists. Otherwise post new comment.
    • "new" : Delete existing old comment and post new comment.
    • "once" : Does nothing if the PR comment exists.
  • setCommitStatus - Optional - Whether to allow reg-suit to set commit status to fail if any visual differences are detected. Default: true.

  • shortDescription - Optional Returns a small table with the item counts. Example:

    | 🔴 Changed | ⚪️ New | 🔵 Passing | | ---------- | ------- | ---------- | | 3 | 4 | 120 |