XuqmGroup-RNSDK/packages/update/package.json
XuqmGroup febefc8d69 refactor: SDK monorepo with modular packages + clean init API
- Restructure as yarn workspace with packages/common, im, push, update
- @xuqm/rn-common: built-in URLs (no apiBaseUrl/imWsUrl in init), init({appId, debug})
- @xuqm/rn-im: login(userId) handles token internally, no token in public API
- @xuqm/rn-update: registerPlugin({moduleId,version}) for self-registration,
  checkAppUpdate() auto-detects version via XuqmVersionModule native bridge,
  checkRnUpdate(moduleId) uses registered version (no app-layer arg)
- Add XuqmVersionModule native stubs for Android/iOS
- Keep @xuqm/rn-sdk as convenience meta-package re-exporting all

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 16:16:31 +08:00

23 行
639 B
JSON

{
"name": "@xuqm/rn-update",
"version": "0.2.0",
"description": "XuqmGroup RN SDK — Update module (App update, RN plugin hot-update)",
"main": "src/index.ts",
"react-native": "src/index.ts",
"types": "src/index.ts",
"private": false,
"publishConfig": {
"registry": "https://nexus.xuqinmin.com/repository/npm-hosted/"
},
"scripts": { "typecheck": "tsc --noEmit" },
"peerDependencies": {
"@xuqm/rn-common": ">=0.2.0",
"react-native": ">=0.76.0",
"@react-native-async-storage/async-storage": ">=1.21.0"
},
"devDependencies": {
"typescript": "^5.9.3",
"@types/react-native": "^0.73.0"
}
}