lib.presentation-runtime-react-native
React Native presentation runtime for mobile apps
@lssm-tech/lib.presentation-runtime-react-nativebun add @lssm-tech/lib.presentation-runtime-react-nativeManifest declarations describe the current workspace; they do not verify registry publication or runtime execution.
Package guide
Website: https://contractspec.io
React Native presentation runtime for mobile apps.
What It Provides
- Layer: lib.
- Consumers: mobile apps.
- Related ContractSpec packages include
@lssm-tech/lib.presentation-runtime-core,@lssm-tech/lib.presentation-runtime-react,@lssm-tech/lib.ui-kit,@lssm-tech/tool.bun. - Related ContractSpec packages include
@lssm-tech/lib.presentation-runtime-core,@lssm-tech/lib.presentation-runtime-react,@lssm-tech/lib.ui-kit,@lssm-tech/tool.bun.
Installation
npm install @lssm-tech/lib.presentation-runtime-react-native
or
bun add @lssm-tech/lib.presentation-runtime-react-native
Usage
Import the root entrypoint from @lssm-tech/lib.presentation-runtime-react-native, or choose a documented subpath when you only need one part of the package surface.
Architecture
src/index.tsis the root public barrel and package entrypoint.src/nativewind-env.d.tsis part of the package's public or composition surface.src/useContractTable.tsis part of the package's public or composition surface.src/useDataViewTable.tsis part of the package's public or composition surface.src/useVisualizationModel.tsis part of the package's public or composition surface.
Public Entry Points
- Export
.resolves through./src/index.ts. - Export
./nativewind-env.dresolves through./src/nativewind-env.d.ts. - Export
./useContractTableresolves through./src/useContractTable.ts. - Export
./useDataViewTableresolves through./src/useDataViewTable.ts. - Export
./useVisualizationModelresolves through./src/useVisualizationModel.ts.
Local Commands
bun run dev— contractspec-bun-build devbun run build— contractspec-bun-build buildbun run lint— bun run lint:fixbun run lint:check— biome check .bun run lint:fix— biome check --write --unsafe --only=nursery/useSortedClasses . && biome check --write .bun run typecheck— tsgo --noEmit -p tsconfig.jsonbun run publish:pkg— bun publish --tolerate-republish --ignore-scripts --verbosebun run publish:pkg:canary— bun publish:pkg --tag canarybun run clean— rimraf dist .turbobun run build:bundle— contractspec-bun-build transpilebun run build:types— contractspec-bun-build typesbun run prebuild— contractspec-bun-build prebuild
Recent Updates
- Replace eslint+prettier by biomejs to optimize speed.
- Add table capabilities.
Notes
- Must stay compatible with presentation-runtime-core; do not diverge from the shared interface.
- NativeWind integration is platform-specific — changes must be tested on actual devices/simulators.
- Avoid web-only APIs; all code must run in React Native's JavaScript environment.
Standalone declaration exports keep their existing public subpath names. The shared builder preserves their original declaration suffix and copies checked source declarations into dist, without overwriting emitted implementation types.
Canonical feature and feature-hub imports preserve all original native renderer bodies and public export maps. The React re-export boundary remains intact and requires the complete React renderer supplier joins; task-bound adoption, producer, compiler and affected consumer qualification remain pending.
Relationships
Arrows point from a package to its direct dependency. Counts are derived from captured workspace manifests.
4 declarations
@lssm-tech/lib.presentation-runtime-reactworkspace:^
Read the package manual ↗@lssm-tech/lib.presentation-runtime-coreworkspace:^
Read the package manual ↗@lssm-tech/lib.surface-runtimeworkspace:^
Read the package manual ↗@lssm-tech/lib.contracts-spec-coreworkspace:^
Read the package manual ↗
Declared capabilities
React Native presentation runtime for mobile apps
Scripts
cleanrimraf dist .turbopublish:pkgbun publish --tolerate-republish --ignore-scripts --verbosepublish:pkg:canarybun publish:pkg --tag canarybuildcontractspec-bun-build buildbuild:bundlecontractspec-bun-build transpilebuild:typescontractspec-bun-build typesdevcontractspec-bun-build devlintbun run lint:fixlint:fixnode ../../../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../../../scripts/biome.cjs check --write .lint:checknode ../../../../scripts/biome.cjs check .testbun test --pass-with-no-testsprebuildcontractspec-bun-build prebuildtypechecktsgo --noEmit -p tsconfig.json