fallow 2.58.0 → 2.60.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fallow",
3
- "version": "2.58.0",
3
+ "version": "2.60.0",
4
4
  "description": "Codebase intelligence for TypeScript and JavaScript. Finds unused code, duplication, circular dependencies, complexity hotspots, and architecture drift. Optional runtime intelligence layer (Fallow Runtime) adds production execution evidence. Rust-native, sub-second, 90 framework plugins.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -54,13 +54,13 @@
54
54
  "@tanstack/intent": "0.0.32"
55
55
  },
56
56
  "optionalDependencies": {
57
- "@fallow-cli/darwin-arm64": "2.58.0",
58
- "@fallow-cli/darwin-x64": "2.58.0",
59
- "@fallow-cli/linux-x64-gnu": "2.58.0",
60
- "@fallow-cli/linux-arm64-gnu": "2.58.0",
61
- "@fallow-cli/linux-x64-musl": "2.58.0",
62
- "@fallow-cli/linux-arm64-musl": "2.58.0",
63
- "@fallow-cli/win32-arm64-msvc": "2.58.0",
64
- "@fallow-cli/win32-x64-msvc": "2.58.0"
57
+ "@fallow-cli/darwin-arm64": "2.60.0",
58
+ "@fallow-cli/darwin-x64": "2.60.0",
59
+ "@fallow-cli/linux-x64-gnu": "2.60.0",
60
+ "@fallow-cli/linux-arm64-gnu": "2.60.0",
61
+ "@fallow-cli/linux-x64-musl": "2.60.0",
62
+ "@fallow-cli/linux-arm64-musl": "2.60.0",
63
+ "@fallow-cli/win32-arm64-msvc": "2.60.0",
64
+ "@fallow-cli/win32-x64-msvc": "2.60.0"
65
65
  }
66
66
  }
@@ -77,15 +77,15 @@ cargo install fallow-cli # build from source
77
77
 
78
78
  | Command | Purpose | Key Flags |
79
79
  |---------|---------|-----------|
80
- | `fallow` | Run all analyses: dead code + duplication + complexity (default) | `--only`, `--skip`, `--production`, `--production-dead-code`, `--production-health`, `--production-dupes`, `--ci`, `--fail-on-issues`, `--group-by`, `--summary`, `--fail-on-regression`, `--tolerance`, `--regression-baseline`, `--save-regression-baseline`, `--score`, `--trend`, `--save-snapshot` |
80
+ | `fallow` | Run all analyses: dead code + duplication + complexity (default) | `--only`, `--skip`, `--production`, `--production-dead-code`, `--production-health`, `--production-dupes`, `--ci`, `--fail-on-issues`, `--group-by`, `--summary`, `--fail-on-regression`, `--tolerance`, `--regression-baseline`, `--save-regression-baseline`, `--score`, `--trend`, `--save-snapshot`, `--include-entry-exports` |
81
81
  | `dead-code` | Dead code analysis (`check` is an alias) | `--unused-exports`, `--changed-since`, `--changed-workspaces`, `--production`, `--file`, `--include-entry-exports`, `--stale-suppressions`, `--ci`, `--group-by`, `--summary`, `--fail-on-regression`, `--tolerance`, `--regression-baseline`, `--save-regression-baseline` |
82
- | `dupes` | Code duplication detection | `--mode`, `--threshold`, `--top`, `--changed-since`, `--workspace`, `--changed-workspaces`, `--skip-local`, `--cross-language`, `--ignore-imports`, `--fail-on-regression`, `--tolerance`, `--regression-baseline`, `--save-regression-baseline` |
82
+ | `dupes` | Code duplication detection | `--mode`, `--threshold`, `--top`, `--changed-since`, `--workspace`, `--changed-workspaces`, `--skip-local`, `--cross-language`, `--ignore-imports`, `--explain-skipped`, `--fail-on-regression`, `--tolerance`, `--regression-baseline`, `--save-regression-baseline` |
83
83
  | `fix` | Auto-remove unused exports/deps | `--dry-run`, `--yes` (required in non-TTY) |
