@htyf-mp/cli 0.2.14 → 0.2.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htyf-mp/cli",
3
- "version": "0.2.14",
3
+ "version": "0.2.16",
4
4
  "description": "红糖云服app小程序模板-cli",
5
5
  "type": "module",
6
6
  "bin": {
@@ -307,7 +307,9 @@ export class HtyfModulesPlugin {
307
307
  }
308
308
 
309
309
  // 首次处理该包
310
- const nativeModule = hasNativeCode(packageName);
310
+ // react-native 必须视为原生依赖,无论是否检测到 ios/android 目录
311
+ const nativeModule =
312
+ packageName === "react-native" ? true : hasNativeCode(packageName);
311
313
  const dependencyInfo = {
312
314
  name: packageName,
313
315
  version: getPackageVersion(packageName),
@@ -23,21 +23,21 @@
23
23
  "@react-native-segmented-control/segmented-control": "2.5.7",
24
24
  "@sayem314/react-native-keep-awake": "1.4.0",
25
25
  "@shopify/react-native-skia": "2.4.7",
26
- "expo": "54.0.28",
26
+ "expo": "54.0.29",
27
27
  "expo-asset": "12.0.11",
28
28
  "expo-audio": "1.1.0",
29
29
  "expo-brightness": "14.0.8",
30
30
  "expo-camera": "17.0.10",
31
31
  "expo-clipboard": "8.0.8",
32
- "expo-constants": "18.0.11",
32
+ "expo-constants": "18.0.12",
33
33
  "expo-crypto": "15.0.8",
34
34
  "expo-document-picker": "14.0.8",
35
35
  "expo-font": "14.0.10",
36
36
  "expo-linear-gradient": "15.0.8",
37
37
  "expo-linking": "8.0.10",
38
38
  "expo-modules-autolinking": "3.0.23",
39
- "expo-modules-core": "3.0.28",
40
- "expo-router": "6.0.18",
39
+ "expo-modules-core": "3.0.29",
40
+ "expo-router": "6.0.19",
41
41
  "expo-system-ui": "6.0.9",
42
42
  "expo-video": "3.0.15",
43
43
  "jcore-react-native": "2.3.2",