This repository uses GitHub Actions for continuous integration. Contributors should replicate the CI steps locally before opening a pull request.
Before running any tests or scripts, install dependencies and build the packages:
pnpm install
pnpm build- Install dependencies with
pnpm install. - Build all packages with
pnpm build. - Verify documentation with
pnpm docs:check. - Run unit tests with
pnpm testand example tests withpnpm test:examples. - Lint the code using
pnpm lint. - Check for unused dependencies with
pnpm lint:deps.
These steps must pass before you submit your PR.
- PR titles must follow the conventional commit format and, when possible, include the affected module name. Examples:
feat(browser): add featureorfix(plugin): correct bug. - The CI matrix runs on Node.js
20.x,22.x, and24.x. Ensure your code is compatible with these versions. Node 18 is no longer supported:lerna, which backspnpm build/test/lint, requires^20.19.0 || ^22.12.0 || >=24.0.0.