mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 07:18:57 +00:00
03ca90b49f
- Add `packages/helpers` with CLI dispatcher pattern for code generation - Add `chroma-lexers` helper that fetches lexer definitions from alecthomas/chroma - Rename `$code-type-map` to `$chroma-lexers`, `_code-type.scss` to `_chroma-lexers.scss` - Fix `fi-var` and `set-fi-var` to preserve quotes for string fallbacks - Add `capitalize` utility to `packages/shared` - Replace `console.*` with `consola` in packages - Add `pnpm gen:lexers` script and CI workflow for auto-regeneration - Update CLAUDE.md and CONTRIBUTING.md
66 lines
1.9 KiB
JSON
66 lines
1.9 KiB
JSON
{
|
|
"name": "@hugo-fixit/core",
|
|
"type": "module",
|
|
"version": "0.4.5",
|
|
"nextVersion": "1.0.0",
|
|
"private": true,
|
|
"packageManager": "pnpm@11.4.0",
|
|
"description": "Hugo FixIt core theme component source files",
|
|
"author": {
|
|
"name": "Lruihao",
|
|
"email": "1024@lruihao.cn",
|
|
"url": "https://lruihao.cn"
|
|
},
|
|
"license": "MIT",
|
|
"homepage": "https://fixit.lruihao.cn",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/hugo-fixit/FixIt.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/hugo-fixit/FixIt/issues"
|
|
},
|
|
"keywords": [
|
|
"hugo",
|
|
"theme",
|
|
"fixit"
|
|
],
|
|
"engines": {
|
|
"node": ">=22"
|
|
},
|
|
"scripts": {
|
|
"dev:demo": "pnpm -F demo dev",
|
|
"dev:test": "pnpm -F test dev",
|
|
"dev:docs": "hugo server --source=../fixit-docs -D --disableFastRender --navigateToChanged --ignoreCache -O",
|
|
"build:demo": "pnpm -F demo build",
|
|
"build:test": "pnpm -F test build",
|
|
"build": "concurrently 'pnpm build:demo' 'pnpm build:test' && pnpm -F integration start",
|
|
"clean": "rm -rf public resources/_gen apps/*/public apps/*/resources/_gen",
|
|
"preview": "serve public",
|
|
"lint": "eslint --cache .",
|
|
"typecheck": "tsc --noEmit",
|
|
"version": "pnpm -F versioning start prod",
|
|
"changelog": "auto-changelog-plus --starting-date 2021-12-18",
|
|
"gen:lexers": "pnpm -F helpers start chroma-lexers",
|
|
"prepare": "simple-git-hooks"
|
|
},
|
|
"devDependencies": {
|
|
"@antfu/eslint-config": "^9.0.0",
|
|
"@types/node": "^25.7.0",
|
|
"auto-changelog-plus": "^1.2.4",
|
|
"concurrently": "^9.2.1",
|
|
"eslint": "^10.3.0",
|
|
"lint-staged": "^17.0.4",
|
|
"serve": "^14.2.6",
|
|
"simple-git-hooks": "^2.13.1",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "^6.0.3"
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "pnpm -F versioning start dev && pnpm typecheck && pnpm lint-staged"
|
|
},
|
|
"lint-staged": {
|
|
"*": "eslint --fix"
|
|
}
|
|
}
|