Skip to content

refactor(text): hold the Three integration to third-party rigor - #61

Open
thejustinwalsh wants to merge 2 commits into
refactor/tsl-subpathfrom
refactor/three-public-rigor
Open

refactor(text): hold the Three integration to third-party rigor#61
thejustinwalsh wants to merge 2 commits into
refactor/tsl-subpathfrom
refactor/three-public-rigor

Conversation

@thejustinwalsh

@thejustinwalsh thejustinwalsh commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

First-party rigor (D-249)

Three's modules import the ABI through the public core entry instead of reaching into generated/, and a scoped no-restricted-imports rule denies the three, tsl, and react surfaces any import from internal/ or generated/ — the first-party integrations consume exactly the surface a third party gets, and the boundary regresses loudly instead of silently.

Stack created with GitHub Stacks CLIGive Feedback 💬

@github-actions

github-actions Bot commented Aug 11, 2026

Copy link
Copy Markdown

size-limit report 📦

Path Size
Core JS (gzip) 18.38 KB (0%)
Shaper Wasm (gzip) 418.77 KB (0%)
Three.js adapter JS (gzip) 57.6 KB (+0.09% 🔺)
Inter font · Bitmap (gzip) 545.27 KB (0%)
Inter font · MTSDF (gzip) 6.48 MB (0%)
Inter font · Slug (gzip) 604.06 KB (0%)
Font Awesome icons · Bitmap (gzip) 439.53 KB (0%)
Font Awesome icons · MTSDF (gzip) 6.89 MB (0%)
Font Awesome icons · Slug (gzip) 642.64 KB (0%)
Font validator JS (gzip) 134.24 KB (0%)
Runtime bake host JS (gzip) 5.38 KB (0%)
Runtime bake Worker JS (gzip) 142.45 KB (0%)
Font baker JS (gzip) 2.41 KB (0%)
Font baker Wasm (gzip) 379.63 KB (0%)
Bitmap baker JS (gzip) 4.66 KB (0%)
Bitmap baker Wasm (gzip) 228.31 KB (0%)
MTSDF baker JS (gzip) 5.39 KB (0%)
MTSDF baker Wasm (gzip) 209.22 KB (0%)
Slug baker JS (gzip) 4.01 KB (0%)
Slug baker Wasm (gzip) 181.24 KB (0%)

@thejustinwalsh
thejustinwalsh force-pushed the refactor/three-public-rigor branch 2 times, most recently from 0f9d33c to cac54e4 Compare August 11, 2026 23:33
@thejustinwalsh
thejustinwalsh marked this pull request as ready for review August 12, 2026 00:30
Three's modules import the ABI through the public core entry instead of
reaching into generated/, and a scoped no-restricted-imports rule
denies the three, tsl, and react surfaces any import from internal/ or
generated/ — the first-party integrations consume exactly the surface a
third party gets.
@thejustinwalsh
thejustinwalsh force-pushed the refactor/three-public-rigor branch from cac54e4 to d487ab4 Compare August 12, 2026 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant