@retailos-ai/cms-collection-group-plugin
v1.7.2
Published
A plugin for Payload CMS to create collection groups
Downloads
205
Readme
Plugin
Docs
Steps to Create a New Plugin from Template
1. Clone the Repository
- HTTPS
git clone https://github.com/RetailOs-Cms-Plugins/plugin-template.git
cd plugin-template- SSH
git clone [email protected]:RetailOs-Cms-Plugins/plugin-template.git
cd plugin-template2. Clean Git History
# Remove existing Git history
rm -rf .git
# Initialize new repository
git init
git add .
git commit -m "Initial commit from template"3. Connect to New Repository
# Add new remote
git remote add origin <new-repo-url>
git branch -M main
git push -u origin main4. Update Dependencies to Latest Version
- Install dependencies
pnpm install- Check for outdated dependencies
pnpm outdated- Update all dependencies to latest versions
pnpm update5. Run in Development Environment
- Start development environment
pnpm dev- Test project build
pnpm buildAdditional Tips
- Make sure to update
package.jsonwith your new plugin details - Update the
README.mdwith documentation specific to your plugin - Remove or update template-specific files that are not relevant
- Consider updating dependencies in
package.jsonbefore first install
