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

adastra-cli

v0.4.0

Published

Adastra CLI ✨ is a CLI toolkit built on top of Shopify CLI 3.X, this means that existing Adastra commands are the same as Shopify's. The goal from this package is to allow developers to use one CLI intefrace between the Vite and Shopify development server

Downloads

4,218

Readme

adastra-cli

Adastra CLI ✨ is a CLI toolkit built on top of Shopify CLI 3.X, this means that existing Adastra commands are the same as Shopify's. The goal from this package is to allow developers to use one CLI intefrace between the Vite and Shopify development servers.

Requirements

Please make sure you have these two already set up in your local environment for Adastra CLI to work properly.

Install Shopify CLI and Adastra CLI

Shopify CLI is managed as a set of Node.js packages, To install Shopify CLI for themes, install the @shopify/cli and @shopify/theme Node.js packages globally using the command line and same for adastra-cli as well.

npm install -g @shopify/cli @shopify/theme adastra-cli

Using Yarn/PNPM

yarn global add @shopify/cli @shopify/theme adastra-cli
# pnpm add -g @shopify/cli @shopify/theme adastra-cli

Already have Shopify CLI installed?

You can install adastra-cli separately with the following command.

npm install -g adastra-cli

Using Yarn/PNPM

yarn global add adastra-cli
# pnpm add -g adastra-cli

Verify the installation

To verify that Shopify CLI is installed properly, run the following command (The command returns a version number)

shopify version

Verify Adastra CLI with (The command returns a help message)

adastra --help

Commands

To launch Shopify and Vite development server, you can use adastra dev command which support all shopify theme dev flags and arguments. Here is an example:

adastra dev -s example-store.myshopify.com
# same as shopify theme dev -s example-store.myshopify.com

💡 The command will launch two dev servers, the first for Vite at localhost:5173 to server static files from the src directory and the second for Shopify at localhost:9292 to serve your theme.

All commands must run from the root of the theme project.

Other commands

| Command | Action | | :---------------- | :-------------------------------------------------------------------- | | adastra build | Build and minifies your production static files to ./assets/ folder | | adastra preview | Preview of your remote development theme, before deploying | | adastra check | Run theme check to lint the theme | | adastra --help | Get help using the Adastra CLI |

Want to learn more?

Feel free to check our documentation or jump into our Discord server.