@doccov/cli 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +330 -838
- package/dist/config/index.d.ts +2 -20
- package/package.json +3 -3
package/dist/config/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import { CheckConfig, DocCovConfig, DocsConfig, LintRulesConfig } from "@doccov/sdk";
|
|
2
3
|
declare const stringList: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
3
4
|
/**
|
|
4
5
|
* Docs configuration schema
|
|
@@ -32,26 +33,7 @@ declare const docCovConfigSchema: z.ZodObject<{
|
|
|
32
33
|
lint: z.ZodOptional<typeof lintConfigSchema>
|
|
33
34
|
}>;
|
|
34
35
|
type DocCovConfigInput = z.infer<typeof docCovConfigSchema>;
|
|
35
|
-
|
|
36
|
-
include?: string[];
|
|
37
|
-
exclude?: string[];
|
|
38
|
-
}
|
|
39
|
-
interface CheckConfig {
|
|
40
|
-
lint?: boolean;
|
|
41
|
-
typecheck?: boolean;
|
|
42
|
-
exec?: boolean;
|
|
43
|
-
}
|
|
44
|
-
interface LintRulesConfig {
|
|
45
|
-
rules?: Record<string, "error" | "warn" | "off">;
|
|
46
|
-
}
|
|
47
|
-
interface NormalizedDocCovConfig {
|
|
48
|
-
include?: string[];
|
|
49
|
-
exclude?: string[];
|
|
50
|
-
plugins?: unknown[];
|
|
51
|
-
docs?: DocsConfig;
|
|
52
|
-
check?: CheckConfig;
|
|
53
|
-
lint?: LintRulesConfig;
|
|
54
|
-
}
|
|
36
|
+
type NormalizedDocCovConfig = DocCovConfig;
|
|
55
37
|
declare const DOCCOV_CONFIG_FILENAMES: readonly ["doccov.config.ts", "doccov.config.mts", "doccov.config.cts", "doccov.config.js", "doccov.config.mjs", "doccov.config.cjs"];
|
|
56
38
|
interface LoadedDocCovConfig extends NormalizedDocCovConfig {
|
|
57
39
|
filePath: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@doccov/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "DocCov CLI - Documentation coverage and drift detection for TypeScript",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"@ai-sdk/anthropic": "^1.0.0",
|
|
50
50
|
"@ai-sdk/openai": "^1.0.0",
|
|
51
51
|
"@inquirer/prompts": "^7.8.0",
|
|
52
|
-
"@doccov/sdk": "^0.
|
|
53
|
-
"@openpkg-ts/spec": "^0.
|
|
52
|
+
"@doccov/sdk": "^0.7.0",
|
|
53
|
+
"@openpkg-ts/spec": "^0.5.0",
|
|
54
54
|
"ai": "^4.0.0",
|
|
55
55
|
"chalk": "^5.4.1",
|
|
56
56
|
"commander": "^14.0.0",
|