Skip to content

Maintain the repository and prepare a release

This page is for AelionSDK contributors. Application integrators can start with Installation and configuration.

Use the Node and pnpm versions declared by the repository, enable Corepack, install from the frozen lockfile, and run the quickstart before changing engine code.

CommandPurpose
corepack pnpm run ciComplete local quality gate
corepack pnpm testUnit and integration tests
corepack pnpm docs:checkMarkdown, locale, release-doc, and package README checks
corepack pnpm docs:buildTypeDoc and Starlight production build
corepack pnpm release:version:checkManifest and release-document version sync
corepack pnpm release:dry-runPack and inspect all 13 public packages

Document input, output, ownership, thread, revision, cancellation, error codes, compatibility, and resource limits before implementation.

Project/Schema changes must reach builders, validation, migration, transactions, Render IR, preview/player/export, public types, examples, and docs as applicable. Avoid implementing the same semantic rule independently in preview and export.

Test success plus invalid input, unsupported capability, cancellation at each asynchronous stage, partial sink cleanup, worker failure, project replacement, and repeated disposal.

Use focused unit tests for pure logic, schema/property tests for data boundaries, browser tests for Web APIs and lifecycle, golden tests for rendering/materials, long-form tests for resources, and package dry-runs for distribution.

  • Project/Transaction: schema, canonicalization, ownership, migration, revision, undo.
  • Render/Material: shared IR, backend parity, budgets, trust, golden output.
  • Media/Audio/Export: timestamps, range/CORS, ownership, worklet/worker, sink terminal states.
  • Public API: exports, types, API snapshot, README, migration note, package contents.

PR CI runs quality, Chromium/Firefox smoke tests, and documentation build. Nightly/release evidence adds longer matrices. All workspace packages share one version; RC breaking changes require CHANGELOG and migration documentation.

Release only from reviewed immutable source/evidence identities after CI, dry-run package inspection, Trusted Publishing/provenance configuration, registry/tag verification, and the documented five-boundary review.

Keep English and Chinese routes in one-to-one parity, update stable guides rather than adding stale status fragments, commit a README for every package, rebuild TypeDoc from a clean cache, and reduce rather than increase the API narrative-coverage baseline.