@tuya-sat/micro-script 3.3.4 → 3.3.6

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.
@@ -226,6 +226,7 @@ function getCommonConfig({ isDev, isBuild, port, }) {
226
226
  to() {
227
227
  return 'static/img/[name][ext]';
228
228
  },
229
+ noErrorOnMissing: true,
229
230
  },
230
231
  ].filter((value) => Boolean(value)),
231
232
  }),
@@ -225,7 +225,7 @@ function refactorConstructApp(config, localApps) {
225
225
  return localApps.map((app) => {
226
226
  const uuid = app.manifest.universalId;
227
227
  const appInfo = saasAppsMap[app.oem_micro_app_id] || {};
228
- return Object.assign(Object.assign({}, appInfo), { active_rule: app.baseUrl, micro_app_code: app.code || `${packageInfo.name}`, micro_app_name: app.code ? `${app.code}-dev` : `${packageInfo.name}-dev`, micro_app_version: '0.0.0-x', oem_micro_app_id: app.oem_micro_app_id, resource: `http://localhost:${app.port}/${app.code || 'index'}.html`, universal_id: uuid, isAuth: true, schema: null });
228
+ return Object.assign(Object.assign({}, appInfo), { active_rule: app.baseUrl, micro_app_code: app.code || `${packageInfo.name}`, micro_app_name: app.code ? `${app.code}-dev` : `${packageInfo.name}-dev`, micro_app_version: '0.0.0-x', oem_micro_app_id: app.oem_micro_app_id, resource: `http://localhost:${app.port}/${app.code || 'index'}.html`, universal_id: uuid, isAuth: true, schema: null, ext_info: app.manifest.annotations });
229
229
  });
230
230
  });
231
231
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuya-sat/micro-script",
3
- "version": "3.3.4",
3
+ "version": "3.3.6",
4
4
  "bin": "./dist/bin/cli.js",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
@@ -23,9 +23,9 @@
23
23
  "@babel/preset-typescript": "7.16.7",
24
24
  "@babel/traverse": "^7.20.13",
25
25
  "@pmmmwh/react-refresh-webpack-plugin": "0.5.4",
26
- "@tuya-sat/micro-dev-loader": "3.3.4",
27
- "@tuya-sat/micro-dev-proxy": "3.3.4",
28
- "@tuya-sat/micro-utils": "3.3.4",
26
+ "@tuya-sat/micro-dev-loader": "3.3.6",
27
+ "@tuya-sat/micro-dev-proxy": "3.3.6",
28
+ "@tuya-sat/micro-utils": "3.3.6",
29
29
  "@types/kill-port": "^2.0.0",
30
30
  "babel-loader": "8.2.4",
31
31
  "babel-plugin-import": "1.13.3",