Shared typescript utility methods and types for AtB products.
pnpm add @atb-as/utils
In order to test changes to this package without making a release, use pnpm add file:<path-to-utils> (e.g. pnpm add file:../utils) in the project that depends on it.
It will use the built version of the package, so make sure to run pnpm build when setting it up, and whenever you make changes.
When you're done, set the package version in package.json back to the previous version.
- Merge a PR to main, where the commit message follows the conventional commits specification.
- The Github action
release-please-actionwill create a PR to update the package version and changelog.
featwill be a minor release.fixwill be a patch release.- Adding
!after the prefix (e.g.feat!) means it is a breaking change, and will be a major release. This includes any changes to the public API that requires users of the package to update any code. - Other prefixes such as
choreorrefactorwill not trigger a release.
- Merge the release PR to main to trigger a NPM release.
Note
In case you want to create a release with a different version number than the one suggested by release-please, you can make an empty commit on master with commit message on this format:
chore: release v1.2.3
release-as: 1.2.3
For more details, see release-please-action.
EUPL-1.2