@dcloudio/uni-cli-shared 3.0.0-alpha-4010820240516001 → 3.0.0-alpha-4010820240520001
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/uni_modules.js +5 -3
- package/package.json +4 -4
package/dist/uni_modules.js
CHANGED
|
@@ -490,9 +490,10 @@ async function checkEncryptUniModules(inputDir, params) {
|
|
|
490
490
|
const { zipFile, modules } = packUploadEncryptUniModules(encryptUniModules, process.env.UNI_UTS_PLATFORM, inputDir, cacheDir);
|
|
491
491
|
if (zipFile) {
|
|
492
492
|
const downloadFile = path_1.default.resolve(cacheDir, 'uni_modules.download.zip');
|
|
493
|
-
const {
|
|
493
|
+
const { C, D, R, U } = require(path_1.default.join(process.env.UNI_HBUILDERX_PLUGINS, 'uni_helpers'));
|
|
494
494
|
try {
|
|
495
|
-
|
|
495
|
+
const isLogin = await C();
|
|
496
|
+
console.log(`正在云编译插件${isLogin ? '' : '(请先登录)'}:${modules.join(',')}...`);
|
|
496
497
|
const downloadUrl = await U({
|
|
497
498
|
params,
|
|
498
499
|
attachment: zipFile,
|
|
@@ -508,7 +509,8 @@ async function checkEncryptUniModules(inputDir, params) {
|
|
|
508
509
|
dir: process.env.UNI_INPUT_DIR,
|
|
509
510
|
cacheDir: process.env.UNI_MODULES_ENCRYPT_CACHE_DIR,
|
|
510
511
|
});
|
|
511
|
-
console.log(
|
|
512
|
+
console.log(`云编译已完成`);
|
|
513
|
+
console.log(`正在编译中...`);
|
|
512
514
|
}
|
|
513
515
|
catch (e) {
|
|
514
516
|
fs_extra_1.default.existsSync(zipFile) && fs_extra_1.default.unlinkSync(zipFile);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcloudio/uni-cli-shared",
|
|
3
|
-
"version": "3.0.0-alpha-
|
|
3
|
+
"version": "3.0.0-alpha-4010820240520001",
|
|
4
4
|
"description": "@dcloudio/uni-cli-shared",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"@babel/core": "^7.23.3",
|
|
27
27
|
"@babel/parser": "^7.23.9",
|
|
28
28
|
"@babel/types": "^7.20.7",
|
|
29
|
-
"@dcloudio/uni-i18n": "3.0.0-alpha-
|
|
30
|
-
"@dcloudio/uni-shared": "3.0.0-alpha-
|
|
29
|
+
"@dcloudio/uni-i18n": "3.0.0-alpha-4010820240520001",
|
|
30
|
+
"@dcloudio/uni-shared": "3.0.0-alpha-4010820240520001",
|
|
31
31
|
"@intlify/core-base": "9.1.9",
|
|
32
32
|
"@intlify/shared": "9.1.9",
|
|
33
33
|
"@intlify/vue-devtools": "9.1.9",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
},
|
|
72
72
|
"gitHead": "33e807d66e1fe47e2ee08ad9c59247e37b8884da",
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@dcloudio/uni-uts-v1": "3.0.0-alpha-
|
|
74
|
+
"@dcloudio/uni-uts-v1": "3.0.0-alpha-4010820240520001",
|
|
75
75
|
"@types/adm-zip": "^0.5.5",
|
|
76
76
|
"@types/babel__code-frame": "^7.0.6",
|
|
77
77
|
"@types/babel__core": "^7.1.19",
|