Skip to content

v0.4.4: fix hardcoded version + brew lock

Choose a tag to compare

@Railly Railly released this 10 Jul 04:51
· 26 commits to main since this release
v0.4.4
f7188d5

Bug you hit

bun add -g @crafter/trx@latest kept returning 0.4.1 even after 0.4.3 npm publish.

Root causes:

  1. Hardcoded version in bin/trx.ts: .version("0.4.1") never bumped. Fixed: now import pkg from "../package.json" with { type: "json" } -> dynamic.

  2. Bun minimumReleaseAge in ~/.bunfig.toml: minimumReleaseAge = 172800 (2 days) blocks fresh publishes. Bun cache says blocked by minimum-release-age: 172800 seconds. Set to 0 or remove while developing, or use NPM_CONFIG_MINIMUM_RELEASE_AGE=0 bun add -g @crafter/trx@0.4.4 --force.

  3. Original brew lock (from 0.4.3): parallel brew install -> lockf: 200 already locked -> false Missing deps. Now sequential + verify + retry.

Verified now:

trx --version # -> 0.4.4
trx doctor --output json # -> healthy true

npm: https://www.npmjs.com/package/@crafter/trx/v/0.4.4