Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 767 Bytes

CONTRIBUTING.md

File metadata and controls

14 lines (11 loc) · 767 Bytes

Contributing

npm install                   # TypeScript, for the generated types (prepare)
npm test                      # the package's tests, Node alone
npm run typecheck             # the JSDoc, and the types a TypeScript user sees
cd examples/astro-i18n
npm install && npm run build  # a real Astro site built with your change
SITE_BASE=/docs npm run build # the same site under a base path

CI runs both on every pull request.

Commit messages follow Conventional Commits: fix: releases a patch, feat: a minor version. While the package is 0.x, a breaking change (feat!: or a BREAKING CHANGE: footer) also releases a minor version, not 1.0. Every merge to main releases what its commits call for.