- 插件包改为 .xuqm.zip 事务制品,manifest/bundle/资源/SHA-256 统一校验 - 原生层拆分为桥接编排、插件包暂存、底层存储三个单一职责类 - 状态查询改为纯读取,不再误触发安装;新增 NATIVE_BASELINE_INCOMPATIBLE 拒绝 - SemVer 解析拆分为独立原生类并补原生测试 - XWebView 收口唯一内核,错误态统一中文层与重试 - common 增加请求头/运行时契约收口与 http 测试
53 行
1.4 KiB
JSON
53 行
1.4 KiB
JSON
{
|
|
"name": "@xuqm/rn-update",
|
|
"version": "0.5.0-alpha.10",
|
|
"description": "XuqmGroup RN SDK — Android app update and transactional RN plugin runtime",
|
|
"license": "UNLICENSED",
|
|
"main": "src/index.ts",
|
|
"react-native": "src/index.ts",
|
|
"types": "src/index.ts",
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./native-bundle": "./src/NativeBundle.ts",
|
|
"./plugin-assets": "./src/PluginAssets.ts",
|
|
"./plugin-registry": "./src/PluginRegistry.ts",
|
|
"./metro": "./metro/index.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"files": [
|
|
"src",
|
|
"android",
|
|
"metro",
|
|
"scripts",
|
|
"templates",
|
|
"react-native.config.js",
|
|
"README.md"
|
|
],
|
|
"bin": {
|
|
"xuqm-rn": "scripts/xuqm-rn.mjs"
|
|
},
|
|
"private": false,
|
|
"publishConfig": {
|
|
"registry": "https://nexus.xuqinmin.com/repository/npm-hosted/"
|
|
},
|
|
"scripts": {
|
|
"test": "node --test scripts/*.test.mjs && node --import tsx --test tests/*.test.ts",
|
|
"typecheck": "tsc --noEmit",
|
|
"pack:check": "node scripts/verify-package.mjs"
|
|
},
|
|
"dependencies": {
|
|
"fflate": "0.8.3",
|
|
"semver": "7.8.5"
|
|
},
|
|
"peerDependencies": {
|
|
"@react-native-async-storage/async-storage": ">=1.21.0",
|
|
"@xuqm/rn-common": "workspace:>=0.6.0-alpha.4",
|
|
"react-native": ">=0.76.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/semver": "7.7.1",
|
|
"tsx": "^4.23.1",
|
|
"typescript": "catalog:"
|
|
}
|
|
}
|