@dcloudio/uni-cli-shared 3.0.0-alpha-3040720220422003 → 3.0.0-alpha-3040820220426001
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/hbx/alias.js +1 -0
- package/dist/messages/index.d.ts +1 -0
- package/dist/messages/index.js +1 -0
- package/dist/vite/plugins/inject.js +1 -13
- package/package.json +4 -4
- package/lib/.DS_Store +0 -0
- package/lib/vue-i18n/.DS_Store +0 -0
package/dist/hbx/alias.js
CHANGED
|
@@ -19,6 +19,7 @@ function initModuleAlias() {
|
|
|
19
19
|
const serverRendererPath = require.resolve('@vue/server-renderer');
|
|
20
20
|
module_alias_1.default.addAliases({
|
|
21
21
|
'@vue/shared': require.resolve('@vue/shared'),
|
|
22
|
+
'@vue/shared/dist/shared.esm-bundler.js': require.resolve('@vue/shared/dist/shared.esm-bundler.js'),
|
|
22
23
|
'@vue/compiler-dom': require.resolve('@vue/compiler-dom'),
|
|
23
24
|
'@vue/compiler-sfc': compilerSfcPath,
|
|
24
25
|
'@vue/server-renderer': serverRendererPath,
|
package/dist/messages/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export declare const M: {
|
|
|
11
11
|
readonly 'dev.watching.end.files': "DONE Build complete. FILES:{files}";
|
|
12
12
|
readonly 'stat.warn.appid': "当前应用未配置 appid,无法使用 uni 统计,详情参考:https://ask.dcloud.net.cn/article/36303";
|
|
13
13
|
readonly 'stat.warn.version': "当前应用未配置uni统计版本,默认使用1.0版本;建议使用uni统计2.0版本 ,私有部署数据更安全,代码开源可定制。详情:https://uniapp.dcloud.io/uni-stat";
|
|
14
|
+
readonly 'stat.warn.tip': "已开启 uni统计{version} 版本";
|
|
14
15
|
readonly 'i18n.fallbackLocale.default': "当前应用未在 manifest.json 配置 fallbackLocale,默认使用:{locale}";
|
|
15
16
|
readonly 'i18n.fallbackLocale.missing': "当前应用配置的 fallbackLocale 或 locale 为:{locale},但 locale 目录缺少该语言文件";
|
|
16
17
|
readonly 'easycom.conflict': "easycom组件冲突:";
|
package/dist/messages/index.js
CHANGED
|
@@ -14,6 +14,7 @@ exports.M = {
|
|
|
14
14
|
'dev.watching.end.files': 'DONE Build complete. FILES:{files}',
|
|
15
15
|
'stat.warn.appid': '当前应用未配置 appid,无法使用 uni 统计,详情参考:https://ask.dcloud.net.cn/article/36303',
|
|
16
16
|
'stat.warn.version': '当前应用未配置uni统计版本,默认使用1.0版本;建议使用uni统计2.0版本 ,私有部署数据更安全,代码开源可定制。详情:https://uniapp.dcloud.io/uni-stat',
|
|
17
|
+
'stat.warn.tip': '已开启 uni统计{version} 版本',
|
|
17
18
|
'i18n.fallbackLocale.default': '当前应用未在 manifest.json 配置 fallbackLocale,默认使用:{locale}',
|
|
18
19
|
'i18n.fallbackLocale.missing': '当前应用配置的 fallbackLocale 或 locale 为:{locale},但 locale 目录缺少该语言文件',
|
|
19
20
|
'easycom.conflict': 'easycom组件冲突:',
|
|
@@ -54,19 +54,7 @@ function uniViteInjectPlugin(name, options) {
|
|
|
54
54
|
return null;
|
|
55
55
|
if (path_1.sep !== '/')
|
|
56
56
|
id = id.split(path_1.sep).join('/');
|
|
57
|
-
|
|
58
|
-
try {
|
|
59
|
-
ast = this.parse(code);
|
|
60
|
-
}
|
|
61
|
-
catch (err) {
|
|
62
|
-
this.warn({
|
|
63
|
-
code: 'PARSE_ERROR',
|
|
64
|
-
message: `plugin-inject: failed to parse ${id}. Consider restricting the plugin to particular files via options.include`,
|
|
65
|
-
});
|
|
66
|
-
}
|
|
67
|
-
if (!ast) {
|
|
68
|
-
return null;
|
|
69
|
-
}
|
|
57
|
+
const ast = this.parse(code);
|
|
70
58
|
const imports = new Set();
|
|
71
59
|
ast.body.forEach((node) => {
|
|
72
60
|
if (node.type === 'ImportDeclaration') {
|
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-3040820220426001",
|
|
4
4
|
"description": "@dcloudio/uni-cli-shared",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"@babel/core": "^7.17.9",
|
|
22
22
|
"@babel/parser": "^7.17.9",
|
|
23
23
|
"@babel/types": "^7.17.0",
|
|
24
|
-
"@dcloudio/uni-i18n": "3.0.0-alpha-
|
|
25
|
-
"@dcloudio/uni-shared": "3.0.0-alpha-
|
|
24
|
+
"@dcloudio/uni-i18n": "3.0.0-alpha-3040820220426001",
|
|
25
|
+
"@dcloudio/uni-shared": "3.0.0-alpha-3040820220426001",
|
|
26
26
|
"@intlify/core-base": "9.1.9",
|
|
27
27
|
"@intlify/shared": "9.1.9",
|
|
28
28
|
"@intlify/vue-devtools": "9.1.9",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@vue/compiler-sfc": "3.2.33",
|
|
33
33
|
"@vue/server-renderer": "3.2.33",
|
|
34
34
|
"@vue/shared": "3.2.33",
|
|
35
|
-
"autoprefixer": "^10.4.
|
|
35
|
+
"autoprefixer": "^10.4.5",
|
|
36
36
|
"base64url": "^3.0.1",
|
|
37
37
|
"chokidar": "^3.5.3",
|
|
38
38
|
"compare-versions": "^3.6.0",
|
package/lib/.DS_Store
DELETED
|
Binary file
|
package/lib/vue-i18n/.DS_Store
DELETED
|
Binary file
|