Ensure that every pull request increments the package.json version for the package and that a pre-commit script is in place to enforce this. This task is to maintain consistent versioning and prevent unintentional omissions of version bumps. The pre-commit script will compare the package.json version in the current branch with the default branch and prompt the developer to increment the version if necessary.
Definition of Done
Ensure that every pull request increments the
package.jsonversion for the package and that a pre-commit script is in place to enforce this. This task is to maintain consistent versioning and prevent unintentional omissions of version bumps. The pre-commit script will compare thepackage.jsonversion in the current branch with thedefaultbranch and prompt the developer to increment the version if necessary.Definition of Done
defaultbranch. If no increment is detected, print out a suggestion to bump the version.package.json.