Pull requests are welcome! For bigger changes, consider opening an issue first to discuss the approach.
Before opening a PR, run:
pnpm install
pnpm fix # lint & format
pnpm check # lint, tests, build and bundle size budgetsBrowser compatibility tests (*.browser.test.ts) run in Chromium, Firefox and WebKit via
Vitest browser mode. To run them locally:
pnpm exec playwright install chromium firefox webkit # once
pnpm test:browserIf your change affects users, add an entry to the Unreleased section of
packages/typed-binary/CHANGELOG.md.
- Bump
versionin bothpackages/typed-binary/package.jsonandpackages/typed-binary/jsr.json, and rename the changelog'sUnreleasedsection to that version. Commit it as⬆️: vX.Y.Z. - Create a GitHub release with a
vX.Y.Ztag. Publishing it triggers the npm and JSR workflows. Versions containingalpha(e.g.4.4.0-alpha.0) are published to npm under thealphatag.