name: publish-current-changes description: When you are asked to publish the current work argument-hint: Optional commit message or publishing target user-invocable: true
Publish Current Changes
When to Use
- When you are asked to publish the current work.
Procedure
- Inspect the current git state and review the current changes.
- Bump the minor version in
package.json. - Create a new branch for the changes with a descriptive name based on the commit message or change summary.
- Validate before publishing by running
npm run test. - Run
npm run fixto automatically fix any linting issues. - Stage everything.
- Commit the changes and provide a detailed commit message.
- Push the current branch.
- Open a pull request on Github using
ghcli. - Update the pull request description with lots of details.
- Merge the pull request.
- Check out main and pull the latest changes to ensure the local repository is up to date.
- Use
npm publishand ask me to authenticate with npm.