chore: prepare package for automated releases

This commit is contained in:
Erik Kotsiuba
2026-04-19 13:39:32 +02:00
parent 884c5fcf0d
commit c5f74a911e
9 changed files with 2025 additions and 134 deletions
+73
View File
@@ -0,0 +1,73 @@
# Contributing
Thanks for contributing to `@eko24ive/pi-ask`.
## Development setup
Requirements:
- Node.js `22.19.0`
- pnpm `10.33.0`
Install dependencies:
```bash
pnpm install
```
Run the extension locally:
```bash
pi -e ./src/index.ts
```
## Validation
Before opening a pull request, run:
```bash
pnpm format
pnpm typecheck
pnpm test
```
You can also run the repo-wide check:
```bash
pnpm check
```
## Commit messages
This repo uses conventional commits and semantic-release.
Recommended flow:
```bash
pnpm commit
```
Examples:
- `feat: add preview question footer hint`
- `fix: preserve option notes when toggling selection`
- `docs: clarify npm install flow`
Conventional commit types matter because releases are generated automatically from commit history.
## Scope of changes
Please keep changes focused:
- state logic in plain TypeScript modules
- pi/TUI wiring thin
- tests updated when behavior changes materially
- docs updated when public behavior or usage changes materially
## Pull requests
A good pull request should include:
- a clear summary of the change
- tests for behavior changes
- docs updates when user-facing behavior changes