Skip to content

⭐ Schematics Core

Terrence Daniels edited this page Aug 14, 2026 · 1 revision

Shared schematic/AST utility code — real source, added alongside store. Originally carried over as 4 duplicated per-module copies (matching real upstream, where the duplication exists because each module publishes to npm independently). This repo doesn't publish anything, so once that was confirmed rather than assumed, the 4 copies were consolidated into 1 shared module (phases 30–32, -12,453 lines) with zero loss of runtime behavior.

The consolidation hit two real technical obstacles along the way — a TypeScript rootDir emit boundary and an npm package.json exports-field runtime restriction — both solved properly rather than reverted. It's also why a prototype-pollution CodeQL finding recurred three times as effects/entity/operators were added: each carried its own still-vulnerable pre-consolidation copy. See CI and Security. The same fidelity-vs-DRY reasoning was later applied one level up — see Schematics Consolidation.

Clone this wiki locally