patch
Update @doccov/sdk dependency to include monorepo entry point path fix
Every release, straight from the changesets. Newest first.
Update @doccov/sdk dependency to include monorepo entry point path fix
@openpkg-ts/spec
Breaking (pre-1.0): Restructured spec types to move coverage metadata to an enrichment layer:
docs field from SpecExport and OpenPkg types (now provided via SDK enrichment)SpecDocsMetadata.missing from SpecDocSignal[] to string[] (now uses rule IDs)DriftType as a standalone exported typeDriftCategory type with three categories: structural, semantic, exampleDRIFT_CATEGORIES mapping, DRIFT_CATEGORY_LABELS, and DRIFT_CATEGORY_DESCRIPTIONS constants for categorizing and displaying drift issues@doccov/sdk
Breaking (pre-1.0): Replaced the lint module with a new quality rules engine and added spec-level caching:
lint module (LintConfig, LintRule, lintExport, lintExports, etc.)quality module with a flexible rules-based engine:
QualityRule, QualityViolation, QualityConfig typesevaluateQuality(), evaluateExportQuality() functionsCORE_RULES, STYLE_RULES, BUILTIN_RULEScache module for spec-level caching:
loadSpecCache(), saveSpecCache(), validateSpecCache()hashFile(), hashFiles(), hashString() utilitiesenrichSpec() functionEnrichedExport, EnrichedOpenPkg, EnrichedDocsMetadata typesgenerateReport(), generateReportFromEnriched()DocCovReport, CoverageSummary, DriftReport typesvalidateExamples() functionparseExamplesFlag(), shouldValidate() utilitiesExampleValidationResult, ExampleValidationOptions types@doccov/cli
Breaking (pre-1.0): Revamped commands for better UX and added multi-format reporting:
generate command to spec (generates OpenPkg spec files)info command for quick package summary (exports, coverage, drift at a glance)check command:
--require-examples, --exec, --no-lint, --no-typecheck, --ignore-drift--examples [mode] (presence, typecheck, run), --max-drift <percentage>, --format <format>, -o/--output <file>, --stdout, --no-cache.doccov/ directory by default--no-cache to bypass)consolidate cli by removing lint, report, and typecheck commands (now in SDK). simplify check, generate, and scan commands to use unified SDK modules.
update command implementations and config
feat: add lint and typechecking commands