Thank you for your interest in contributing to the DevKit CLI plugin! All contributions are welcome. This guide will help you get started with the development process.
Before you begin, make sure you have the Shopify CLI installed on your system.
Follow these steps to set up the plugin for local development:
- Install the Shopify CLI (if you haven't already):
# On macOS using npm
npm install -g @shopify/cli@latest
# On macOS using Homebrew
brew tap shopify/shopify
brew install shopify-cli
# For other platforms, see the Shopify CLI documentation- Clone the repository:
# Clone to your preferred location
cd ~/projects
git clone https://github.com/archetype-themes/plugin-devkit.git- Link your local copy to the Shopify CLI:
cd plugin-devkit
shopify plugins linkThis will allow you to test your changes locally before submitting them.
- Find or create an issue in the GitHub Issues section
- Assign yourself to the issue you're working on
- Create a new branch for your feature or bugfix
- Make your changes and test them thoroughly
- Submit a pull request targeting the
mainbranch
If you need to uninstall the plugin, you can do so with one of these commands:
# From the project directory
cd ~/projects/plugin-devkit
shopify plugins uninstall
# From anywhere
shopify plugins uninstall plugin-devkitIf you have questions or need assistance:
- Check the existing documentation
- Comment on the relevant GitHub issue
- Reach out to the maintainers through the project's communication channels
We appreciate your contributions and look forward to your pull requests!