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
This commit is contained in:
Cell
2026-06-10 17:53:58 +08:00
parent 03ca90b49f
commit f5b030b4eb
27 changed files with 269 additions and 211 deletions
+3 -3
View File
@@ -121,10 +121,10 @@ FixIt/
│ ├── _partials/ # Reusable template components
│ └── _shortcodes/ # Custom shortcodes
├── packages/ # Theme-related packages (pnpm workspaces)
│ ├── shared/ # Shared utilities
│ ├── versioning/ # Version management (pre-commit)
│ ├── chroma-lexers/ # Chroma lexer SCSS map generator
│ ├── integration/ # Post-build site merging
── helpers/ # Code generation helpers
── shared/ # Shared utilities
│ └── versioning/ # Version management (pre-commit)
├── static/ # Static files
├── hugo.toml # Default theme configuration
└── package.json # npm scripts and dependencies