Adds additional scripts to ensure properly updated dist prior to release.
Before
Library is not guaranteed to execute a build step to properly update dist directory prior to deployment; as a result, some libraries include the prior release in their dist folder.
After
We include both a prepublishOnly step to ensure that the library executes a build prior to deploying a release.
Commit-Lint commands
You can trigger Commit-Lint actions by commenting on this PR:
- `@Commit-Lint merge patch` will merge dependabot PR on "patch" versions (X.X.Y - Y change)
- `@Commit-Lint merge minor` will merge dependabot PR on "minor" versions (X.Y.Y - Y change)
- `@Commit-Lint merge major` will merge dependabot PR on "major" versions (Y.Y.Y - Y change)
- `@Commit-Lint merge disable` will desactivate merge dependabot PR
- `@Commit-Lint review` will approve dependabot PR
- `@Commit-Lint stop review` will stop approve dependabot PR
Adds additional scripts to ensure properly updated
dist
prior to release.Before
Library is not guaranteed to execute a
build
step to properly updatedist
directory prior to deployment; as a result, some libraries include the prior release in theirdist
folder.After
We include both a
prepublishOnly
step to ensure that the library executes a build prior to deploying a release.