Thanks for your interest in contributing to @mannisto/astro-metadata!
Clone the repo and install dependencies:
git clone https://github.com/eremannisto/astro-metadata.git
cd astro-metadata
pnpm install
pnpm playwright install chromiumpnpm test:unit # Unit tests
pnpm test:e2e # E2E tests
pnpm test:all # All testspnpm check # Check for issues
pnpm format # Auto-fix formattingAll PRs must pass pnpm check — enforced via GitHub Actions.
astro-metadata/
src/
components
lib/
tests/
e2e/
components/
fixtures/
unit/
metadata.test.ts
scripts/
init.sh
index.ts
playwright.config.ts
vitest.config.ts
biome.json
prettier.config.mjs
- Create a feature branch from
main - Make your changes
- Run
pnpm checkandpnpm test:all - Submit a PR with a clear description
- TypeScript for all source files
- Follow existing patterns
- Write tests for new features
- Keep components focused and composable