Distribution package for recommended LLM configurations for the Whisper App.
pnpm install
pnpm buildThe build process:
- Generates
src/version.tswith the current package version - Generates
cards.jsonfrom source data - Compiles TypeScript
- Copies artifacts to
dist/
pnpm test # `pnpm build` must be called first before `pnpm test`pnpm lintThis package uses semantic-release for automated versioning and releases.
Use conventional commits to trigger releases:
feat:- New feature (minor version bump: 1.0.0 → 1.1.0)fix:- Bug fix (patch version bump: 1.0.0 → 1.0.1)perf:- Performance improvement (patch)refactor:- Code refactoring (patch)docs:- Documentation only (no release)chore:- Maintenance tasks (no release)BREAKING CHANGE:- Breaking change (major version bump: 1.0.0 → 2.0.0)fix!:- Breaking change when presence of[prefix]!: ...(major version bump: 1.0.0 → 2.0.0)feat!:- Breaking change when presence of[prefix]!: ...(major version bump: 1.0.0 → 2.0.0)
-
CI (
.github/workflows/ci.yml) - Runs on PRs and non-main branches- Build, lint, and test
-
Release (
.github/workflows/release.yml) - Runs on main branch- Lint and test (with pre-bump version)
- Runs semantic-release to:
- Analyze commits
- Bump version in package.json
- Rebuild with new version (via
@semantic-release/exec) - Commit package.json, CHANGELOG.md, and cards.json
- Create git tag (e.g., v1.0.1)
- Create GitHub Release
Important: The build runs twice - once for tests (pre-bump) and once during semantic-release (post-bump) to ensure built artifacts match the released version.
Each release creates a git tag, and the built package references that version:
- Package version:
1.0.0 - Default config URL:
https://avatechnologies.org/whisper-llm-cards/refs/tags/v1.0.0/cards.json
This ensures consuming applications always fetch the config matching their installed package version.
MIT