After cloning this template repository, complete these steps to customize it for your project.
- Update
sfdx-project.json:- Change package name from "Package Name Lib" to your package name
- Update package version and versionName as needed
- Update
package.json:- Change
namefromsalesforce-repoto your project name - Update
descriptionto describe your project
- Change
- Update
website/.vitepress/config.mts:- Change
titlefrom "Salesforce Template" to your project name - Update
descriptionto describe your project - Update
baseURL to match your repo name (e.g.,/your-repo-name/) - Update
sitemap.hostnameto your documentation URL - Configure Google Tag Manager (currently commented out):
- Get your GTM ID from Google Tag Manager
- Uncomment GTM script tags in
headsection - Replace
YOUR-GTM-IDwith your actual GTM ID
- Update
socialLinksGitHub URL to your repository
- Change
- Go to repository Settings → Pages
- Set Source to "GitHub Actions"
- Save settings
- For Private repositories only:
- Add
SFDX_AUTH_URL_DEVHUBsecret - Add
CODECOV_TOKENsecret
- Add
- Add project logo
- Update LICENSE file if needed (currently MIT)
- Configure Dependabot for dependency updates:
- Create
.github/dependabot.yml
- Create
- Add CODEOWNERS file for automatic PR review assignments:
- Create
.github/CODEOWNERS
- Create
- Set up branch protection rules:
- Go to Settings → Branches → Add rule
- Protect
mainbranch - Require PR reviews
- Require status checks
- Update issue templates
.github/ISSUE_TEMPLATE/feature_request.md - update pull request template
.github/PULL_REQUEST_TEMPLATE.md
- Add CHANGELOG.md for version tracking
- Settings → Pages: Enable GitHub Actions deployment
- Settings → Secrets: Add
SFDX_AUTH_URL_DEVHUBandCODECOV_TOKEN - Settings → Branches: Set up branch protection (optional but recommended)
Note: Once you've completed this checklist, delete this file and commit your changes.