A simple wrapper for iziModal.
- Typescript (tested with 4.1.x branch, more to come)
- Update code in
src/
- Build code
- Watch:
npm run build_watch
- One time:
npm run build
- Watch:
- Create unit tests in the
test
directory. can test vianpm run test
. - Verify test coverage
>=90%
of previous step tests withnpm run cover:check
. - Committing:
git add ...
(try to break up different changes into different commits)git cz
(follow steps to define commit changes)git push
- Check to see if this qualifies as a major, minor, or patch release:
npm run changelog
- Bump the NPM version following Semantic Versioning by using one of these approaches:
- Specify major, minor, or patch and let NPM bump it:
npm version [major | minor | patch] -m "chore(release): Bump version to %s."
- Explicitly provide the version number such as 1.0.0:
npm version 1.0.0 -m "chore(release): Bump version to %s."
- Specify major, minor, or patch and let NPM bump it:
- Post version scripts will automatically run to update the version/changelog in the system then push to repo with proper tags.
- Publish:
npm publish
- Autofix lint if IDE does not:
npm run lint_auto
(this is not built into any other commands so much be setup in your own process).
- Patch:
npm version prerelease --preid=alpha -m "chore(release): Bump version to %s."
- Minor:
npm version preminor --preid=alpha -m "chore(release): Bump version to %s."
- Major:
npm version premajor --preid=alpha -m "chore(release): Bump version to %s."
- Final:
npm version #.#.# -m "chore(release): Bump version to %s."