Skip to main content
ArcSight

← HomepageAll repository proofValidation recordState of TS Architecture 2026

Repository proof

Lerna architecture

Changing libs/core/src/lib/npmlog/gauge/validate in Lerna reaches 71 modules. 3 files call it directly. Snapshot 2a7ecf2.

The first file to open in Lerna is libs/core/src/lib/npmlog/gauge/validate. A change there reaches 71 of 353 modules.

This lead file reaches 20% of the graph. The median published proof reaches 60%.

gauge/validate71 · 3 fan-in
gauge/wide-truncate71 · 2 fan-in
gauge/render-template70 · 2 fan-in
gauge/console-control-strings67 · 3 fan-in
are-we-there-yet/tracker-base67 · 2 fan-in

Median 60%. Thick bar is blast share. Thin bar is fan-in.

Download the finding

Project: Lerna · Score: 94.3/100 (Excellent architecture) · 353 modules · 358 edges · TypeScript · 6 of 94 · Language score median 80.1

Cycles
2
Duplicate authorities
5
God modules
5
Layer violations
0
arc impact libs/core/src/lib/npmlog/gauge/validate

Under 3 minutes to first arc impact on a TypeScript monorepo (internal runs).

README badge

ArcSight architecture proof for Lerna
[![ArcSight architecture proof for Lerna](https://arcsight.ai/badge/proof/lerna/)](https://arcsight.ai/repositories/lerna/)

Blast radius paths

Ranked by blast radius. Fan-in is direct dependents. Blast radius is downstream modules reachable from that file.

Lerna · 2a7ecf2

RankFileFan-inBlastShare
1libs/core/src/lib/npmlog/gauge/validate

concentrates too many responsibilities

37120%
2libs/core/src/lib/npmlog/gauge/wide-truncate

concentrates too many responsibilities

27120%
3libs/core/src/lib/npmlog/gauge/render-template

concentrates too many responsibilities, depends on an unstable module

27020%
4libs/core/src/lib/npmlog/gauge/console-control-strings

concentrates too many responsibilities

36719%
5libs/core/src/lib/npmlog/are-we-there-yet/tracker-base26719%
All ranked files
RankFileFan-inBlastShare
6libs/core/src/lib/npmlog/are-we-there-yet/tracker26619%
7libs/core/src/lib/npmlog/gauge/process26619%
8libs/core/src/lib/npmlog/gauge/has-unicode26518%
9libs/core/src/lib/npmlog386318%
10vitest.shared32329%
11libs/core/src/lib/npm-conf/env-replace2319%

Highest fan-in

libs/core/src/lib/npmlogfan-in 38

Circular dependencies

This snapshot records 2 dependency cycles.

Nearby proofs

Snapshot notes

In lerna lerna, a change that begins in gauge validate keeps traveling until it reaches gauge wide-truncate, with gauge render-template as the third file on that walk and the lib-get-profile-data group as the group around them, snapshot mark babedadbff.

gauge console-control-strings is worth opening beside gauge validate because are-we-there-yet tracker-base still participates when gauge console-control-strings moves, and are-we-there-yet tracker stays in view for lerna lerna, snapshot mark babedadbff.

Review gauge process only after gauge wide-truncate and gauge has-unicode are both on the table, since the link from src npmlog back to gauge render-template belongs to lerna lerna under snapshot mark babedadbff.

vitest.shared and npm-conf env-replace are later stops, and a reviewer who has already seen gauge validate should still look at gauge error before treating the lib-get-profile-data group as understood for lerna lerna, snapshot mark babedadbff.

gauge template-item closes the file list after gauge validate and gauge wide-truncate, which keeps the lerna lerna note tied to snapshot mark babedadbff, and the files named in this paragraph are the ones the review is willing to stand on.

Subsystem overview

  • lib-get-profile-data (7 modules)
  • glob-utils-is-glob (4 modules)
  • npm-conf-conf (8 modules)
  • lib-npmlog (54 modules)
  • gauge-validate (8 modules)
  • lib-normalize (12 modules)
  • vitest.shared (33 modules)
  • components-copy-to-clipboard (3 modules)

CLI workflow

Impact, then scan, fix, finish, and watch.

  • arc impact <file>See what a change breaks
  • arc scanFind issues
  • arc fixApply fixes
  • arc finishResolve remaining
  • arc watchKeep clean

More commands (explain, guard…) →

FAQ

Which file should change first in lerna lerna: gauge validate?
Start with gauge validate, because the rest of the lerna lerna walk leaves from that file and gauge wide-truncate is the next file in the same review. Commit babedadbff records it.
What else is on the lerna lerna walk besides gauge validate and gauge render-template?
gauge render-template and gauge console-control-strings stay on the walk with are-we-there-yet tracker-base, which are different files from gauge validate inside the lib-get-profile-data group for lerna lerna. Commit babedadbff records it.
How should a reviewer use are-we-there-yet tracker in the lerna lerna snapshot?
Keep are-we-there-yet tracker, gauge process, and gauge has-unicode open together, then check src npmlog before merging the lerna lerna change. Commit babedadbff records it.
Where does the lerna lerna review stop after vitest.shared?
Stop after vitest.shared, npm-conf env-replace, and gauge error have been compared with gauge validate, leaving the lib-get-profile-data group until those lerna lerna files are clear. Commit babedadbff records it.

Run ArcSight on your repo

Install locally, then run arc impact on the file you plan to change — before merge.

npx arcsight init
arc impact <path>
Install ArcSight →

Embed this report

Use this iframe to show the architecture badge on your site.

<iframe src="https://arcsight.ai/embed/lerna/" width="320" height="180" frameborder="0"></iframe>

Explore

Evidence-backed analysis snapshot. snapshot.json · How ArcSight measures blast radius · Install · Homepage demo