@dcloudio/uni-cli-shared 3.0.0-alpha-3040520220408002 → 3.0.0-alpha-3040520220413001

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.
@@ -10,6 +10,7 @@ export declare const M: {
10
10
  readonly 'dev.watching.end.pages': "DONE Build complete. PAGES:{pages}";
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
+ readonly 'stat.warn.version': "当前应用未配置uni统计版本,默认使用1.0版本;建议使用uni统计2.0版本 ,私有部署数据更安全,代码开源可定制。详情:https://uniapp.dcloud.io/uni-stat";
13
14
  readonly 'i18n.fallbackLocale.default': "当前应用未在 manifest.json 配置 fallbackLocale,默认使用:{locale}";
14
15
  readonly 'i18n.fallbackLocale.missing': "当前应用配置的 fallbackLocale 或 locale 为:{locale},但 locale 目录缺少该语言文件";
15
16
  readonly 'easycom.conflict': "easycom组件冲突:";
@@ -13,6 +13,7 @@ exports.M = {
13
13
  'dev.watching.end.pages': 'DONE Build complete. PAGES:{pages}',
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
+ 'stat.warn.version': '当前应用未配置uni统计版本,默认使用1.0版本;建议使用uni统计2.0版本 ,私有部署数据更安全,代码开源可定制。详情:https://uniapp.dcloud.io/uni-stat',
16
17
  'i18n.fallbackLocale.default': '当前应用未在 manifest.json 配置 fallbackLocale,默认使用:{locale}',
17
18
  'i18n.fallbackLocale.missing': '当前应用配置的 fallbackLocale 或 locale 为:{locale},但 locale 目录缺少该语言文件',
18
19
  'easycom.conflict': 'easycom组件冲突:',
package/dist/resolve.d.ts CHANGED
@@ -3,4 +3,5 @@ export declare function relativeFile(from: string, to: string): string;
3
3
  export declare const resolveMainPathOnce: (inputDir: string) => string;
4
4
  export declare function getBuiltInPaths(): string[];
5
5
  export declare function resolveBuiltIn(path: string): string;
6
+ export declare function resolveVueI18nRuntime(): string;
6
7
  export declare function resolveComponentsLibPath(): string;
package/dist/resolve.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.resolveComponentsLibPath = exports.resolveBuiltIn = exports.getBuiltInPaths = exports.resolveMainPathOnce = exports.relativeFile = exports.requireResolve = void 0;
6
+ exports.resolveComponentsLibPath = exports.resolveVueI18nRuntime = exports.resolveBuiltIn = exports.getBuiltInPaths = exports.resolveMainPathOnce = exports.relativeFile = exports.requireResolve = void 0;
7
7
  const fs_1 = __importDefault(require("fs"));
8
8
  const path_1 = __importDefault(require("path"));
9
9
  const debug_1 = __importDefault(require("debug"));
@@ -87,6 +87,10 @@ function resolveBuiltIn(path) {
87
87
  return require.resolve(path, { paths: getBuiltInPaths() });
88
88
  }
89
89
  exports.resolveBuiltIn = resolveBuiltIn;
90
+ function resolveVueI18nRuntime() {
91
+ return path_1.default.resolve(__dirname, '../lib/vue-i18n/dist/vue-i18n.runtime.esm-bundler.js');
92
+ }
93
+ exports.resolveVueI18nRuntime = resolveVueI18nRuntime;
90
94
  let componentsLibPath = '';
91
95
  function resolveComponentsLibPath() {
92
96
  if (!componentsLibPath) {