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

barque

v0.0.6

Published

barque CLI

Downloads

3

Readme

barque

package and deploy an upmk project

License

MIT - see LICENSE

Package

Build webapp with docker and tag in git. Doing so will:

  • verify valid version number
  • verify you are on an acceptable git branch (master || main by default)
    • set this with an allowed-branches key in your upmk.yml file for each environment
  • docker build your app (with included tag)
  • git tag the repo (and push the tag to the remote)
  • update your upmk.yml environment with the new docker image name + tag
  • build your bin/restart-<environent>.sh file with the latest image name + tag
barque package <envirnoment> <version> [--npm-token=token --skip-git --skip-docker-push]

For example

barque package production 0.2.45 --npm-token=abcdefg

Options

  • pass along --npm-token to use it as an NPM_TOKEN build arg
  • skip over git tagging and push with --skip-git
  • skip the docker push step with --skip-docker-push

Deploy

Runs the local bin/restart-<env>.sh script file via ssh on the configured server

barque deploy <environment>

For example

barque deploy production

Will execute the local bin/restart-production.sh script that gets built during packaging

TODO:

  • none