depwire-cli 0.9.0 → 0.9.2
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/index.js
CHANGED
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
stashChanges,
|
|
28
28
|
updateFileInGraph,
|
|
29
29
|
watchProject
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-3DXWSPZL.js";
|
|
31
31
|
|
|
32
32
|
// src/index.ts
|
|
33
33
|
import { Command } from "commander";
|
|
@@ -788,7 +788,7 @@ program.command("health").description("Analyze dependency architecture health (0
|
|
|
788
788
|
process.exit(1);
|
|
789
789
|
}
|
|
790
790
|
});
|
|
791
|
-
program.command("dead-code").description("Identify dead code - symbols defined but never referenced").argument("[directory]", "Project directory to analyze (defaults to current directory or auto-detected project root)").option("--confidence <level>", "Minimum confidence level to show: high, medium, low (default: medium)", "medium").option("--json", "Output as JSON (for CI/automation)").option("--verbose", "Show detailed info for each dead symbol").option("--stats", "Show summary statistics").option("--include-tests", "Include test files in analysis").option("--include-low", "Shortcut for --confidence low").action(async (directory, options) => {
|
|
791
|
+
program.command("dead-code").description("Identify dead code - symbols defined but never referenced").argument("[directory]", "Project directory to analyze (defaults to current directory or auto-detected project root)").option("--confidence <level>", "Minimum confidence level to show: high, medium, low (default: medium)", "medium").option("--json", "Output as JSON (for CI/automation)").option("--verbose", "Show detailed info for each dead symbol").option("--stats", "Show summary statistics").option("--include-tests", "Include test files in analysis").option("--include-low", "Shortcut for --confidence low").option("--debug", "Show debug information (exclusion stats)").action(async (directory, options) => {
|
|
792
792
|
try {
|
|
793
793
|
const projectRoot = directory ? resolve(directory) : findProjectRoot();
|
|
794
794
|
const startTime = Date.now();
|
|
@@ -800,7 +800,8 @@ program.command("dead-code").description("Identify dead code - symbols defined b
|
|
|
800
800
|
includeTests: options.includeTests || false,
|
|
801
801
|
verbose: options.verbose || false,
|
|
802
802
|
stats: options.stats || false,
|
|
803
|
-
json: options.json || false
|
|
803
|
+
json: options.json || false,
|
|
804
|
+
debug: options.debug || false
|
|
804
805
|
});
|
|
805
806
|
if (options.json) {
|
|
806
807
|
console.log(JSON.stringify(report, null, 2));
|
package/dist/mcpb-entry.js
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "depwire-cli",
|
|
3
|
-
"version": "0.9.
|
|
4
|
-
"description": "Code cross-reference visualization and AI context engine for TypeScript, JavaScript, Python, Go, and
|
|
3
|
+
"version": "0.9.2",
|
|
4
|
+
"description": "Code cross-reference visualization and AI context engine for TypeScript, JavaScript, Python, Go, Rust, and C. Zero native dependencies — works on Windows, macOS, and Linux.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"depwire": "dist/index.js"
|