Expand description
Pure, deterministic package manifest, entrypoint, Apple export anchor, and dynamic iOS
.framework Info.plist emitters for web-pkg, rn-pkg, and nitro-ui-pkg.
Backed by compile-time checked Askama templates under packages/core/codegen/templates/export_pkg/.
Structs§
- Export
Package Meta - Common metadata for rendering an embeddable package manifest.
- IosFramework
Plist Meta - Metadata for rendering an iOS dynamic
.frameworkInfo.plist.
Functions§
- emit_
android_ library_ manifest_ xml - Emits AGP 8+ clean library
<pkg>/android/src/main/AndroidManifest.xml. - emit_
apple_ export_ anchor_ h - Emits
NvExportAnchor.hdeclaring C anchor functions returning each view’snv_get_interface*function pointer (never anchorsnv_runtime_get_interface). - emit_
apple_ export_ anchor_ m - Emits
NvExportAnchor.mresolving each view’s<vtable_sym>from its own isolated dynamic<Mod>Core.frameworkviadlopen(RTLD_NOW | RTLD_LOCAL)+dlsym(cached withdispatch_once). - emit_
ios_ framework_ info_ plist - Emits a minimal valid
Info.plistfor a dynamic iOS.frameworkslice inside an.xcframework. - emit_
nitro_ android_ build_ gradle - Emits thin
<pkg>/android/build.gradleregistering ONLY this component’ssrc/main/jniLibs. - emit_
nitro_ package_ swift - Emits thin
<pkg>/Package.swiftdepending on sibling../app-nvehost(NativeViewHost,NativeViewAppleHost) plus this component’s dynamic<Mod>Core.xcframeworkand<Mod>AnchorC target. - emit_
nitro_ pkg_ index_ ts - Emits
<pkg>/src/index.tsre-exporting every Nitro UI view registration and typed spec. Multi-view specs emit explicit non-colliding named exports so shared enums/structs avoidTS2308. - emit_
nitro_ pkg_ package_ json - Emits
<pkg>/package.jsonmatchingmargelo/nitro-ui0.3.0 bare packages with@nativeview/nitro-uipeer. - emit_
rn_ android_ build_ gradle - Emits thin
<pkg>/android/build.gradledepending on:nativeview_react-native(zero Compose). - emit_
rn_ pkg_ index_ ts - Emits
<pkg>/src/index.tsre-exporting every Fabric NativeComponent & Commands handle (aliased exports for multi-view specs avoidTS2308collisions onNativeProps/Commands). - emit_
rn_ pkg_ package_ json - Emits
<pkg>/package.jsonwith React Native FabriccodegenConfigand@nativeview/rnpeer. - emit_
rn_ podspec - Emits thin
<pkg>/<IosModuleName>.podspecdepending onNativeViewReactNative. - emit_
web_ pkg_ index_ ts - Emits
<pkg>/src/index.tsre-exporting every custom element, React wrapper, and type. Multi-view specs emit explicit non-colliding named exports so shared enums/structs avoidTS2308. - emit_
web_ pkg_ package_ json - Emits
<pkg>/package.jsonfor--target web-pkgdeclaring@nativeview/webas a peerDependency. - emit_
web_ pkg_ tsconfig_ json - Emits
<pkg>/tsconfig.jsonfor strict typechecking of the generatedweb-pkg. - xml_
escape - Escapes XML special characters for plist/manifest attribute and element text.