feat(native): add cross-platform renderer foundation - #506
Draft
bntvllnt wants to merge 1 commit into
Draft
Conversation
|
ntk preview
Built from |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@vllnt/ui-coretokens, native themes, platform types, and portable contracts generated frompackages/design@vllnt/ui-nativeButton, Text, Heading, Badge, and Card renderers plus a private Expo catalog that bundles on Android and iOS@vllnt/uiweb packageScope
This PR implements the native renderer, shared-token/contract, registry, CI, and release-boundary portion of #479. Hook extraction and Tailwind preset consolidation remain separate follow-up work.
@vllnt/uiremains byte-for-byte unchanged across its manifest, source tree, CSS, and theme files. Native packages are experimental and publication remains disabled until maintainers provision npm trusted publishers, create the protectednpm-native-canaryenvironment, and setNATIVE_CANARY_PUBLISH_ENABLED=true.Verification
pnpm install --frozen-lockfilepnpm lintpnpm -F @vllnt/ui exec tsc --noEmit --project tsconfig.build.jsonpnpm buildpnpm test:once— 318 web test files / 1,671 web tests plus core, native, catalog, and registry testspnpm check:circularpnpm ci:native— package boundaries, packed artifacts, Expo Doctor 21/21, Android + iOS Metro exportspnpm -F @vllnt/ui-registry registry:checkpnpm -F @vllnt/ui-registry registry:integritypnpm -F @vllnt/ui-registry i18n:checkpnpm -F @vllnt/ui-registry exec playwright test e2e/platforms.spec.ts— 3 passedCI=1 pnpm -F @vllnt/ui-registry exec playwright test e2e/i18n.spec.ts— 44 passedorigin/main; Expo'swspath is pinned to 8.21.3git diff --checkReview notes
Related to #479