Skip to content

v0.1.0

Choose a tag to compare

@whoamiWo whoamiWo released this 14 Nov 03:44
· 4 commits to main since this release

Initial public baseline of impact, a local-first, read-only change impact analysis CLI for JavaScript/TypeScript workspace monorepos.

Install

npx @whoamiwo/impact@0.1.0 --version

The impact binary analyzes git diffs and reports affected packages, suggested test commands and affected deployables, with reasons. JSON output uses schemaVersion: 1; the CLI does not run tests, builds or deployments, access the network, collect telemetry, or write outside .git/impact-cache/v1/.

Release identity

  • Commit: 850e288b67161a89711dd559953b463f9b3f64bd
  • npm: @whoamiwo/impact@0.1.0, with latest pointing to 0.1.0
  • Tarball: whoamiwo-impact-0.1.0.tgz, 50 files
  • SHA-1: 6d74af655c6134cfb9c690a08342afeb6a315075
  • Public installation from the npm registry and npx @whoamiwo/impact@0.1.0 --version were verified after publication.

Validation

Local validation used Node v22.23.2 and npm 10.9.8:

  • npm run typecheck
  • npm run check:no-network
  • npm test: 128 tests across 14 test files passed
  • npm pack --dry-run
  • npm run smoke:pack: installed the tarball, verified impact 0.1.0, and completed a fixture analysis
  • Default JSON was byte-identical across explicit no-cache, cache-miss and cache-hit runs; stats.cache appeared only with --verbose

Configuration parsing uses zod validation. The test suite includes a default config version, rejection of unsupported version 2, and rejection of non-numeric version "1"; these tests ran as part of npm test.

Git diff behavior is also covered by e2e tests: name-status attribution, committed ranges, working-tree changes, deletions and renames. The shallow-clone test verifies that merge-base failure exits with code 2 and an actionable message; only the explicit --allow-shallow-fallback test run proceeds using the base..head fallback, reports diff.mergeBaseFallback: true, and emits SHALLOW_CLONE. The local release validation commands above did not pass --allow-shallow-fallback.

Node 20/22 CI passed on this commit, including typecheck, no-network, tests, pack dry-run and tarball smoke tests on both versions.

Benchmark sample

No benchmark was rerun for this metadata-and-documentation-only release. The existing reproducible synthetic sample uses 1000 packages and 20,000 TypeScript source files. Three recorded cache-hit samples were 2433, 2636, and 2809 ms: median 2636 ms, range 2433–2809 ms. These are machine-specific samples, not a guarantee of a stable sub-three-second result. See docs/benchmark.md for the harness and limitations.

Known limitations

See the README, including JS/TS-only source analysis, conservative impact defaults, tsconfig resolution limitations, and the explicit shallow-clone fallback requirement.

Real-world validation (post-release)

Both runs used the published registry package (npx @whoamiwo/impact@0.1.0), not a local build, on Node v22.23.2 and npm 10.9.8, with --no-working and no --allow-shallow-fallback. Both exited 0 without a crash. Default JSON was byte-identical across repeat runs and across explicit no-cache, cache-miss and cache-hit conditions; stats.cache appeared only with --verbose.

  • zod — https://github.com/colinhacks/zod, base 93b7a62a64bc62561590e81f4fed4cbdca507692 (HEAD~10), head fef16cba0cf6668eb25ecc32fdfe2ce0a46f6f80. 22 changed files. 8/8 packages affected: zod and @zod/docs direct, the remaining six global because root .mcp.json and scripts/chrome-devtools-mcp.mjs changed. No deployables (no apps/*). 507 source files parsed. Warnings: 1 UNRESOLVED_IMPORT (docs path alias), 6 NO_TEST_SCRIPT, 2 UNOWNED_CHANGE, 2 DYNAMIC_IMPORT.
  • Turborepo — https://github.com/vercel/turbo, base 621eafe98922714cf44cd21e7e3ba1ad4b000b19 (HEAD~5), head 0e337da198797dbc6ec285ac4216756a85cc4947. 30 changed files. 20/20 packages affected. The pnpm workspace negation !packages/turbo was respected (packages/turbo absent from output). 2 deployables via apps/* fallback: docs and examples-agent. 1158 source files parsed. Warnings: 163 UNRESOLVED_IMPORT (path aliases), 19 NO_TEST_SCRIPT, 18 UNOWNED_CHANGE (Rust crates and root files), 4 PHANTOM_DEPENDENCY, 1 DYNAMIC_IMPORT.

These cover pnpm workspace negation, apps/* deployable fallback, dependency propagation and root-level global changes. Conservative multi-reporting (all packages affected when a root file changes) is expected; no missed JavaScript/TypeScript dependents were identified in either run.