We appreciate your interest in contributing to the Strapi Publisher Plugin! 🚀 This document outlines the guidelines for contributing to this project.
We strive to maintain a welcoming and inclusive environment. Please be respectful and follow the Contributor Covenant Code of Conduct.
This plugin uses Yalc to test changes in a separate Strapi instance. Instead of a built-in playground, you'll need to link your plugin to a Strapi project using Yalc.
Go to the repository and fork it to your own GitHub account.
git clone git@github.com:YOUR_USERNAME/strapi-plugin-publisher.gitNavigate into the project directory and install dependencies:
cd strapi-plugin-publisher && yarn installYou'll need Yalc to test the plugin in a separate Strapi project.
-
Install Yalc globally (if you haven't already):
npm i -g yalc
-
Publish the plugin to Yalc:
yalc publish
-
Go to your Strapi test project (the project where you want to test the plugin):
cd /path/to/your-strapi-project -
Link the plugin in your Strapi test project:
yalc link strapi-plugin-publisher
Go back to the plugin's repository and run:
yarn run watch:linkThis will automatically recompile changes and update the plugin inside your Strapi test project.
In your Strapi test project, start the development environment:
yarn developNow, you should see the Publisher Plugin available in your Strapi admin panel.
We follow the Conventional Commits format:
fix: Bug fixes (e.g.,fix: resolve issue with publish scheduling)feat: New features (e.g.,feat: add new logging system)refactor: Code improvements without functional changesdocs: Documentation updateschore: Tooling or maintenance changes
Example:
git commit -m "feat: add support for multiple publish schedules"We use ESLint to enforce coding standards.
| Command | Description |
|---|---|
yarn lint |
Run ESLint to check for linting issues |
yarn lint:fix |
Auto-fix ESLint issues |
First time contributing? Check out this guide.
- Keep pull requests small and focused on a single change.
- Ensure ESLint passes before submitting.
- If updating the UI, include screenshots.
- Follow the Pull Request Template when submitting a PR.
- Discuss major API changes with maintainers by opening an issue first.
If you find a bug, please create an issue on GitHub:
- Clearly describe the problem
- Include steps to reproduce
- Attach screenshots/logs if possible
If you have an idea for a new feature, open an issue and describe:
- Why is this feature needed?
- How would it work?
Feature requests should align with the plugin's goals.
Thank you for contributing! 🎉