Skip to content

Docs check: native pages resolve against @once-ui-system/native - #214

Merged
lorant-one merged 1 commit into
previewfrom
docs/props-and-examples-accuracy-jm00xl
Oct 18, 2026
Merged

lorant-one merged 1 commit into
previewfrom
docs/props-and-examples-accuracy-jm00xl

Conversation

@lorant-one

Copy link
Copy Markdown
Member

Before: since #204 merged, CI on preview has been red. The "Docs match the code" step typed the React Native page's examples against @once-ui-system/core. In core, ThemeProvider has no insets and Column has no safeArea, so native/overview.mdx failed.

After: pages under native/ auto-import from @once-ui-system/native and resolve against its source, so they need no build. A wrong import or prop on those pages still fails. I checked this by adding a bogus prop and a missing export by hand, and each was reported.

How: check-examples.mjs reads the exports of packages/native/src/index.ts and maps @once-ui-system/native to that file in the in-memory program. Import errors for @once-ui-system/native are now held to resolving, the same as core's.

Checked locally: check:examples reports 1,343 examples and 0 problems, check:props reports 0 problems, and Biome is clean.


Generated by Claude Code

The React Native page's examples were typed against core, where ThemeProvider
has no insets and Column no safeArea, so preview CI failed since #204.
Pages under native/ now auto-import from and resolve @once-ui-system/native's
source, and a bad import or prop there is still an error.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01E5ivjExopsYxSMrNg18Ghm
@vercel

vercel Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
core-docs Ignored Ignored Oct 18, 2026 8:10am UTC

@lorant-one
lorant-one merged commit 12f36e2 into preview Oct 18, 2026
8 checks passed
@github-actions github-actions Bot mentioned this pull request Oct 18, 2026
30 tasks done
@lorant-one lorant-one mentioned this pull request Oct 18, 2026
@lorant-one lorant-one added the approved label Oct 20, 2026 — with Claude
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants