@tuya-sat/micro-script 3.3.10 → 3.3.12
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/dist/bin/cli.js
CHANGED
|
File without changes
|
|
@@ -150,7 +150,7 @@ function mockSaasInfo(app, microPort) {
|
|
|
150
150
|
port: microPort
|
|
151
151
|
}
|
|
152
152
|
]);
|
|
153
|
-
const entryInfo = consturctEntry(manifest, oem_micro_app_id, entry_id, baseUrl, lang, '');
|
|
153
|
+
const entryInfo = consturctEntry(manifest, oem_micro_app_id, entry_id, saasApps[0].custom_active_rule || baseUrl, lang, '');
|
|
154
154
|
const permission = consturctPermissions();
|
|
155
155
|
res.send({
|
|
156
156
|
code: null,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tuya-sat/micro-script",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.12",
|
|
4
4
|
"bin": "./dist/bin/cli.js",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"license": "MIT",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"scripts": {
|
|
13
13
|
"dev": "rm -rf dist/ && tsc --watch",
|
|
14
14
|
"build": "rm -rf dist/ && tsc && node ./scripts/copyTemplate.js",
|
|
15
|
-
"prepublish": "yarn build"
|
|
15
|
+
"prepublish": "yarn build",
|
|
16
|
+
"ci:publish": "NPM_TOKEN=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 npm publish"
|
|
16
17
|
},
|
|
17
18
|
"dependencies": {
|
|
18
19
|
"@babel/core": "7.17.8",
|
|
@@ -23,9 +24,9 @@
|
|
|
23
24
|
"@babel/preset-typescript": "7.16.7",
|
|
24
25
|
"@babel/traverse": "^7.20.13",
|
|
25
26
|
"@pmmmwh/react-refresh-webpack-plugin": "0.5.4",
|
|
26
|
-
"@tuya-sat/micro-dev-loader": "
|
|
27
|
-
"@tuya-sat/micro-dev-proxy": "
|
|
28
|
-
"@tuya-sat/micro-utils": "
|
|
27
|
+
"@tuya-sat/micro-dev-loader": "workspace:packages/tuya-sat-micro-dev-loader",
|
|
28
|
+
"@tuya-sat/micro-dev-proxy": "workspace:packages/tuya-sat-micro-dev-proxy",
|
|
29
|
+
"@tuya-sat/micro-utils": "workspace:packages/tuya-sat-micro-utils",
|
|
29
30
|
"@types/kill-port": "^2.0.0",
|
|
30
31
|
"babel-loader": "8.2.4",
|
|
31
32
|
"babel-plugin-import": "1.13.3",
|
|
@@ -93,4 +94,4 @@
|
|
|
93
94
|
"cloud",
|
|
94
95
|
"tuya"
|
|
95
96
|
]
|
|
96
|
-
}
|
|
97
|
+
}
|