Skip to content

Latest commit

 

History

History
61 lines (44 loc) · 1.81 KB

File metadata and controls

61 lines (44 loc) · 1.81 KB

Contributing

Thanks for helping improve Coaction. This guide is the short path for opening a useful issue or pull request.

Before You Start

Development Setup

Coaction uses pnpm workspaces.

corepack enable
pnpm install

The repository requires Node.js 22.14.0 or newer. CI currently exercises Node.js 22 and 24 for the main workflow.

Common Commands

pnpm lint
pnpm typecheck
pnpm build
pnpm test
pnpm test:e2e:browser
pnpm test:coverage

Use pnpm check before larger pull requests. It runs quality checks, type checking, builds, and tests.

Pull Requests

  • Keep changes focused and prefer one behavior change per pull request.
  • Add or update tests for changed runtime behavior.
  • Update package README files when public API or compatibility behavior changes.
  • Update the support matrix when an official guarantee expands or narrows.
  • Add a changeset for user-facing package changes.

PR CI is intentionally gated. A maintainer adds the run-ci label when a pull request is ready for CI. After the label is present, later pushes to the same PR continue to run the PR workflow.

Adapter Changes

Official adapters should keep their contract explicit:

  • binder-backed adapters bind a whole store, not a slice
  • client mode must not invent a second write authority
  • package-specific quirks belong in package tests and docs
  • shared guarantees must be represented by contract tests

See docs/contributing/adapter-guide.md for the detailed adapter checklist.