mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-24 20:09:02 +00:00
content/docs/projects/ was gitignored and held thousands of tracked files at the same time, and every build re-mirrored it from hundreds of upstream checkouts. Only the shipping image opted out, so the image compiled the committed snapshot while a person's build compiled a fresh mirror — one local build deleted 521 committed files and modified 444 more. One mirrored upstream imports a partial mid-page, which no alias resolves, and the build failed with 54 unresolved specifiers after silently skipping 119 further pages. The site had not built in a while. The snapshot is the source: the ignore line is gone, the mirror leaves the build and becomes a refresh run on purpose and read as a diff, and the env knobs that let one command mean two different sites are deleted. The section is named in the export gate, so losing it fails rather than shipping a hole. The generator's YAML escape emitted a backslash before a colon, which is not an escape — the parser rejected the whole frontmatter block and those pages shipped with no title, icon or description.
59 lines
1.1 KiB
JSON
59 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://turbo.build/schema.json",
|
|
"globalEnv": [
|
|
"HANZO_PUBLISHABLE_KEY",
|
|
"GITHUB_APP_PRIVATE_KEY",
|
|
"GITHUB_APP_ID",
|
|
"GITHUB_TOKEN",
|
|
"GH_TOKEN",
|
|
"GH_PAT",
|
|
"DOCS_SECTION",
|
|
"GITHUB_PAGES",
|
|
"NEXT_EXPORT",
|
|
"HIPS_REPO_DIR",
|
|
"HANZO_SEARCH_BACKEND",
|
|
"HANZO_SEARCH_INDEX",
|
|
"HANZO_SEARCH_INDEX_ENDPOINT",
|
|
"HANZO_SEARCH_ADMIN_KEY"
|
|
],
|
|
"ui": "stream",
|
|
"tasks": {
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"env": [
|
|
"NEXT_EXPORT",
|
|
"GITHUB_PAGES",
|
|
"DOCS_SECTION",
|
|
"ANALYZE",
|
|
"HANZO_DOCS_*",
|
|
"HANZO_SEARCH_*"
|
|
],
|
|
"passThroughEnv": ["NODE_OPTIONS"],
|
|
"outputs": [
|
|
".output",
|
|
"public/registry",
|
|
".docs/**",
|
|
".next/**",
|
|
"!.next/cache/**",
|
|
"dist/**",
|
|
"css/generated/**",
|
|
"out",
|
|
"build",
|
|
".vercel"
|
|
]
|
|
},
|
|
"lint": {},
|
|
"types:check": {
|
|
"dependsOn": [],
|
|
"outputs": []
|
|
},
|
|
"clean": {
|
|
"cache": false
|
|
},
|
|
"dev": {
|
|
"cache": false,
|
|
"persistent": true
|
|
}
|
|
}
|
|
}
|