mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-04 16:13:23 +00:00
- Linting/format - Replace ESLint/Prettier with Biome; remove old configs; add `biome.json`; update scripts - Tailwind-friendly `.stylelintrc.yaml`; Stylelint and Biome pass - Enable Biome across `modules/**`; prune legacy JS globals; ignore oversized `devicon.json` - Code fixes - `hb-theme.js`: avoid assignment-in-expressions; clearer dataset updates - `hugoblox-slides.js`: fix inner var scope (var → let); apply formatting - CI/CD - Split lint/build workflows; add path filters; Node via Corepack (pnpm from package.json) - Hugo pinned to env `HUGO_VERSION`; add consistency check vs `starters/academic-cv/hugoblox.yaml` - Nightly starters matrix build (academic-cv, landing-page); CodeQL weekly; resource caches - Workflows/Community - Greeter: switch to `pull_request_target`; add Contributor Guide to PR message - PR labeler for path-based labels - Repo policies/docs - `CODEOWNERS` for `@gcushen` - `SECURITY.md`, `SUPPORT.md` - Documented branch protection in `.github/settings.yml` - Move `CODE_OF_CONDUCT.md` to `.github/` - docs(zh): update `README.zh.md` translation Notes: - pnpm is sourced from `package.json: packageManager` via Corepack; no hard-coded pnpm versions in CI.
50 lines
1.6 KiB
JSON
50 lines
1.6 KiB
JSON
{
|
|
"name": "hugo-blox-builder",
|
|
"version": "1.0.0",
|
|
"description": "The Page Builder for Hugo",
|
|
"author": "George Cushen",
|
|
"license": "MIT",
|
|
"packageManager": "pnpm@10.14.0",
|
|
"bugs": {
|
|
"url": "https://github.com/HugoBlox/hugo-blox-builder/issues"
|
|
},
|
|
"homepage": "https://hugoblox.com",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/HugoBlox/hugo-blox-builder.git"
|
|
},
|
|
"dependencies": {
|
|
"katex": "^0.16.9",
|
|
"medium-zoom": "^1.0.8",
|
|
"mermaid": "^10.6.0",
|
|
"markmap-autoloader": "^0.15.4",
|
|
"alpinejs": "^3.13.10",
|
|
"plotly.js": "^2.27.0",
|
|
"rollup-plugin-delete": "^2.0.0",
|
|
"vite": "^7.1.2",
|
|
"vite-hugo-plugin": "^3.1.0",
|
|
"vite-plugin-static-copy": "^3.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^1.9.4",
|
|
"stylelint": "14.8.2",
|
|
"stylelint-config-standard": "~25.0.0",
|
|
"stylelint-scss": "~4.2.0"
|
|
},
|
|
"scripts": {
|
|
"prod": "scripts/view-starter-prod.sh",
|
|
"dev": "scripts/view-starter-dev.sh",
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"lint": "pnpm run lint:code && pnpm run lint:style",
|
|
"lint:code": "biome check --reporter=summary .",
|
|
"lint:code:fix": "biome check --write .",
|
|
"lint:style": "stylelint '**/*.css'",
|
|
"lint:style:fix": "stylelint '**/*.css' --fix",
|
|
"format": "pnpm run lint:code:fix && pnpm run lint:style:fix",
|
|
"update:starters": "poetry run python ./scripts/update.py",
|
|
"vendor:libs": "vite build --config vite.config.js",
|
|
"vendor:libs:watch": "vite build --config vite.config.js --watch"
|
|
},
|
|
"browserslist": "> 1%"
|
|
}
|