Contributing
Development setup
Section titled “Development setup”-
Clone the repository
Terminal window git clone https://github.com/yourusername/haevn.gitcd haevn -
Install dependencies
Terminal window pnpm install -
Build the extension
Terminal window pnpm run build -
Load in Chrome
- Open
chrome://extensions - Enable Developer mode
- Click Load unpacked and select the
dist/folder
- Open
-
Start developing
Make code changes, rebuild with
pnpm run build, then reload the extension.
Development workflow
Section titled “Development workflow”# Buildpnpm run build
# Run testspnpm test
# Lintpnpm run lintpnpm run lint:fix # auto-fix
# Reload the extension after building# (run from any page with the extension active)haevnDebug.reload()Code style
Section titled “Code style”HAEVN uses Biome for linting and formatting:
- 2-space indentation, 100 character line width
- Double quotes, trailing commas
- camelCase for functions/variables, PascalCase for components/types
Run pnpm run lint:fix before committing to auto-fix any issues.
Submitting a PR
Section titled “Submitting a PR”- Fork the repository and create a branch from
main - Make your changes following the conventions above
- Add or update tests where applicable
- Run
pnpm testandpnpm run lint— both must pass - Open a PR with a clear description of what changed and why
For new platform providers, see Adding Providers.