@flun/node-mobile-app 4.1.0 → 4.1.1

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +5 -6
  2. package/package.json +6 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # 变更日志
2
2
 
3
+ ## [4.1.1] - 2026-11-06 11:11
4
+ ### 优化
5
+ - 细节优化;
6
+
3
7
  ## [4.1.0] - 2026-11-06 10:10
4
8
  ### 新增
5
9
  - 新增 `example` 子命令,重新生成 `mobileAppConfig.js` 到项目根目录;此前该文件只由 `postinstall` 自动复制,
@@ -28,9 +32,4 @@
28
32
  ### 修复
29
33
  - `help`、`-h`、`--help` 改为正常退出,此前会以非零码退出;
30
34
  - 未知命令现在先输出 `✗ 未知命令: <名称>` 再打印帮助,此前只打印帮助;
31
- - 统一文本文件换行为 LF,去除 BOM 与末尾多余换行;
32
-
33
- ## [4.0.8] - 2026-10-26 09:56
34
- ### 修复
35
- - 修复 `src/copy.js` 中 `out.allowScripts` 赋值语句缺少等号导致的运行时报错 `out.allowScripts is not a function`;
36
- - 该问题由 4.0.7 版本折行时断点落在等号处、丢失赋值运算符引起;
35
+ - 统一文本文件换行为 LF,去除 BOM 与末尾多余换行;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flun/node-mobile-app",
3
- "version": "4.1.0",
3
+ "version": "4.1.1",
4
4
  "description": "将 Node.js 项目一键打包为 Android / iOS 移动应用,运行时由 @flun/nodejs-mobile-react-native 提供;",
5
5
  "author": "flun <open@flun.top>",
6
6
  "keywords": [
@@ -42,7 +42,7 @@
42
42
  "@babel/core": "^8.1.0",
43
43
  "@eslint-react/eslint-plugin": "^5.28.8",
44
44
  "@eslint/js": "^10.0.1",
45
- "@flun/nodejs-mobile-react-native": "^2.1.3",
45
+ "@flun/nodejs-mobile-react-native": "^2.1.4",
46
46
  "@react-native-community/cli": "^20.2.0",
47
47
  "@react-native-community/cli-platform-android": "^20.2.0",
48
48
  "@react-native-community/cli-platform-ios": "^20.2.0",
@@ -75,7 +75,10 @@
75
75
  "type": "git",
76
76
  "url": "git+https://github.com/OpenFlun/node-mobile-app.git"
77
77
  },
78
- "gitee": "https://gitee.com/OpenFlun/node-mobile-app.git",
78
+ "gitee": {
79
+ "type": "git",
80
+ "url": "https://gitee.com/OpenFlun/node-mobile-app.git"
81
+ },
79
82
  "bugs": {
80
83
  "url": "https://github.com/OpenFlun/node-mobile-app/issues"
81
84
  },