travels3.0
Resources

Contributing

Set up the repository, make focused changes, and validate a contribution.

Thanks for improving Travels. This project values correctness, clear trade-offs, and small focused changes.

Development Setup

corepack enable
pnpm install --frozen-lockfile
pnpm run build
pnpm run test

Useful checks:

pnpm run test:types
pnpm run test:browser
pnpm run coverage
pnpm run benchmark:ci

For website changes, install the website lockfile and run its focused checks:

pnpm --dir website install --frozen-lockfile
pnpm --dir website check:content
pnpm --dir website types:check
pnpm --dir website build

Pull Request Expectations

  • Keep changes scoped to one behavior or documentation area.
  • Add tests for new public API, history invariants, persistence behavior, or bug fixes.
  • Update README/docs when behavior, compatibility, or persistence semantics change.
  • Include benchmark updates when performance claims change.
  • Avoid changing generated artifacts unless the release process requires them.
  • Regenerate the website API reference after changing exported API signatures or documentation comments.

Compatibility

See the Compatibility Policy for supported runtimes and dependency policy.

Release Process

See the Release Checklist. Releases are prepared on main, tagged manually with the package version, and published by the tag-triggered GitHub Actions workflow.

On this page