upload-miniprogram 0.0.20 → 0.0.22
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.
|
@@ -8,7 +8,7 @@ program
|
|
|
8
8
|
.description('微信小程序CI/CD上传工具')
|
|
9
9
|
.option('-a, --appid <appid>', '小程序ID')
|
|
10
10
|
.option('-p, --project-path <path>', '小程序项目打包后的代码路径')
|
|
11
|
-
.option('-
|
|
11
|
+
.option('-V, --app-version <version>', '小程序版本号')
|
|
12
12
|
.option('-d, --desc <desc>', '版本描述')
|
|
13
13
|
.option('-u, --user <user>', '上传用户')
|
|
14
14
|
.option('-e, --env <env>', '环境变量 (development|staging|uat|production)', 'development')
|
|
@@ -24,7 +24,7 @@ if (options.env) {
|
|
|
24
24
|
uploadMiniprogram({
|
|
25
25
|
appid: options.appid,
|
|
26
26
|
projectPath: options.projectPath,
|
|
27
|
-
version: options.
|
|
27
|
+
version: options.appVersion,
|
|
28
28
|
desc: options.desc,
|
|
29
29
|
user: options.user
|
|
30
30
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "upload-miniprogram",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.22",
|
|
4
4
|
"description": "chatlabs 集成 微信小程序CI/CD上传工具,支持自动上传代码和生成预览二维码",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"commander": "^9.4.1"
|
|
27
27
|
},
|
|
28
28
|
"engines": {
|
|
29
|
-
"node": ">=
|
|
29
|
+
"node": ">=18.0.0"
|
|
30
30
|
},
|
|
31
31
|
"repository": {
|
|
32
32
|
"type": "git",
|
|
Binary file
|
|
Binary file
|