@dcloudio/uni-cli-shared 3.0.0-alpha-4000120240201001 → 3.0.0-alpha-4000120240201002
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/easycom.js +2 -0
- package/package.json +4 -4
package/dist/easycom.js
CHANGED
|
@@ -103,6 +103,7 @@ function initUniModulesEasycomDirs(uniModulesDir) {
|
|
|
103
103
|
}
|
|
104
104
|
function initEasycom({ isX, dirs, rootDir, custom, extensions, }) {
|
|
105
105
|
clearEasycom();
|
|
106
|
+
rootDir = (0, utils_1.normalizePath)(rootDir);
|
|
106
107
|
const easycomsObj = Object.create(null);
|
|
107
108
|
if (dirs && dirs.length && rootDir) {
|
|
108
109
|
const autoEasyComObj = initAutoScanEasycoms(dirs, rootDir, extensions);
|
|
@@ -259,6 +260,7 @@ function genUTSComponentPublicInstanceIdent(tagName) {
|
|
|
259
260
|
}
|
|
260
261
|
exports.genUTSComponentPublicInstanceIdent = genUTSComponentPublicInstanceIdent;
|
|
261
262
|
function genUTSComponentPublicInstanceImported(root, fileName) {
|
|
263
|
+
root = (0, utils_1.normalizePath)(root);
|
|
262
264
|
if (path_1.default.isAbsolute(fileName) && fileName.startsWith(root)) {
|
|
263
265
|
fileName = (0, utils_1.normalizePath)(path_1.default.relative(root, fileName));
|
|
264
266
|
}
|
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-4000120240201002",
|
|
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.21.3",
|
|
27
27
|
"@babel/parser": "^7.23.5",
|
|
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-4000120240201002",
|
|
30
|
+
"@dcloudio/uni-shared": "3.0.0-alpha-4000120240201002",
|
|
31
31
|
"@intlify/core-base": "9.1.9",
|
|
32
32
|
"@intlify/shared": "9.1.9",
|
|
33
33
|
"@intlify/vue-devtools": "9.1.9",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
},
|
|
68
68
|
"gitHead": "33e807d66e1fe47e2ee08ad9c59247e37b8884da",
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@dcloudio/uni-uts-v1": "3.0.0-alpha-
|
|
70
|
+
"@dcloudio/uni-uts-v1": "3.0.0-alpha-4000120240201002",
|
|
71
71
|
"@types/babel__code-frame": "^7.0.6",
|
|
72
72
|
"@types/babel__core": "^7.1.19",
|
|
73
73
|
"@types/debug": "^4.1.7",
|