@tuya-sat/micro-script 3.0.5 → 3.0.7-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.
@@ -200,7 +200,7 @@ function getCommonConfig({ isDev, isBuild, }) {
200
200
  chunkFilename: 'static/css/[name].[contenthash:8].chunk.css',
201
201
  }),
202
202
  isBuild && enableThemeCompile && new micro_dev_loader_1.ThemePlugin(),
203
- isMainApp && isBuild && new webpack_manifest_plugin_1.WebpackManifestPlugin({}),
203
+ isBuild && new webpack_manifest_plugin_1.WebpackManifestPlugin({}),
204
204
  ].filter((value) => Boolean(value)),
205
205
  };
206
206
  return baseConfig;
@@ -36,7 +36,7 @@ function getFakeSaas(config) {
36
36
  console.log(chalk_1.default.red('没有配置target'));
37
37
  process.exit(1);
38
38
  }
39
- const { data } = yield axios_1.default.get(new URL('/login', config.target).href);
39
+ const { data } = yield axios_1.default.get(new URL('/login?disable_third_login=true', config.target).href);
40
40
  const _SDF_CONFIG = parse_SDF_CONFIG(data);
41
41
  const _SDF = parse_SDF(data);
42
42
  const __MAIN_APP_PUBLIC_PATH = parse__MAIN_APP_PUBLIC_PATH(data);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuya-sat/micro-script",
3
- "version": "3.0.5",
3
+ "version": "3.0.7-beta.1",
4
4
  "bin": "./dist/bin/cli.js",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
@@ -20,9 +20,9 @@
20
20
  "@babel/preset-react": "7.16.7",
21
21
  "@babel/preset-typescript": "7.16.7",
22
22
  "@pmmmwh/react-refresh-webpack-plugin": "0.5.4",
23
- "@tuya-sat/micro-dev-loader": "3.0.5",
24
- "@tuya-sat/micro-dev-proxy": "3.0.5",
25
- "@tuya-sat/micro-utils": "3.0.5",
23
+ "@tuya-sat/micro-dev-loader": "3.0.7-beta.1",
24
+ "@tuya-sat/micro-dev-proxy": "3.0.7-beta.1",
25
+ "@tuya-sat/micro-utils": "3.0.7-beta.1",
26
26
  "@types/kill-port": "^2.0.0",
27
27
  "babel-loader": "8.2.4",
28
28
  "babel-plugin-import": "1.13.3",