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

bubba-bot

v0.0.13

Published

A GitHub bot, making Eric's life easier.

Downloads

2

Readme

bubba

A GitHub tool for making Eric's life easier

Installation

It is best to install the package globally:

> npm install bubba-bot -g

Then the command should be available via bubba on the command line.

Configuration

bubba needs a GitHub authorization token available in the environment with the key of GITHUB_TOKEN. You will need to generate a Personal access token for GitHub. In order to do that, you will need to:

  • Navigate to GitHub Settings Tokens
  • Click on Generate new token
  • Provide a token description
  • Provide access (recommended: repo, notifications, and user)
  • Click on the Generate token button
  • Copy the personal access token that was generated
  • Add personal access token to your environment
    • If you are on a Mac you would want to add this line to your ~/.bash_profile:
      export GITHUB_TOKEN=<<GENERATED TOKEN>>

You should now be able to utilise bubba.

Commands

create

bubba create <command> requires a sub-command.

label

bubba create label <name> <color> [options] will create a label, with the specified color across the Dojo 2 repositories. For example:

> bubba create label foo-bar cccccc

Would create the label foo-bar across all the Dojo 2 repositories.

The command will output the success or failure of creating the label for each repository.

milestone

bubba create milestone <title> <due> [options] will create a milestone on the appropriate due date across the Dojo 2 repositories. For example:

> bubba create milestone foo 2017-12-31

Would create a milestone named foo which would be due on the 21st December 2017.

The command will output the success ofr failure of creating the milestone for each repository.

delete

milestone

bubba delete milestone <title> [options] would delete a milestone across the Dojo 2 repositories. For example:

> bubba delete miletstone foo

Would delete a milestone named foo from all the Dojo 2 repositories.

release

bubba release <repo> <tag> [options] will generate a set of release notes based on the commit comments that were supplied in the commit messages. By default, the release notes will be generated using the previous tag before the one specified. For example:

> bubba release widget-core v2.0.0-beta1.4

Would generate a set of release notes as a release on dojo/widget-core for the commits between v2.0.0-beta1.4 and v2.0.0-beta1.3. By default, the releases are unpublished, so they can be reviewed before publishing. A link to the release notes will be output to make it easy to review the notes and publish them.

tags

bubba tags <repo> will output the list of tags for a particular repository. Each tag will be output, and those tags that are already released will be noted with a [released] after the tag name.

update

milestone

bubba update milestone <title> [options] will update a milestone across the Dojo 2 repositories. For example:

> bubba update milestone foo --due 2017-12-01

Would update the due date for the milestone named foo across the Dojo 2 repositories.

License

Apache License, Version 2.0; Copyright 2017 by Kitson P. Kelly