84
84
  | `init` | Generate config file or pre-commit hook | `--toml`, `--hooks`, `--branch` |
85
85
  | `migrate` | Convert knip/jscpd config | `--dry-run`, `--from PATH` |
86
86
  | `list` | Inspect project structure | `--files`, `--entry-points`, `--plugins`, `--boundaries` |
87
87
  | `health` | Function complexity analysis | `--complexity`, `--max-cyclomatic`, `--max-cognitive`, `--max-crap`, `--top`, `--sort`, `--file-scores`, `--hotspots`, `--ownership`, `--ownership-emails`, `--targets`, `--effort`, `--score`, `--min-score`, `--since`, `--min-commits`, `--save-snapshot`, `--trend`, `--coverage-gaps`, `--coverage`, `--coverage-root`, `--runtime-coverage`, `--min-invocations-hot`, `--min-observation-volume`, `--low-traffic-threshold`, `--workspace`, `--changed-workspaces`, `--baseline`, `--save-baseline` |
88
- | `audit` | Combined dead-code + complexity + duplication for changed files | `--base`, `--production`, `--production-dead-code`, `--production-health`, `--production-dupes`, `--workspace`, `--changed-workspaces`, `--ci`, `--fail-on-issues`, `--explain`, `--dead-code-baseline`, `--health-baseline`, `--dupes-baseline`, `--max-crap` |
88
+ | `audit` | Combined dead-code + complexity + duplication for changed files | `--base`, `--production`, `--production-dead-code`, `--production-health`, `--production-dupes`, `--workspace`, `--changed-workspaces`, `--ci`, `--fail-on-issues`, `--explain`, `--explain-skipped`, `--dead-code-baseline`, `--health-baseline`, `--dupes-baseline`, `--max-crap`, `--include-entry-exports` |
89
89
  | `flags` | Detect feature flag patterns (env vars, SDK calls, config objects) | `--top` |
90
90
  | `license` | Manage the local license JWT for paid features (activate, status, refresh, deactivate) | `activate --trial --email <addr>`, `activate --from-file`, `activate --stdin`, `status`, `refresh`, `deactivate` |
91
91
  | `coverage` | Runtime coverage setup, focused analysis, and cloud inventory workflow helper | `setup`, `setup --yes`, `setup --non-interactive`, `analyze --runtime-coverage <path>`, `analyze --cloud --repo owner/repo`, `upload-inventory` |
@@ -49,7 +49,7 @@ Analyzes the project for unused files, exports, dependencies, types, members, an
49
49
  | `--changed-workspaces` | string (git ref) | — | Git-derived monorepo CI scoping: scope to workspaces containing any file changed since `REF` (e.g. `origin/main`). Auto-derives the workspace set from `git diff`. Mutually exclusive with `--workspace`. Missing ref is a hard error (exit 2), not silent full-scope fallback. |
50
50
  | `--include-dupes` | bool | `false` | Cross-reference with duplication findings |
51
51
  | `--file` | path (multiple) | — | Scope output to specific files. Only issues in the specified files are reported. Project-wide dependency issues are suppressed. Warns on non-existent paths. Useful for lint-staged |
52
- | `--include-entry-exports` | bool | `false` | Report unused exports in entry files (package.json `main`/`exports`, framework pages). Catches typos like `meatdata` vs `metadata` |
52
+ | `--include-entry-exports` | bool | `false` | Report unused exports in entry files (package.json `main`/`exports`, framework pages). Catches typos like `meatdata` vs `metadata`. Global flag, also accepted on combined mode (`fallow --include-entry-exports`) and `fallow audit`. Also configurable as `includeEntryExports: true` in fallow config |
53
53
  | `--trace` | `FILE:EXPORT` | — | Trace export usage chain |
54
54
  | `--trace-file` | path | — | Show all edges for a file |
55
55
  | `--trace-dependency` | string | — | Trace where a dependency is used |