aiot-toolkit 1.0.18-ets-beta.2 → 1.0.18-uxoptimize-beta.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Change Log
2
2
 
3
+ #### [1.0.17] - 2022-04-26
4
+
5
+ - 支持 `scroll` 组件
6
+ - 支持 `maml` 组件(和`image`组件一致)
7
+ - 修复路径为变量时,未转换成绝对路径的问题
8
+ - `server` 命令新增 `--devtool` 配置参数
9
+ - 增加 `maskRepeat` 属性
10
+ - 增加 CSS 属性 `box-shadow`、`text-shadow` 和 `background-blend-mode`
11
+
3
12
  #### [1.0.16] - 2022-12-02
4
13
 
5
14
  - 支持打包应用服务 service 文件
package/README.md CHANGED
@@ -41,6 +41,15 @@ npm run release
41
41
 
42
42
  ### 版本日志(详情请在 node_modules 中查看 CHANGELOG)
43
43
 
44
+ #### [1.0.17] - 2022-04-26
45
+
46
+ - 支持 `scroll` 组件
47
+ - 支持 `maml` 组件(和`image`组件一致)
48
+ - 修复路径为变量时,未转换成绝对路径的问题
49
+ - `server` 命令新增 `--devtool` 配置参数
50
+ - 增加 `maskRepeat` 属性
51
+ - 增加 CSS 属性 `box-shadow`、`text-shadow` 和 `background-blend-mode`
52
+
44
53
  #### [1.0.16] - 2022-12-02
45
54
 
46
55
  - 支持打包应用服务 service 文件
package/bin/index.js CHANGED
@@ -118,6 +118,7 @@ program
118
118
  .description('open server for project')
119
119
  .option('--port <port>', 'specified port')
120
120
  .option('--watch', 'recompile project while file changes')
121
+ .option('--devtool <value>', 'source map config')
121
122
  .option('--clear-records', 'clear device records')
122
123
  .option('--disable-adb', 'disable adb debug')
123
124
  .option('--chrome-path <chrome-path>', 'support for a user specified chrome path')
@@ -42,7 +42,6 @@ const {
42
42
  const pathMap = {
43
43
  packager: require.resolve('@aiot-toolkit/packager/lib/webpack.post.js'),
44
44
  xvm: require.resolve(`@aiot-toolkit/dsl-xvm/lib/webpack.post.js`),
45
- xts: require.resolve(`@aiot-toolkit/dsl-xvm/lib/webpack.post.js`),
46
45
  vue: require.resolve(`@aiot-toolkit/dsl-vue/lib/webpack.post.js`)
47
46
  }
48
47
 
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"),{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};
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=e.router.widgets||{},n=[{confs:e.router.floatingWindows||{},type:ENTRY_TYPE.FLOAT},{confs:s,type:ENTRY_TYPE.CARD}];n.unshift({confs:i,type:ENTRY_TYPE.PAGE});const c=resolveFile(path.join(o,"app"));c||(colorconsole.error("app file does not exist"),process.exit(1)),r.app="./"+path.relative(t,c)+`?uxType=${ENTRY_TYPE.APP}`,n.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 l=e.workers;l&&l.entries&&l.entries instanceof Array&&l.entries.filter((e=>e.file)).forEach((e=>{r[e.file.replace(/\.js$/,"")]="./src/"+e.file}));const a=e.services;if(!isEmptyObject(a))for(const e in a)Object.hasOwnProperty.call(a,e)&&(r["services/"+e]="./src/"+a[e].path+`?uxType=${ENTRY_TYPE.APP}`);return r};
2
2
  //# sourceMappingURL=utils.js.map
package/package.json CHANGED
@@ -1,22 +1,21 @@
1
1
  {
2
2
  "name": "aiot-toolkit",
3
- "version": "1.0.18-ets-beta.2",
3
+ "version": "1.0.18-uxoptimize-beta.1",
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.18-ets-beta.2",
10
- "@aiot-toolkit/debugger": "1.0.18-ets-beta.2",
11
- "@aiot-toolkit/dsl-vue": "1.0.18-ets-beta.2",
12
- "@aiot-toolkit/dsl-xvm": "1.0.18-ets-beta.2",
13
- "@aiot-toolkit/packager": "1.0.18-ets-beta.2",
14
- "@aiot-toolkit/server": "1.0.18-ets-beta.2",
15
- "@aiot-toolkit/shared-utils": "1.0.18-ets-beta.2",
9
+ "@aiot-toolkit/compiler": "1.0.18-uxoptimize-beta.1",
10
+ "@aiot-toolkit/debugger": "1.0.18-uxoptimize-beta.1",
11
+ "@aiot-toolkit/dsl-vue": "1.0.18-uxoptimize-beta.1",
12
+ "@aiot-toolkit/dsl-xvm": "1.0.18-uxoptimize-beta.1",
13
+ "@aiot-toolkit/packager": "1.0.18-uxoptimize-beta.1",
14
+ "@aiot-toolkit/server": "1.0.18-uxoptimize-beta.1",
15
+ "@aiot-toolkit/shared-utils": "1.0.18-uxoptimize-beta.1",
16
16
  "@babel/core": "^7.9.6",
17
17
  "@babel/plugin-syntax-jsx": "^7.8.3",
18
18
  "@babel/preset-env": "^7.9.6",
19
- "@babel/preset-typescript": "^7.21.0",
20
19
  "@babel/register": "^7.9.0",
21
20
  "@babel/runtime": "^7.9.6",
22
21
  "adb-commander": "^0.1.9",
@@ -53,5 +52,5 @@
53
52
  "supertest": "^3.3.0",
54
53
  "webpack-cli": "^4.3.0"
55
54
  },
56
- "gitHead": "58bb7a9864eb55c1cafd2d45aa1bab10a7645cf7"
55
+ "gitHead": "ef2eda9e27cabe19e3f0aaa8050e3d9b7c9cd107"
57
56
  }