When you copy this template into a real repository, some DevOps values must be updated.
Review:
- Node version
- package scope in
setup-node - publish strategy
- tag naming conventions
Review:
- package scope in
setup-node - release asset names
- whether you want GitHub Packages, npmjs or another registry
Review:
namepublishConfig.registrybin- description and metadata
If you publish to GitHub Packages, the scope usually matches your GitHub user or organization.
Example:
"name": "@your-user/cli-example"And in workflows:
scope: "@your-user"For GitHub Packages:
"publishConfig": {
"registry": "https://npm.pkg.github.com"
}The stable workflow currently reacts to tags like:
v1.0.0
If your team uses another convention, update the workflow trigger.
- preview publish may fail
- stable publish may go to the wrong registry
- install commands in the docs may be wrong
- binary name may not match your final CLI
- scope in
.npmrcmay not match the real package - the workflow may keep pointing to an example package name