Files
Cell f5b030b4eb chore(packages): replace helpers with standalone chroma-lexers and enrich shared
- Replace helpers dispatcher pattern with standalone chroma-lexers package
- Add runCommand, fromRoot, consola re-export to shared
- Update versioning and integration to use shared utilities
- Shorten dev version format: base36 timestamp, no hash
- Rename eslint.config.js to eslint.config.ts (add jiti)
- Add README.md to each package
2026-06-11 10:35:10 +08:00

532 B

@hugo-fixit/versioning

Updates the FixIt version string in layouts/_partials/init/index.html.

Usage

pnpm -F versioning start dev   # Development version (pre-commit hook)
pnpm -F versioning start prod  # Production version (release)

How it works

  • dev: builds a version like v0.3.21-mq7veaoa (next patch + base36 timestamp), runs on pre-commit for dev/main branches only when theme files change
  • prod: uses the version from package.json, also cleans up the nextVersion field if present