Skip to main content
ArcSight

← HomepageAll repository proofValidation recordState of TS Architecture 2026

Repository proof

styled-components architecture

Changing src/utils/charCodes in styled-components reaches 131 modules. 19 files call it directly. Snapshot e2aa1c8.

The first file to open in styled-components is src/utils/charCodes. A change there reaches 131 of 169 modules.

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

utils/charCodes131 · 19 fan-in
utils/warnOnce130 · 21 fan-in
transform/dev126 · 29 fan-in
utils/normalize125 · 9 fan-in
transform/tokens124 · 36 fan-in

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

Download the finding

Project: styled-components (packages/styled-components) · Score: 80.6/100 (Healthy architecture) · 169 modules · 726 edges · TypeScript · 45 of 94 · Language score median 80.1

Cycles
25
Duplicate authorities
9
God modules
12
Layer violations
2
arc impact src/utils/charCodes

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

README badge

ArcSight architecture proof for styled-components
[![ArcSight architecture proof for styled-components](https://arcsight.ai/badge/proof/styled-components/)](https://arcsight.ai/repositories/styled-components/)

Blast radius paths

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

styled-components · e2aa1c8

RankFileFan-inBlastShare
1src/utils/charCodes

concentrates too many responsibilities, shared utility hub

1913178%
2src/utils/warnOnce

concentrates too many responsibilities, shared utility hub

2113077%
3src/native/transform/dev

concentrates too many responsibilities

2912675%
4src/utils/normalize912574%
5src/native/transform/tokens3612473%
All ranked files
RankFileFan-inBlastShare
6src/native/transform/tokenize1812272%
7src/parser/ast1112272%
8src/parser/parser1511970%
9src/constants1511870%
10src/utils/fifoMap911769%

Highest fan-in

src/typesfan-in 77

Circular dependencies

This snapshot records 25 dependency cycles.

Nearby proofs

Snapshot notes

In styled-components styled-components, a change that begins in utils charCodes keeps traveling until it reaches utils warnOnce, with transform dev as the third file on that walk and the animation-types group as the group around them, snapshot mark dfbadadaeb.

utils normalize is worth opening beside utils charCodes because transform tokens still participates when utils normalize moves, and transform tokenize stays in view for styled-components styled-components, snapshot mark dfbadadaeb.

Review parser ast only after utils warnOnce and src parser are both on the table, since the link from constants back to transform dev belongs to styled-components styled-components under snapshot mark dfbadadaeb.

utils fifoMap and types are later stops, and a reviewer who has already seen utils charCodes should still look at utils createWarnTooManyClasses before treating the animation-types group as understood for styled-components styled-components, snapshot mark dfbadadaeb.

utils domElements closes the file list after utils charCodes and utils warnOnce, which keeps the styled-components styled-components note tied to snapshot mark dfbadadaeb, and the files named in this paragraph are the ones the review is willing to stand on.

Subsystem overview

  • animation-types (82 modules)
  • src-types (79 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 styled-components styled-components: utils charCodes?
Start with utils charCodes, because the rest of the styled-components styled-components walk leaves from that file and utils warnOnce is the next file in the same review. Commit dfbadadaeb records it.
What else is on the styled-components styled-components walk besides utils charCodes and transform dev?
transform dev and utils normalize stay on the walk with transform tokens, which are different files from utils charCodes inside the animation-types group for styled-components styled-components. Commit dfbadadaeb records it.
How should a reviewer use transform tokenize in the styled-components styled-components snapshot?
Keep transform tokenize, parser ast, and src parser open together, then check constants before merging the styled-components styled-components change. Commit dfbadadaeb records it.
Where does the styled-components styled-components review stop after utils fifoMap?
Stop after utils fifoMap, types, and utils createWarnTooManyClasses have been compared with utils charCodes, leaving the animation-types group until those styled-components styled-components files are clear. Commit dfbadadaeb 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/styled-components/" width="320" height="180" frameborder="0"></iframe>

Explore

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