Always run lint and tests before pushing anything:
cargo fmt --check
cargo clippy -- -D warnings
cargo testsrc/— Rust CLI source codeproviders/— JSON recipe files for each API providernpm/— npm package structure (shim + 5 platform packages)docs/— Documentation site source (GitHub Pages)homebrew/— Local copy of Homebrew formula (canonical copy lives inm2de/homebrew-tap)
When adding, removing, or changing the version field of any file in providers/, regenerate the index:
bash scripts/generate-index.shThe CI validate-recipes job checks that providers/index.json is up to date.
- Update
versioninCargo.tomland all 6npm/*/package.jsonfiles - Update
optionalDependenciesversions innpm/getapi-cli/package.json - Commit and tag:
git tag vX.Y.Z && git push origin master --tags - The release workflow handles building, GitHub Release, crates.io, npm, and Homebrew tap