Skip to main content
ArcSight

← HomepageAll repository proofValidation recordState of TS Architecture 2026

Repository proof

Pinia architecture

Changing packages/pinia/src/env in Pinia reaches 25 modules. 4 files call it directly. Snapshot 4817135.

The first file to open in Pinia is packages/pinia/src/env. A change there reaches 25 of 53 modules.

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

src/env25 · 4 fan-in
src/diagnostics24 · 4 fan-in
src/types23 · 12 fan-in
src/rootStore23 · 10 fan-in
devtools/utils15 · 3 fan-in

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

Download the finding

Project: Pinia · Score: 96.6/100 (Excellent architecture) · 53 modules · 58 edges · TypeScript · 1 of 94 · Language score median 80.1

Cycles
1
Duplicate authorities
4
God modules
1
Layer violations
0
arc impact packages/pinia/src/env

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

README badge

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

Blast radius paths

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

Pinia · 4817135

RankFileFan-inBlastShare
1packages/pinia/src/env42547%
2packages/pinia/src/diagnostics42445%
3packages/pinia/src/types

concentrates too many responsibilities, shared utility hub, sits on a dependency cycle

122343%
4packages/pinia/src/rootStore

concentrates too many responsibilities, shared utility hub

102343%
5packages/pinia/src/devtools/utils31528%
All ranked files
RankFileFan-inBlastShare
6packages/pinia/src8917%

Circular dependencies

This snapshot records 1 dependency cycles.

Nearby proofs

Snapshot notes

In vuejs pinia, a change that begins in pinia env keeps traveling until it reaches pinia diagnostics, with pinia types as the third file on that walk and the src-types group as the group around them, snapshot mark dcfcaabbfd.

pinia rootStore is worth opening beside pinia env because devtools utils still participates when pinia rootStore moves, and pinia src stays in view for vuejs pinia, snapshot mark dcfcaabbfd.

Review pinia env only after pinia diagnostics and pinia types are both on the table, since the link from pinia rootStore back to devtools utils belongs to vuejs pinia under snapshot mark dcfcaabbfd.

pinia rootStore and devtools utils are later stops, and a reviewer who has already seen pinia env should still look at pinia src before treating the src-types group as understood for vuejs pinia, snapshot mark dcfcaabbfd.

pinia env closes the file list after pinia diagnostics and pinia types, which keeps the vuejs pinia note tied to snapshot mark dcfcaabbfd, and the files named in this paragraph are the ones the review is willing to stand on.

Subsystem overview

  • src-types (25 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 vuejs pinia: pinia env?
Start with pinia env, because the rest of the vuejs pinia walk leaves from that file and pinia diagnostics is the next file in the same review. Commit dcfcaabbfd records it.
What else is on the vuejs pinia walk besides pinia env and pinia types?
pinia types and pinia rootStore stay on the walk with devtools utils, which are different files from pinia env inside the src-types group for vuejs pinia. Commit dcfcaabbfd records it.
How should a reviewer use pinia src in the vuejs pinia snapshot?
Keep pinia src, pinia env, and pinia diagnostics open together, then check pinia types before merging the vuejs pinia change. Commit dcfcaabbfd records it.
Where does the vuejs pinia review stop after pinia rootStore?
Stop after pinia rootStore, devtools utils, and pinia src have been compared with pinia env, leaving the src-types group until those vuejs pinia files are clear. Commit dcfcaabbfd 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/pinia/" width="320" height="180" frameborder="0"></iframe>

Explore

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