FOUR SDK / V1.0.0

Development

sh
npm ci
npm run format
npm run lint
npm run typecheck
npm test
npm run coverage
npm run build
npm run examples
npm run consumer
npm run verify

CI runs:

  • Formatting

  • Linting

  • Strict type checking

  • Tests

  • 90% minimum line, statement, function, and branch coverage

  • Production build

  • Offline examples

  • Temporary ESM, CommonJS, and TypeScript consumer installation

  • Package inspection on Node.js 20, 22, and 24

consumer creates the package tarball, installs it in an isolated temporary project, verifies imports and declarations, checks packed paths, and cleans up the temporary project. Installation prefers cached dependencies but can access the npm registry when the cache is incomplete. The local examples and consumer runtime checks require no API key or backend access.

sh
npm pack --dry-run

This rebuilds through prepack and displays the package allowlist.

Published packages contain only:

  • Built JavaScript

  • Type declarations

  • Source maps

  • README

  • License

  • Security policy

  • Changelog

  • Package metadata

Tests, development configuration, credentials, and development dependencies are not included.

Before release, replace owner metadata, license information, and security contact details. Confirm the backend contract and review provenance configuration.

This repository never publishes automatically.