@dcloudio/uni-cli-shared 3.0.0-alpha-4020620240820001 → 3.0.0-alpha-4020620240822002
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.d.ts +1 -0
- package/dist/uni_modules.js +1 -1
- package/dist/vite/cloud.js +2 -0
- package/package.json +4 -4
package/dist/uni_modules.d.ts
CHANGED
package/dist/uni_modules.js
CHANGED
|
@@ -498,7 +498,7 @@ function findLastIndex(array, predicate) {
|
|
|
498
498
|
}
|
|
499
499
|
let encryptUniModules = {};
|
|
500
500
|
function resolveEncryptUniModule(id, platform, isX = true) {
|
|
501
|
-
const parts = id.split('/');
|
|
501
|
+
const parts = id.split('?', 2)[0].split('/');
|
|
502
502
|
const index = findLastIndex(parts, (part) => part === 'uni_modules');
|
|
503
503
|
if (index !== -1) {
|
|
504
504
|
const uniModuleId = parts[index + 1];
|
package/dist/vite/cloud.js
CHANGED
|
@@ -174,6 +174,7 @@ function uniEncryptUniModulesPlugin() {
|
|
|
174
174
|
transform: {
|
|
175
175
|
uvueClassNamePrefix: 'Gen',
|
|
176
176
|
autoImports,
|
|
177
|
+
uvueGenDefaultAs: '__sfc__',
|
|
177
178
|
},
|
|
178
179
|
});
|
|
179
180
|
if (result) {
|
|
@@ -299,6 +300,7 @@ function genUniModulesPackageJson(uniModuleId, inputDir, artifacts) {
|
|
|
299
300
|
id: pkg.id,
|
|
300
301
|
version: pkg.version,
|
|
301
302
|
uni_modules: {
|
|
303
|
+
dependencies: pkg.uni_modules?.dependencies || [],
|
|
302
304
|
artifacts,
|
|
303
305
|
},
|
|
304
306
|
}, null, 2);
|
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-4020620240822002",
|
|
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-4020620240822002",
|
|
30
|
+
"@dcloudio/uni-shared": "3.0.0-alpha-4020620240822002",
|
|
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-4020620240822002",
|
|
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",
|