Thanks for contributing to @predicatesystems/authority.
npm install
npm run typecheck
npm test
npm run build- branch from
main, - keep PRs focused and incremental,
- include tests/fixtures for behavior changes,
- keep sidecar compatibility (
/v1/authorizecontract) as default.
Before opening a PR:
npm run typecheck
npm test
npm run buildRun sidecar integration tests when you have a local running sidecar:
export SIDECAR_BASE_URL="http://127.0.0.1:8787"
npm run test:integration- npm package:
@predicatesystems/authority - release tag format:
vX.Y.Z(for examplev0.1.0) - release workflow:
.github/workflows/release.yml
Standard release flow:
- update version/changelog as needed,
- merge to
main, - push tag
vX.Y.Z, - verify GitHub Actions publish succeeds.
Manual publish path is also available through workflow dispatch with explicit
version input.
By contributing, you agree your contributions are dual-licensed under:
- MIT (
LICENSE-MIT) - Apache-2.0 (
LICENSE-APACHE)