/** * Validate Checklist Docs Executor * * Validates ONLY the pr-gate `checklists[]` block of webpieces.config.json, in isolation: * - every `docs:` path exists (a checklist pointing at a deleted/typo'd doc silently never fires) * - every `contentPatterns` regex compiles * - `id`s are unique and non-empty * - `blockMessage` is present on every BLOCK checklist * * This is the SAME logic loadAndValidate runs, but as its own target so a bad checklist config fails as * `architecture:validate-checklist-docs` — with a clear owner — instead of surfacing as an unrelated * validator's banner because the existence check rode along inside loadAndValidate. Consumers can also * point a required CI check at this target. * * Usage: nx run architecture:validate-checklist-docs */ import type { ExecutorContext } from '@nx/devkit'; export interface ValidateChecklistDocsOptions { placeholder?: never; } export interface ExecutorResult { success: boolean; } export default function runExecutor(_nxOptions: ValidateChecklistDocsOptions, context: ExecutorContext): Promise;