Skip to main content
ArcSight

← HomepageAll repository proofValidation recordState of TS Architecture 2026

Repository proof

Vite architecture

Changing src/shared/constants in Vite reaches 117 modules. 10 files call it directly. Snapshot f898888.

The first file to open in Vite is src/shared/constants. A change there reaches 117 of 139 modules.

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

shared/constants117 · 10 fan-in
shared/utils116 · 58 fan-in
node/constants93 · 35 fan-in
node/utils92 · 74 fan-in
node/config92 · 40 fan-in

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

Download the finding

Project: Vite (packages/vite) · Score: 67.8/100 (Moderate technical debt) · 139 modules · 774 edges · TypeScript · 81 of 94 · Language score median 80.1

Cycles
100+
Duplicate authorities
2
God modules
13
Layer violations
0
arc impact src/shared/constants

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

README badge

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

Blast radius paths

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

Vite · f898888

RankFileFan-inBlastShare
1src/shared/constants

concentrates too many responsibilities

1011784%
2src/shared/utils

concentrates too many responsibilities, shared utility hub

5811683%
3src/node/constants

concentrates too many responsibilities, shared utility hub

359367%
4src/node/utils749266%
5src/node/config409266%
All ranked files
RankFileFan-inBlastShare
6src/node/plugin389266%

Circular dependencies

This snapshot records 100+ dependency cycles.

Nearby proofs

Snapshot notes

In vitejs vite, a change that begins in shared constants keeps traveling until it reaches shared utils, with node constants as the third file on that walk and the ROOT_CLUSTER group as the group around them, snapshot mark bcececcded.

node utils is worth opening beside shared constants because node config still participates when node utils moves, and node plugin stays in view for vitejs vite, snapshot mark bcececcded.

Review shared constants only after shared utils and node constants are both on the table, since the link from node utils back to node config belongs to vitejs vite under snapshot mark bcececcded.

node utils and node config are later stops, and a reviewer who has already seen shared constants should still look at node plugin before treating the ROOT_CLUSTER group as understood for vitejs vite, snapshot mark bcececcded.

shared constants closes the file list after shared utils and node constants, which keeps the vitejs vite note tied to snapshot mark bcececcded, and the files named in this paragraph are the ones the review is willing to stand on.

Subsystem overview

  • ROOT_CLUSTER (121 modules)
  • module-runner-types (13 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 vitejs vite: shared constants?
Start with shared constants, because the rest of the vitejs vite walk leaves from that file and shared utils is the next file in the same review. Commit bcececcded records it.
What else is on the vitejs vite walk besides shared constants and node constants?
node constants and node utils stay on the walk with node config, which are different files from shared constants inside the ROOT_CLUSTER group for vitejs vite. Commit bcececcded records it.
How should a reviewer use node plugin in the vitejs vite snapshot?
Keep node plugin, shared constants, and shared utils open together, then check node constants before merging the vitejs vite change. Commit bcececcded records it.
Where does the vitejs vite review stop after node utils?
Stop after node utils, node config, and node plugin have been compared with shared constants, leaving the ROOT_CLUSTER group until those vitejs vite files are clear. Commit bcececcded 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/vite/" width="320" height="180" frameborder="0"></iframe>

Explore

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