mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
f5b030b4eb
- 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
532 B
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 fordev/mainbranches only when theme files change - prod: uses the version from
package.json, also cleans up thenextVersionfield if present