@liujitcn/kratos-taro-app-cli 0.0.34 → 0.0.36

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/README.md CHANGED
@@ -18,3 +18,10 @@ pnpm dlx @liujitcn/kratos-taro-app-cli create customer-app --with @acme/customer
18
18
  脚手架会在 workspace 根目录生成四套环境文件,使用与 uni-app 一致的 `VITE_APP_PORT`、`VITE_APP_BASE_PATH`、`VITE_APP_BASE_API`、`VITE_APP_API_URL`、`VITE_APP_STATIC_API`、`VITE_APP_STATIC_URL` 变量。
19
19
 
20
20
  JavaScript 调用方也可以直接使用 `scaffoldKratosTaroApp(target, options)`。
21
+
22
+ ## 发布验证
23
+
24
+ 发布包必须包含 `assets/favicon.ico`,供生成项目的 H5 静态资源使用。
25
+ 在 Taro workspace 根目录执行 `pnpm test` 会实际打包、解压并运行包内 CLI,核对生成的
26
+ 图标内容和本地业务模块,避免只测试源码而遗漏 npm 发布资源。打包产物和生成项目均位于
27
+ 临时目录,测试结束后自动清理。
Binary file
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "type": "git",
8
8
  "url": "git@github.com:liujitcn/kratos-admin.git"
9
9
  },
10
- "version": "0.0.34",
10
+ "version": "0.0.36",
11
11
  "type": "module",
12
12
  "bin": {
13
13
  "kratos-taro-app": "./bin/kratos-taro-app.mjs"
@@ -17,6 +17,7 @@
17
17
  "./package.json": "./package.json"
18
18
  },
19
19
  "files": [
20
+ "assets",
20
21
  "bin",
21
22
  "src",
22
23
  "README.md"