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

12 lines
469 B
Markdown

# @hugo-fixit/shared
Internal utilities shared across all `@hugo-fixit` workspace packages.
## Exports
- `workspaceRoot` — resolved path to the monorepo root
- `fromRoot(...segments)` — sugar over `path.join(workspaceRoot, ...)`
- `runCommand(cmd)` — runs a shell command and returns trimmed stdout
- `capitalize(str)` — capitalizes the first character of a string
- `consola` — re-exported logger (declared as dependency here, consumed by other packages)