import { ComposedPreset } from "@theholocron/cli"; //#region configs/node-docs.d.ts type NodeDocsPreset = ComposedPreset; type NodeDocsSitePreset = ComposedPreset; /** * Preset for theholocron repos that are TypeScript libraries AND publish a * documentation site (e.g. configs, utils, holocron, clients). * * Includes the "audit / Conclusion" check in `extraRequiredChecks` so branch * protection works for repos that add the audit workflow explicitly. The * workflow itself is intentionally left repo-specific — add it with your own * options: * tasks: [...preset.tasks, { name: "audit", required: true }, ...] * // or with overrides: * tasks: [...preset.tasks, { name: "audit", required: true, with: { "run-knip": true } }, ...] * * For docs-only sites without TypeScript source, use nodeDocsSite() instead. * * @example * const preset = nodeDocs(); * export default defineConfig({ * ...preset, * description: "...", * homepage: "https://docs.theholocron.dev/my-lib/", * repo: { ...preset.repo, name: "theholocron/my-lib", topics: ["typescript"] }, * tasks: [...preset.tasks, { name: "audit", required: true }, { name: "release", with: { "run-build": true } }, "sync"], * providers: { ...preset.providers, secrets: "github" }, * }); */ declare function nodeDocs(): NodeDocsPreset; /** * Preset for theholocron repos that are documentation-only sites with no * TypeScript source to check (e.g. skills, themes). No typecheck, no audit. * * @example * const preset = nodeDocsSite(); * export default defineConfig({ * ...preset, * description: "...", * repo: { ...preset.repo, name: "theholocron/my-site" }, * tasks: [...preset.tasks, { name: "release", with: { "run-build": false } }, "sync"], * providers: { ...preset.providers, secrets: "github" }, * }); */ declare function nodeDocsSite(): NodeDocsSitePreset; //#endregion export { NodeDocsPreset, NodeDocsSitePreset, nodeDocs, nodeDocsSite };