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

@somethingdigital/somethingdigital-shopify-deploybot

v1.4.10

Published

Something Digital Shopify Deployment Tool πŸš€πŸš€

Downloads

108

Readme

Shopify Deploybot

This is a node module to assist with deploying to Shopify stores. It's meant to be used with the Something Digital Azure Devops Pipelines.

By default, the deployed theme contains the deployment date and commit hash. However, because the theme title can be changed by the merchant, the deployment tooling injects a new file called deploybot-meta.json within the /assets. This file contains the date of deployment and the commit hash which was used during that deployment. This allows our tooling to know what version is deployed even after a theme name is changed in the admin. The file is accessible via Shopify theme code editor and also via the customer storefront for automated performance tooling.

Example:

{
  "commitHash": "d90cad85f0b786e405c3f6c53d8777b21bdc77fb",
  "deployDate": "Wed Jun 03 2020 17:54:27 GMT+0000 (Coordinated Universal Time)"
}

Install

To install, run npm i -g @somethingdigital/somethingdigital-shopify-deploybot@{version}, where {version} is the specific version needed (can be excluded for latest version).

To run a command, run deploybot <command>.

Publish new version

To publish a new version on npm, run npm publish.

Commands

Command | Purpose -|- commitHash | Retrieves latest commit hash of live theme download | Download the live theme. Used during nightly theme sync prep | Download live theme settings upload | Upload theme.zip to shop check | Check if theme is processing. publish | Publish theme cleanup | Delete theme if PR or keep up to 5 releases for main/develop deploy.

Parameters coming soon.

Development

  1. Run npm install to install dependencies.
  2. Copy .env.sample to .env and add appropriate credentials
  3. Run npm link to symlink cli bin tool.
  4. Run npx deploybot <command> to run a command
  5. Once you're finished developing, run npm unlink