Security News
UK Officials Consider Banning Ransomware Payments from Public Entities
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
adastra-cli
Advanced tools
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
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.
Please make sure you have these two already set up in your local environment for Adastra CLI to work properly.
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
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
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
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 thesrc
directory and the second for Shopify atlocalhost:9292
to serve your theme.
All commands must run from the root of the theme project.
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 |
Feel free to check our documentation or jump into our Discord server.
FAQs
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
The npm package adastra-cli receives a total of 673 weekly downloads. As such, adastra-cli popularity was classified as not popular.
We found that adastra-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.