as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
Ring
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
跳转到主要内容
This page applies if you are developing a library (system library or shared package) rather than an app. For app migration, see Migrate Apps to React Native 0.83.

Peer dependency configuration

Libraries must use peerDependencies (not dependencies) for the Vega runtime. If you add the runtime in dependencies, it causes module ID conflicts at runtime when apps and libraries use different RN versions.
Version range guidelines

Library detection indicators

Your package is a system library if it has any of the following:
  • SystemModules/ directory in project root
  • kepler-system-conf.toml file
  • kepler-compatibility.json file

Additional considerations

  • Changes to library APIs affect all consumers. Test with at least one consumer app before publishing.
  • Update library version and changelog appropriately.
  • Consider backward compatibility for existing consumers.
  • Ensure isolatedModules type exports use export type syntax.
最后修改于 2026年7月9日