aiot-toolkit 2.1.0-prender.2 → 2.1.0-prender.21
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
|
@@ -60,6 +60,8 @@ aiot-toolkit2.0目前支持的打包格式如下:
|
|
|
60
60
|
| --- | --- | --- | --- | --- |
|
|
61
61
|
| *devtool* | string | source map 配置 | | https://www.webpackjs.com/configuration/devtool/#devtool |
|
|
62
62
|
| *enable-jsc* | confirm | 是否启用 jsc bundle | `false` | |
|
|
63
|
+
| *enable-vru* | confirm | 是否使用 VRU 包装格式(release 模式生成 manifest+CERT+inner-vru 的双层 RPK) | `false` | |
|
|
64
|
+
| *legacy* | confirm | 输出旧包格式:模板与样式内联进 webpack 打包的 JS,不生成 template.json / css.json。需额外安装 `@rspack/core`(`npm i @rspack/core`) | `false` | |
|
|
63
65
|
| *enable-protobuf* | confirm | 是否启用 `protobuf` | `false` | |
|
|
64
66
|
| *enable-e2e* | confirm | 是否为当前项目注入测试套件 | `false` | https://doc.quickapp.cn/tutorial/others/testing.html |
|
|
65
67
|
| *enable-stats* | confirm | 分析 webpack 输出文件的大小 | `false` | |
|
|
@@ -21,6 +21,10 @@ interface IVelaUxBuilderOption extends IUxBuildOption {
|
|
|
21
21
|
* 是否使用 VRU 包装格式(release 模式生成 manifest+CERT+inner-vru 的双层 RPK)
|
|
22
22
|
*/
|
|
23
23
|
enableVru?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* 输出旧包格式:模板与样式内联进 webpack 打包的 JS,不生成 template.json / css.json。需额外安装 `@rspack/core`(`npm i @rspack/core`)
|
|
26
|
+
*/
|
|
27
|
+
legacy?: boolean;
|
|
24
28
|
/**
|
|
25
29
|
* 是否启用 `protobuf`
|
|
26
30
|
*/
|
|
@@ -26,6 +26,11 @@ const velaUxBuilderParams = exports.velaUxBuilderParams = [{
|
|
|
26
26
|
"name": "enable-vru",
|
|
27
27
|
"description": "enable VRU release format",
|
|
28
28
|
"defaultValue": false
|
|
29
|
+
}, {
|
|
30
|
+
"type": "confirm",
|
|
31
|
+
"name": "legacy",
|
|
32
|
+
"description": "emit the legacy (pre-JSON-template) package format: webpack-bundled JS with inlined template/style, no template.json/css.json. Needs @rspack/core, install it with `npm i @rspack/core`",
|
|
33
|
+
"defaultValue": false
|
|
29
34
|
}, {
|
|
30
35
|
"type": "confirm",
|
|
31
36
|
"name": "enable-protobuf",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aiot-toolkit",
|
|
3
|
-
"version": "2.1.0-prender.
|
|
3
|
+
"version": "2.1.0-prender.21",
|
|
4
4
|
"description": "Tools for creating, developing, and packaging aiot applications.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aiot"
|
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
"test": "node ./__tests__/aiot-toolkit.test.js"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@aiot-toolkit/aiotpack": "2.1.0-prender.
|
|
26
|
-
"@aiot-toolkit/commander": "2.1.0-prender.
|
|
27
|
-
"@aiot-toolkit/emulator": "2.1.0-prender.
|
|
28
|
-
"@aiot-toolkit/shared-utils": "2.1.0-prender.
|
|
25
|
+
"@aiot-toolkit/aiotpack": "2.1.0-prender.21",
|
|
26
|
+
"@aiot-toolkit/commander": "2.1.0-prender.21",
|
|
27
|
+
"@aiot-toolkit/emulator": "2.1.0-prender.21",
|
|
28
|
+
"@aiot-toolkit/shared-utils": "2.1.0-prender.21",
|
|
29
29
|
"@inquirer/prompts": "^5.3.0",
|
|
30
30
|
"@miwt/adb": "^0.9.0",
|
|
31
31
|
"axios": "^1.7.4",
|
|
32
|
-
"file-lane": "2.1.0-prender.
|
|
32
|
+
"file-lane": "2.1.0-prender.21",
|
|
33
33
|
"fs-extra": "^11.2.0",
|
|
34
34
|
"koa-router": "^13.0.1",
|
|
35
35
|
"lodash": "^4.17.21",
|