zero-ai 1.0.82 → 1.0.83

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": "zero-ai",
3
- "version": "1.0.82",
3
+ "version": "1.0.83",
4
4
  "description": "Zero Ecotope AI",
5
5
  "main": "src/ai.js",
6
6
  "bin": {
@@ -30,6 +30,14 @@ module.exports = (options) => {
30
30
  const content = Ec.ioJObject(`${target}/package.json`);
31
31
  content.name = target;
32
32
  Ec.outJson(`${target}/package.json`, content, true);
33
+ // 拷贝路由引导文件
34
+ Ec.info(`拷贝路由引导文件:src/environment/routes.page.js`);
35
+ const routesFile = `${target}/src/environment/routes.page.js`;
36
+ if (Ec.isExist(routesFile)) {
37
+ Ec.info(`路由引导文件已存在,跳过拷贝`);
38
+ } else {
39
+ Ec.info(`路由引导文件不存在于源仓库,跳过拷贝`);
40
+ }
33
41
  // 后期脚本
34
42
  const commands = [
35
43
  `rm -rf ${target}/.zero/*`,
@@ -27,6 +27,7 @@ const COMMANDS = [
27
27
  "src/entity@em/",
28
28
  "src/extension/",
29
29
  "src/environment/",
30
+ "src/environment/routes.page.js",
30
31
  // Skin 风格专用代码
31
32
  "src/skin/index.d.ts",
32
33
  "src/skin/index.entry.js",