This checklist will help you prepare your repository for public release on GitHub.
The following items have been set up for you:
- README.md - Comprehensive documentation with installation, usage, and contribution guidelines
- LICENSE - MIT License file added
- CONTRIBUTING.md - Contribution guidelines for potential contributors
- SECURITY.md - Security policy and vulnerability reporting process
- CHANGELOG.md - Version history and release notes
- .gitignore - Comprehensive ignore file for Salesforce projects
- .npmrc - Prevents accidental npm publishing
- GitHub Issue Templates - Bug report and feature request templates
- Pull Request Template - Standardized PR template
- Git Repository - Initialized with 'main' branch
- Package.json - Updated with proper metadata and marked as private
- VS Code Configuration - Extensions and settings included for contributors
Before pushing to GitHub, please complete these steps:
- README.md: Replace
yourusernamein the repository URL with your actual GitHub username - package.json:
- Update the
repository.urlfield with your actual GitHub username - Add your name/email to the
authorfield if desired
- Update the
- LICENSE: Add your name to the copyright line if desired
- Review all files to ensure no API keys, passwords, or sensitive data
- Check that no personal email addresses or internal URLs are exposed
- Verify all Salesforce org credentials are excluded
Run these commands to ensure code quality:
# Install dependencies
npm install
# Run linter
npm run lint
# Format code
npm run prettier
# Run tests (if you have tests written)
npm run test:unit# Review staged files
git status
# Commit all files
git commit -m "Initial commit: LWC Sub-Page Navigation v1.0.0"- Go to https://github.com/new
- Create a new repository named
lwcSubPageNavigation - DO NOT initialize with README, license, or .gitignore (we already have these)
- Set repository visibility to Public
# Add your GitHub repository as remote (replace with your actual URL)
git remote add origin https://github.com/yourusername/lwcSubPageNavigation.git
# Push to GitHub
git push -u origin mainOnce pushed, configure these settings on GitHub:
- About section: Add description and topics (salesforce, lwc, experience-cloud, etc.)
- Issues: Enable issues for bug reports and feature requests
- Projects: Consider creating a project board for tracking enhancements
- Wiki: Optional - enable if you want extended documentation
- Branch Protection: Consider protecting the
mainbranch- Require pull request reviews before merging
- Require status checks to pass before merging
Consider adding these badges to your README.md:
[](https://opensource.org/licenses/MIT)
[](https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/)After pushing:
- Go to your repository's "Releases" page
- Click "Create a new release"
- Tag:
v1.0.0 - Title:
v1.0.0 - Initial Release - Copy content from CHANGELOG.md
- Publish release
- Share on LinkedIn, Twitter, or relevant Salesforce communities
- Consider posting in Salesforce Trailblazer Community
- Add to awesome-salesforce lists if applicable
- GitHub Guide: Open Source Licensing
- How to Write a Great README
- Semantic Versioning
- Keep a Changelog
Once you've completed all the action items above, your repository will be ready for public contribution!
Good luck with your open source project! 🚀