Bun + Npm + Typescript + Commit / Release Pipeline
This package contains < a template for devoloping for npm packages > for INVERTER. Learn more about INVERTER on (https://inverter.network).
Check out the Changelog to see what changed in the last releases.
Install Bun ( bun is used for testing for primitives no bun is needed ):
# Supported on macOS, Linux, and WSL
curl -fsSL https://bun.sh/install | bash
# Upgrade Bun every once in a while
bun upgrage
Install dependencies:
bun add @inverter-network/<pkg_name>
or
npm install @inverter-network/<pkg_name>
bun install
bun watch
For the Maintainer: Add NPM_TOKEN to the GitHub Secrets.
- PR with changes
- Merge PR into main
- Checkout main
git pull
bun release: '' | alpha | beta
optionally add-- --release-as minor | major
- Make sure everything looks good (e.g. in CHANGELOG.md)
- Lastly run
bun release:pub
- Done
This package contains < a template for devoloping for npm packages > for INVERTER projects.