aiot-toolkit 1.0.16-beta.8 → 1.0.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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Change Log
2
2
 
3
+ #### [1.0.16] - 2022-12-02
4
+
5
+ - 支持打包应用服务 service 文件
6
+ - 支持元素 `static` 属性的编译优化
7
+ - 支持打包编译`.so`或`.jidl`文件
8
+ - 修复 `src` 属性、行内样式等问题
9
+ - 增加 `maml` 快应用组件配置文件
10
+ - 增加 `enableOpsWrap`与`disableBuildRpk`参数
11
+
3
12
  #### [1.0.15] - 2022-08-16
4
13
 
5
14
  - 支持 `vela` 项目 --enable-custom-component 参数
package/README.md CHANGED
@@ -41,6 +41,15 @@ npm run release
41
41
 
42
42
  ### 版本日志(详情请在 node_modules 中查看 CHANGELOG)
43
43
 
44
+ #### [1.0.16] - 2022-12-02
45
+
46
+ - 支持打包应用服务 service 文件
47
+ - 支持元素 `static` 属性的编译优化
48
+ - 支持打包编译`.so`或`.jidl`文件
49
+ - 修复 `src` 属性、行内样式等问题
50
+ - 增加 `maml` 快应用组件配置文件
51
+ - 增加 `enableOpsWrap`与`disableBuildRpk`参数
52
+
44
53
  #### [1.0.15] - 2022-08-16
45
54
 
46
55
  - 支持 `vela` 项目 --enable-custom-component 参数
package/lib/utils.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";const path=require("path"),{colorconsole:colorconsole}=require("@aiot-toolkit/shared-utils"),{ENTRY_TYPE:ENTRY_TYPE}=require("@aiot-toolkit/packager/lib/common/utils"),{resolveFile:resolveFile}=require("@aiot-toolkit/packager/lib/common/info");exports.resolveEntries=function(e,o,t){if(!e.router)throw Error("No routing configured in manifest.json!");const r={},i=e.router.pages||{},s=[{confs:e.router.widgets||{},type:ENTRY_TYPE.CARD}];s.unshift({confs:i,type:ENTRY_TYPE.PAGE});const n=resolveFile(path.join(o,"app"));n||(colorconsole.error("app file does not exist"),process.exit(1)),r.app="./"+path.relative(t,n)+`?uxType=${ENTRY_TYPE.APP}`,s.forEach((({confs:e,type:i})=>{Object.keys(e).forEach((s=>{const n=e[s],l=path.join(s,n.component),a=resolveFile(path.join(o,l));a||colorconsole.throw(`Compilation failed: please confirm that the file path ${l} configured in manifest.json exists`),/^\//.test(s)&&colorconsole.throw(`Compilation failed: please confirm that '${s}' configured by router.pages in manifest.json is the directory name`);let c=path.relative(t,a);c="./"+c+`?uxType=${i}`,c=c.replace(/\\/g,"/"),r[l]=c}))}));const l=e.workers;return l&&l.entries&&l.entries instanceof Array&&l.entries.filter((e=>e.file)).forEach((e=>{r[e.file.replace(/\.js$/,"")]="./src/"+e.file})),r};
1
+ "use strict";const path=require("path"),{colorconsole:colorconsole}=require("@aiot-toolkit/shared-utils"),{ENTRY_TYPE:ENTRY_TYPE}=require("@aiot-toolkit/packager/lib/common/utils"),{resolveFile:resolveFile}=require("@aiot-toolkit/packager/lib/common/info"),{isEmptyObject:isEmptyObject}=require("@aiot-toolkit/compiler/lib/utils");exports.resolveEntries=function(e,o,t){if(!e.router)throw Error("No routing configured in manifest.json!");const r={},i=e.router.pages||{},s=[{confs:e.router.widgets||{},type:ENTRY_TYPE.CARD}];s.unshift({confs:i,type:ENTRY_TYPE.PAGE});const n=resolveFile(path.join(o,"app"));n||(colorconsole.error("app file does not exist"),process.exit(1)),r.app="./"+path.relative(t,n)+`?uxType=${ENTRY_TYPE.APP}`,s.forEach((({confs:e,type:i})=>{Object.keys(e).forEach((s=>{const n=e[s],c=path.join(s,n.component),l=resolveFile(path.join(o,c));l||colorconsole.throw(`Compilation failed: please confirm that the file path ${c} configured in manifest.json exists`),/^\//.test(s)&&colorconsole.throw(`Compilation failed: please confirm that '${s}' configured by router.pages in manifest.json is the directory name`);let a=path.relative(t,l);a="./"+a+`?uxType=${i}`,a=a.replace(/\\/g,"/"),r[c]=a}))}));const c=e.workers;c&&c.entries&&c.entries instanceof Array&&c.entries.filter((e=>e.file)).forEach((e=>{r[e.file.replace(/\.js$/,"")]="./src/"+e.file}));const l=e.services;if(!isEmptyObject(l))for(const e in l)Object.hasOwnProperty.call(l,e)&&(r["services/"+e]="./src/"+l[e].path+`?uxType=${ENTRY_TYPE.APP}`);return r};
2
2
  //# sourceMappingURL=utils.js.map
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "aiot-toolkit",
3
- "version": "1.0.16-beta.8",
3
+ "version": "1.0.16",
4
4
  "description": "A command line toolkit for developing Aiot Quick Apps.",
5
5
  "engines": {
6
6
  "node": ">=8.0.0"
7
7
  },
8
8
  "dependencies": {
9
- "@aiot-toolkit/compiler": "1.0.16-beta.8",
10
- "@aiot-toolkit/debugger": "1.0.16-beta.8",
11
- "@aiot-toolkit/dsl-vue": "1.0.16-beta.8",
12
- "@aiot-toolkit/dsl-xvm": "1.0.16-beta.8",
13
- "@aiot-toolkit/packager": "1.0.16-beta.8",
14
- "@aiot-toolkit/server": "1.0.16-beta.8",
15
- "@aiot-toolkit/shared-utils": "1.0.16-beta.8",
9
+ "@aiot-toolkit/compiler": "1.0.16",
10
+ "@aiot-toolkit/debugger": "1.0.16",
11
+ "@aiot-toolkit/dsl-vue": "1.0.16",
12
+ "@aiot-toolkit/dsl-xvm": "1.0.16",
13
+ "@aiot-toolkit/packager": "1.0.16",
14
+ "@aiot-toolkit/server": "1.0.16",
15
+ "@aiot-toolkit/shared-utils": "1.0.16",
16
16
  "@babel/core": "^7.9.6",
17
17
  "@babel/plugin-syntax-jsx": "^7.8.3",
18
18
  "@babel/preset-env": "^7.9.6",
@@ -52,5 +52,5 @@
52
52
  "supertest": "^3.3.0",
53
53
  "webpack-cli": "^4.3.0"
54
54
  },
55
- "gitHead": "dc58dfac17f93cd5e6fbe498c4e0ea1a686fa8ec"
55
+ "gitHead": "907b243690045f370216cc641980d87bbecc6233"
56
56
  }