@dcloudio/uni-cli-shared 3.0.0-alpha-5010220260604001 → 3.0.0-alpha-5010320260611001
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/json/app/manifest/plus.js +9 -1
- package/dist/messages/en.d.ts +2 -2
- package/dist/messages/en.js +2 -2
- package/dist/messages/index.d.ts +4 -4
- package/dist/messages/zh_CN.d.ts +2 -2
- package/dist/messages/zh_CN.js +2 -2
- package/lib/dom2/app/@vue/compiler-vapor-dom2/dist/compiler-vapor-dom2.cjs.js +1 -1
- package/package.json +5 -5
|
@@ -117,7 +117,15 @@ function initUniStatistics(manifestJson) {
|
|
|
117
117
|
if (!uniStatistics) {
|
|
118
118
|
return;
|
|
119
119
|
}
|
|
120
|
-
|
|
120
|
+
/**
|
|
121
|
+
* 判断是否为私有版统计:
|
|
122
|
+
* - 新配置:type === 'private'
|
|
123
|
+
* - 旧配置兼容:version === 2
|
|
124
|
+
*/
|
|
125
|
+
const isPrivateStat = uniStatistics.type === 'private' ||
|
|
126
|
+
uniStatistics.version === 2 ||
|
|
127
|
+
uniStatistics.version === '2';
|
|
128
|
+
if (isPrivateStat) {
|
|
121
129
|
if (uniStatistics.uniCloud && uniStatistics.uniCloud.spaceId) {
|
|
122
130
|
return;
|
|
123
131
|
}
|
package/dist/messages/en.d.ts
CHANGED
|
@@ -19,8 +19,8 @@ declare const _default: {
|
|
|
19
19
|
readonly 'build.failed': "DONE Build failed.";
|
|
20
20
|
readonly 'compiler.build.failed': "Build failed with errors.";
|
|
21
21
|
readonly 'stat.warn.appid': "The current application is not configured with Appid, and uni statistics cannot be used. For details, see https://ask.dcloud.net.cn/article/36303";
|
|
22
|
-
readonly 'stat.warn.version': "The uni statistics
|
|
23
|
-
readonly 'stat.warn.tip': "uni statistics
|
|
22
|
+
readonly 'stat.warn.version': "The uni statistics type is not configured. The default type is public. You can set it to public or private. Details: https://uniapp.dcloud.io/uni-stat";
|
|
23
|
+
readonly 'stat.warn.tip': "uni statistics enabled: {type}";
|
|
24
24
|
readonly 'i18n.fallbackLocale.default': "fallbackLocale is missing in manifest.json, use: {locale}";
|
|
25
25
|
readonly 'i18n.fallbackLocale.missing': "./local/{locale}.json is missing";
|
|
26
26
|
readonly 'easycom.conflict': "easycom component conflict: ";
|
package/dist/messages/en.js
CHANGED
|
@@ -21,8 +21,8 @@ exports.default = {
|
|
|
21
21
|
'build.failed': 'DONE Build failed.',
|
|
22
22
|
'compiler.build.failed': 'Build failed with errors.',
|
|
23
23
|
'stat.warn.appid': 'The current application is not configured with Appid, and uni statistics cannot be used. For details, see https://ask.dcloud.net.cn/article/36303',
|
|
24
|
-
'stat.warn.version': 'The uni statistics
|
|
25
|
-
'stat.warn.tip': 'uni statistics
|
|
24
|
+
'stat.warn.version': 'The uni statistics type is not configured. The default type is public. You can set it to public or private. Details: https://uniapp.dcloud.io/uni-stat',
|
|
25
|
+
'stat.warn.tip': 'uni statistics enabled: {type}',
|
|
26
26
|
'i18n.fallbackLocale.default': 'fallbackLocale is missing in manifest.json, use: {locale}',
|
|
27
27
|
'i18n.fallbackLocale.missing': './local/{locale}.json is missing',
|
|
28
28
|
'easycom.conflict': 'easycom component conflict: ',
|
package/dist/messages/index.d.ts
CHANGED
|
@@ -19,8 +19,8 @@ export declare const M: {
|
|
|
19
19
|
readonly 'build.failed': "DONE Build failed.";
|
|
20
20
|
readonly 'compiler.build.failed': "编译失败";
|
|
21
21
|
readonly 'stat.warn.appid': "当前应用未配置 appid,无法使用 uni 统计,详情参考:https://ask.dcloud.net.cn/article/36303";
|
|
22
|
-
readonly 'stat.warn.version': "当前应用未配置uni
|
|
23
|
-
readonly 'stat.warn.tip': "已开启
|
|
22
|
+
readonly 'stat.warn.version': "当前应用未配置 uni 统计版本,默认使用公有版;可配置为公有版或私有版。详情:https://uniapp.dcloud.io/uni-stat";
|
|
23
|
+
readonly 'stat.warn.tip': "已开启uni 统计 2.0{type}";
|
|
24
24
|
readonly 'i18n.fallbackLocale.default': "当前应用未在 manifest.json 配置 fallbackLocale,默认使用:{locale}";
|
|
25
25
|
readonly 'i18n.fallbackLocale.missing': "当前应用配置的 fallbackLocale 或 locale 为:{locale},但 locale 目录缺少该语言文件";
|
|
26
26
|
readonly 'easycom.conflict': "easycom组件冲突:";
|
|
@@ -76,8 +76,8 @@ export declare const M: {
|
|
|
76
76
|
readonly 'build.failed': "DONE Build failed.";
|
|
77
77
|
readonly 'compiler.build.failed': "Build failed with errors.";
|
|
78
78
|
readonly 'stat.warn.appid': "The current application is not configured with Appid, and uni statistics cannot be used. For details, see https://ask.dcloud.net.cn/article/36303";
|
|
79
|
-
readonly 'stat.warn.version': "The uni statistics
|
|
80
|
-
readonly 'stat.warn.tip': "uni statistics
|
|
79
|
+
readonly 'stat.warn.version': "The uni statistics type is not configured. The default type is public. You can set it to public or private. Details: https://uniapp.dcloud.io/uni-stat";
|
|
80
|
+
readonly 'stat.warn.tip': "uni statistics enabled: {type}";
|
|
81
81
|
readonly 'i18n.fallbackLocale.default': "fallbackLocale is missing in manifest.json, use: {locale}";
|
|
82
82
|
readonly 'i18n.fallbackLocale.missing': "./local/{locale}.json is missing";
|
|
83
83
|
readonly 'easycom.conflict': "easycom component conflict: ";
|
package/dist/messages/zh_CN.d.ts
CHANGED
|
@@ -19,8 +19,8 @@ declare const _default: {
|
|
|
19
19
|
readonly 'build.failed': "DONE Build failed.";
|
|
20
20
|
readonly 'compiler.build.failed': "编译失败";
|
|
21
21
|
readonly 'stat.warn.appid': "当前应用未配置 appid,无法使用 uni 统计,详情参考:https://ask.dcloud.net.cn/article/36303";
|
|
22
|
-
readonly 'stat.warn.version': "当前应用未配置uni
|
|
23
|
-
readonly 'stat.warn.tip': "已开启
|
|
22
|
+
readonly 'stat.warn.version': "当前应用未配置 uni 统计版本,默认使用公有版;可配置为公有版或私有版。详情:https://uniapp.dcloud.io/uni-stat";
|
|
23
|
+
readonly 'stat.warn.tip': "已开启uni 统计 2.0{type}";
|
|
24
24
|
readonly 'i18n.fallbackLocale.default': "当前应用未在 manifest.json 配置 fallbackLocale,默认使用:{locale}";
|
|
25
25
|
readonly 'i18n.fallbackLocale.missing': "当前应用配置的 fallbackLocale 或 locale 为:{locale},但 locale 目录缺少该语言文件";
|
|
26
26
|
readonly 'easycom.conflict': "easycom组件冲突:";
|
package/dist/messages/zh_CN.js
CHANGED
|
@@ -21,8 +21,8 @@ exports.default = {
|
|
|
21
21
|
'build.failed': 'DONE Build failed.',
|
|
22
22
|
'compiler.build.failed': '编译失败',
|
|
23
23
|
'stat.warn.appid': '当前应用未配置 appid,无法使用 uni 统计,详情参考:https://ask.dcloud.net.cn/article/36303',
|
|
24
|
-
'stat.warn.version': '当前应用未配置uni
|
|
25
|
-
'stat.warn.tip': '已开启
|
|
24
|
+
'stat.warn.version': '当前应用未配置 uni 统计版本,默认使用公有版;可配置为公有版或私有版。详情:https://uniapp.dcloud.io/uni-stat',
|
|
25
|
+
'stat.warn.tip': '已开启uni 统计 2.0{type}',
|
|
26
26
|
'i18n.fallbackLocale.default': '当前应用未在 manifest.json 配置 fallbackLocale,默认使用:{locale}',
|
|
27
27
|
'i18n.fallbackLocale.missing': '当前应用配置的 fallbackLocale 或 locale 为:{locale},但 locale 目录缺少该语言文件',
|
|
28
28
|
'easycom.conflict': 'easycom组件冲突:',
|