@dcloudio/uni-cli-shared 3.0.0-alpha-3061020221118001 → 3.0.0-alpha-3061020221121002
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/resolve.js +5 -1
- package/dist/utils.d.ts +1 -0
- package/dist/utils.js +2 -1
- package/dist/uts.js +4 -4
- package/package.json +4 -4
package/dist/resolve.js
CHANGED
|
@@ -36,7 +36,11 @@ exports.resolveMainPathOnce = (0, uni_shared_1.once)((inputDir) => {
|
|
|
36
36
|
}
|
|
37
37
|
return (0, utils_1.normalizePath)(path_1.default.resolve(inputDir, 'main.js'));
|
|
38
38
|
});
|
|
39
|
-
const ownerModules = [
|
|
39
|
+
const ownerModules = [
|
|
40
|
+
'@dcloudio/uni-app',
|
|
41
|
+
'@dcloudio/vite-plugin-uni',
|
|
42
|
+
'@dcloudio/uni-cli-shared',
|
|
43
|
+
];
|
|
40
44
|
const paths = [];
|
|
41
45
|
function resolveNodeModulePath(modulePath) {
|
|
42
46
|
const nodeModulesPaths = [];
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { default as hash } from 'hash-sum';
|
|
2
2
|
import { ElementNode, RootNode, TemplateChildNode } from '@vue/compiler-core';
|
|
3
3
|
import { ParserPlugin } from '@babel/parser';
|
|
4
|
+
export declare const version: any;
|
|
4
5
|
export declare let isRunningWithYarnPnp: boolean;
|
|
5
6
|
export declare const isWindows: boolean;
|
|
6
7
|
export declare function normalizePath(id: string): string;
|
package/dist/utils.js
CHANGED
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.installDepTips = exports.resolveSourceMapPath = exports.pathToGlob = exports.normalizeParsePlugins = exports.normalizeMiniProgramFilename = exports.normalizeNodeModules = exports.removeExt = exports.normalizePagePath = exports.normalizeIdentifier = exports.checkElementNodeTag = exports.normalizePath = exports.isWindows = exports.isRunningWithYarnPnp = exports.hash = void 0;
|
|
6
|
+
exports.installDepTips = exports.resolveSourceMapPath = exports.pathToGlob = exports.normalizeParsePlugins = exports.normalizeMiniProgramFilename = exports.normalizeNodeModules = exports.removeExt = exports.normalizePagePath = exports.normalizeIdentifier = exports.checkElementNodeTag = exports.normalizePath = exports.isWindows = exports.isRunningWithYarnPnp = exports.version = exports.hash = void 0;
|
|
7
7
|
const fs_1 = __importDefault(require("fs"));
|
|
8
8
|
const os_1 = __importDefault(require("os"));
|
|
9
9
|
const path_1 = __importDefault(require("path"));
|
|
@@ -13,6 +13,7 @@ var hash_sum_1 = require("hash-sum");
|
|
|
13
13
|
Object.defineProperty(exports, "hash", { enumerable: true, get: function () { return __importDefault(hash_sum_1).default; } });
|
|
14
14
|
const constants_1 = require("./constants");
|
|
15
15
|
const platform_1 = require("./platform");
|
|
16
|
+
exports.version = require('../package.json').version;
|
|
16
17
|
try {
|
|
17
18
|
exports.isRunningWithYarnPnp = Boolean(require('pnpapi'));
|
|
18
19
|
}
|
package/dist/uts.js
CHANGED
|
@@ -88,11 +88,11 @@ function resolveUTSCompiler() {
|
|
|
88
88
|
});
|
|
89
89
|
}
|
|
90
90
|
catch (e) {
|
|
91
|
-
let
|
|
92
|
-
if (version.startsWith('2.0.')) {
|
|
93
|
-
|
|
91
|
+
let utsCompilerVersion = utils_1.version;
|
|
92
|
+
if (utils_1.version.startsWith('2.0.')) {
|
|
93
|
+
utsCompilerVersion = '^3.0.0-alpha-3060920221117001';
|
|
94
94
|
}
|
|
95
|
-
console.error((0, utils_1.installDepTips)('devDependencies', '@dcloudio/uni-uts-v1',
|
|
95
|
+
console.error((0, utils_1.installDepTips)('devDependencies', '@dcloudio/uni-uts-v1', utsCompilerVersion));
|
|
96
96
|
process.exit(0);
|
|
97
97
|
}
|
|
98
98
|
}
|
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-3061020221121002",
|
|
4
4
|
"description": "@dcloudio/uni-cli-shared",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"@babel/core": "^7.19.6",
|
|
26
26
|
"@babel/parser": "^7.19.6",
|
|
27
27
|
"@babel/types": "^7.20.0",
|
|
28
|
-
"@dcloudio/uni-i18n": "3.0.0-alpha-
|
|
29
|
-
"@dcloudio/uni-shared": "3.0.0-alpha-
|
|
28
|
+
"@dcloudio/uni-i18n": "3.0.0-alpha-3061020221121002",
|
|
29
|
+
"@dcloudio/uni-shared": "3.0.0-alpha-3061020221121002",
|
|
30
30
|
"@intlify/core-base": "9.1.9",
|
|
31
31
|
"@intlify/shared": "9.1.9",
|
|
32
32
|
"@intlify/vue-devtools": "9.1.9",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
},
|
|
65
65
|
"gitHead": "33e807d66e1fe47e2ee08ad9c59247e37b8884da",
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@dcloudio/uni-uts-v1": "3.0.0-alpha-
|
|
67
|
+
"@dcloudio/uni-uts-v1": "3.0.0-alpha-3061020221121002",
|
|
68
68
|
"@types/babel__core": "^7.1.19",
|
|
69
69
|
"@types/debug": "^4.1.7",
|
|
70
70
|
"@types/estree": "^0.0.51",
|