Contributions are currently limited to project maintainers. The public repository
provides source and documentation for consumers of @antadesign/anta.
If you are outside the maintainer group, open an issue for a bug or question.
- Read AGENTS.md, the closest scoped guide, and WRITING.md before editing. Use the repository's SSH URL to clone.
- Create a descriptive branch from
main. Keep changes offmainand submit them through a pull request. - Use
pnpm run devfrom the repository root for development. It rebuilds the workspace packages and serves the documentation site. See local servers for preview commands. - Run the checks relevant to your changes. Package changes usually need a build,
lint, type checking, and affected regression suites. Run the complete set for
broad changes. See verification and the
test guide for commands.
dist/is generated and ignored by Git. Package builds regenerate it. - Open a pull request against
main. Explain the problem, resulting behavior, and validation. Include limitations that affect review. - Request review from the owners specified in
CODEOWNERS: Fernando Oliveros (
@fernoliveros) forplot/, Pranav Srivatsa (@pranavsrivatsa) forvirtual-scroll/, and Vlad Korobov (@terpimost) for everything else. Changes spanning multiple owners require approval for each affected area. The ruleset restricts merges to its trusted bypass list. - Wait for required CI checks to pass. Follow the
human review marker rules for documentation.
The
review-docslabel is required when changed documentation retains or adds a human review marker. Delete the branch after merging.
Record changes to the published @antadesign/anta package in
CHANGELOG.md. Keep documentation-site changes in the pull request.
Follow the repository changelog scope when deciding whether
an entry belongs in a release.
- Keep JSX rendering separate from browser behavior and styles. Follow component architecture and DOM ownership.
- Use
color-mix(in oklch, ...)to adjust color alpha, as described in shared conventions. - Browser element classes use
HTMLElementBasefor imports without a DOM. CSS-only component entries do not require registration. - Follow WRITING.md for prose, source comments, and API documentation.
Vlad handles npm publishing. Follow RELEASING.md for package order and commands. If a change needs a release, mention it in the pull request.