Skip to content

Capsomer

Design tokens, the app shell and shared controls in plain CSS, used by every app.

Ring
Shared parts
Kind
system
Visibility
Public
Parts
2
Connections
11

How it connects

Inside Capsomer

Capsomer in the network

Used by 8

Inside Capsomer

Runs

  • Capsomer site

    Workers static assets, no script

    Capsomer site The docs and every component's states page at capsomer.dustinedwards.info. It shows the latest test results from the results branch. reads GitHub
  • capsomer CLI

    Node CLI

    capsomer CLI Builds the states pages and the site data, and reports size, weight, lines and token use.

Outside

  • Workers Builds

    Cloudflare Git integration

    Workers Builds Builds and deploys the site on every push to main. deploys Capsomer site
  • GitHub

    Repo, Actions, releases

    GitHub CI, the results branch the site reads, and the tagged releases consumers install.

Uses 3

Its riskiest functions

The five functions with the highest CRAP
FunctionModuleComplexityCoveredCRAP
drawcomponents/system-map/system-map-wires.ts350%CriticalCRAP 1260
onKeyDowncomponents/shortcuts/shortcuts.ts340%CriticalCRAP 1190
createListboxcomponents/listbox/listbox.ts301%CriticalCRAP 895.4
handleKeycomponents/listbox/listbox.ts290%CriticalCRAP 870
filtercomponents/listbox/listbox.ts280%CriticalCRAP 812

Every module