@dcloudio/uni-cli-shared 3.0.0-5020420260813001 → 3.0.0-5020420260813003
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 +3 -19
- package/package.json +5 -5
package/dist/resolve.js
CHANGED
|
@@ -110,13 +110,11 @@ function resolveBuiltIn(module) {
|
|
|
110
110
|
}
|
|
111
111
|
exports.resolveBuiltIn = resolveBuiltIn;
|
|
112
112
|
function resolveVueI18nRuntime() {
|
|
113
|
-
return path_1.default.resolve(__dirname,
|
|
114
|
-
? '../lib/dom2/vue-i18n/dist/vue-i18n.runtime.esm-bundler.js'
|
|
115
|
-
: '../lib/vue-i18n/dist/vue-i18n.runtime.esm-bundler.js');
|
|
113
|
+
return path_1.default.resolve(__dirname, '../lib/vue-i18n/dist/vue-i18n.runtime.esm-bundler.js');
|
|
116
114
|
}
|
|
117
115
|
exports.resolveVueI18nRuntime = resolveVueI18nRuntime;
|
|
118
116
|
function resolveVueI18n() {
|
|
119
|
-
return path_1.default.resolve(__dirname, '../lib/
|
|
117
|
+
return path_1.default.resolve(__dirname, '../lib/vue-i18n/dist/vue-i18n.runtime.esm-bundler.js');
|
|
120
118
|
}
|
|
121
119
|
exports.resolveVueI18n = resolveVueI18n;
|
|
122
120
|
function resolveProjectModule(module) {
|
|
@@ -138,17 +136,7 @@ function resolveDevtoolsApi(libDir) {
|
|
|
138
136
|
return path_1.default.resolve(libDir, '@vue/devtools-api/dist/index.js');
|
|
139
137
|
}
|
|
140
138
|
function resolveVueI18nDependencies() {
|
|
141
|
-
|
|
142
|
-
resolveProjectVueI18n() !== undefined) {
|
|
143
|
-
return {};
|
|
144
|
-
}
|
|
145
|
-
const libDir = path_1.default.resolve(__dirname, '../lib/dom2');
|
|
146
|
-
return {
|
|
147
|
-
'@intlify/core-base': path_1.default.resolve(libDir, '@intlify/core-base/dist/core-base.mjs'),
|
|
148
|
-
'@intlify/message-compiler': path_1.default.resolve(libDir, '@intlify/message-compiler/dist/message-compiler.mjs'),
|
|
149
|
-
'@intlify/shared': path_1.default.resolve(libDir, '@intlify/shared/dist/shared.mjs'),
|
|
150
|
-
'@vue/devtools-api': resolveDevtoolsApi(libDir),
|
|
151
|
-
};
|
|
139
|
+
return {};
|
|
152
140
|
}
|
|
153
141
|
exports.resolveVueI18nDependencies = resolveVueI18nDependencies;
|
|
154
142
|
function resolvePinia() {
|
|
@@ -179,10 +167,6 @@ function resolvePiniaAlias() {
|
|
|
179
167
|
}
|
|
180
168
|
exports.resolvePiniaAlias = resolvePiniaAlias;
|
|
181
169
|
function resolveVueI18nRuntimeAlias() {
|
|
182
|
-
if (process.env.UNI_APP_X === 'true' &&
|
|
183
|
-
resolveProjectVueI18n() !== undefined) {
|
|
184
|
-
return {};
|
|
185
|
-
}
|
|
186
170
|
return {
|
|
187
171
|
...resolveVueI18nDependencies(),
|
|
188
172
|
'vue-i18n': resolveVueI18nRuntime(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcloudio/uni-cli-shared",
|
|
3
|
-
"version": "3.0.0-
|
|
3
|
+
"version": "3.0.0-5020420260813003",
|
|
4
4
|
"description": "@dcloudio/uni-cli-shared",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -69,9 +69,9 @@
|
|
|
69
69
|
"unimport": "4.1.1",
|
|
70
70
|
"unplugin-auto-import": "19.1.0",
|
|
71
71
|
"xregexp": "5.1.2",
|
|
72
|
-
"@dcloudio/uni-
|
|
73
|
-
"@dcloudio/uni-
|
|
74
|
-
"@dcloudio/uni-
|
|
72
|
+
"@dcloudio/uni-i18n": "3.0.0-5020420260813003",
|
|
73
|
+
"@dcloudio/uni-nvue-styler": "3.0.0-5020420260813003",
|
|
74
|
+
"@dcloudio/uni-shared": "3.0.0-5020420260813003"
|
|
75
75
|
},
|
|
76
76
|
"gitHead": "33e807d66e1fe47e2ee08ad9c59247e37b8884da",
|
|
77
77
|
"devDependencies": {
|
|
@@ -91,6 +91,6 @@
|
|
|
91
91
|
"code-frame": "link:@types/@babel/code-frame",
|
|
92
92
|
"postcss": "8.5.6",
|
|
93
93
|
"vue": "3.4.21",
|
|
94
|
-
"@dcloudio/uni-uts-v1": "3.0.0-
|
|
94
|
+
"@dcloudio/uni-uts-v1": "3.0.0-5020420260813003"
|
|
95
95
|
}
|
|
96
96
|
}
|