import { monorepo } from "./configs/monorepo.js"; import { n as NextjsOptions, r as nextjs$1, t as nextjs } from "./nextjs-DF6ifcAm.js"; import { NodeDocsPreset, NodeDocsSitePreset, nodeDocs, nodeDocsSite } from "./configs/node-docs.js"; import { HolocronPreset as ComposedPreset$1 } from "./configs/node.js"; import { n as ReactOptions, r as react$1, t as react } from "./react-Da48S4-Q.js"; import { Capability, Capability as Capability$1, ComposedPreset, compose } from "@theholocron/cli"; //#region constants.d.ts /** Cloudflare account ID for the theholocron org. */ declare const CLOUDFLARE_ACCOUNT_ID = "9c558af98664d13fc89b7e0a0d93d5a8"; //#endregion //#region capabilities/node.d.ts /** * Base capability for all theholocron Node.js repositories. * Contributes: GitHub source/CI/issues providers, strict branch protection, * and the standard workflow set (lint, test, security, review, stale, greetings, * dependencies, bookkeeping). Does NOT include typecheck — add that separately. * The `lint` task carries the org linter list explicitly so every repo runs the * same set (a repo can override with its own `{ name: "lint", linters: [...] }`). * `lint` and `test` are marked `required` — `holocron setup` derives their * `… / Conclusion` branch-protection check contexts from the manifest. */ declare function node(): Capability$1; //#endregion //#region capabilities/typecheck.d.ts /** * Adds TypeScript type-checking to a repo. Marked `required` — `holocron setup` * derives the `Typecheck / Conclusion` branch-protection check from the manifest. * Requires: node */ declare function typecheck(): Capability$1; //#endregion //#region capabilities/docs.d.ts /** * Adds a documentation site deployed to Cloudflare Pages with PR previews. * Sets org/domain, wires Cloudflare + DNS providers, and adds the codecov * `extraRequiredChecks` (enabled for all docs repos). * Requires: node */ declare function docs(): Capability$1; //#endregion //#region capabilities/audit.d.ts interface AuditOptions { /** Enable Knip unused-export analysis (default: false). */ knip?: boolean; /** Enable Lighthouse performance audits (default: false). */ performance?: boolean; /** Path to the Lighthouse config file. */ lighthouseConfig?: string; } /** * Adds BundleWatch + optional Knip and Lighthouse auditing. Marked `required` — * `holocron setup` derives the `audit / Conclusion` branch-protection check * from the manifest. * Requires: node */ declare function audit({ knip, performance, lighthouseConfig }?: AuditOptions): Capability$1; //#endregion //#region capabilities/monorepo.d.ts /** * Adjusts a repo to be a monorepo — sets uses_external_packages: true * (workspaces pull in many deps). Compose after the base capabilities. * Requires: node * * @example * const preset = compose(node(), typecheck(), nextjs(), monorepo()); */ declare function monorepo$1(): Capability$1; //#endregion //#region capabilities/wiki.d.ts /** * Adds the Fern engineering wiki (wiki.theholocron.dev/) to a repo. * Provisions docs/wiki/{decisions,standards,specifications}/ and wires the * wiki CI workflow to publish on push to main. * * Compose with nodeDocs() for repos that have engineering content to publish: * * ```ts * const preset = compose(nodeDocs(), wiki()); * ``` */ declare function wiki(): Capability$1; //#endregion export { type AuditOptions, CLOUDFLARE_ACCOUNT_ID, type Capability, type ComposedPreset, type ComposedPreset$1 as HolocronPreset, type NextjsOptions, type NodeDocsPreset, type NodeDocsSitePreset, type ReactOptions, audit, compose, docs, monorepo, monorepo$1 as monorepoCapability, nextjs, nextjs$1 as nextjsBundle, node, nodeDocs, nodeDocsSite, react, react$1 as reactCapability, typecheck, wiki as wikiCapability };