mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 23:38:56 +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
12 lines
469 B
Markdown
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)
|