@dcloudio/uni-cli-shared 3.0.0-alpha-3070720230316001 → 3.0.0-alpha-3071220230324001
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/esbuild.d.ts +2 -2
- package/dist/hbx/alias.js +1 -0
- package/dist/json/mp/types.d.ts +1 -0
- package/dist/messages/en.d.ts +12 -0
- package/dist/messages/en.js +12 -0
- package/dist/messages/index.d.ts +24 -0
- package/dist/messages/zh_CN.d.ts +12 -0
- package/dist/messages/zh_CN.js +12 -0
- package/dist/vite/plugins/vitejs/plugins/css.js +6 -1
- package/package.json +6 -6
package/dist/esbuild.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { BuildOptions } from 'esbuild';
|
|
2
|
-
export declare function transformWithEsbuild(code: string, filename: string, options: BuildOptions): Promise<import("esbuild").BuildResult
|
|
3
|
-
export declare function esbuild(options: BuildOptions): Promise<import("esbuild").BuildResult
|
|
2
|
+
export declare function transformWithEsbuild(code: string, filename: string, options: BuildOptions): Promise<import("esbuild").BuildResult<BuildOptions>>;
|
|
3
|
+
export declare function esbuild(options: BuildOptions): Promise<import("esbuild").BuildResult<BuildOptions>>;
|
package/dist/hbx/alias.js
CHANGED
package/dist/json/mp/types.d.ts
CHANGED
package/dist/messages/en.d.ts
CHANGED
|
@@ -24,5 +24,17 @@ declare const _default: {
|
|
|
24
24
|
readonly 'uts.android.compiler.server': "The project uses the uts plugin, installing the uts Android runtime extension...";
|
|
25
25
|
readonly 'uts.ios.windows.tips': "When running on Windows to iOS mobile phone, the modification of the uts plugin code needs to be submitted to the cloud to package the custom playground to take effect.";
|
|
26
26
|
readonly 'uts.ios.standard.tips': "When the standard playground runs to an IOS phone, the uts plugin is temporarily not supported. If you need to call the uts plugin, please use a custom playground";
|
|
27
|
+
readonly 'prompt.run.message': "Run method: open {devtools}, import {outputDir} run.";
|
|
28
|
+
readonly 'prompt.run.devtools.app': "HBuilderX";
|
|
29
|
+
readonly 'prompt.run.devtools.mp-alipay': "Alipay Mini Program Devtools";
|
|
30
|
+
readonly 'prompt.run.devtools.mp-baidu': "Baidu Mini Program Devtools";
|
|
31
|
+
readonly 'prompt.run.devtools.mp--kuaishou': "Kuaishou Mini Program Devtools";
|
|
32
|
+
readonly 'prompt.run.devtools.mp-lark': "Lark Mini Program Devtools";
|
|
33
|
+
readonly 'prompt.run.devtools.mp-qq': "QQ Mini Program Devtools";
|
|
34
|
+
readonly 'prompt.run.devtools.mp-toutiao': "ByteDance Mini Program Devtools";
|
|
35
|
+
readonly 'prompt.run.devtools.mp-weixin': "Weixin Mini Program Devtools";
|
|
36
|
+
readonly 'prompt.run.devtools.quickapp-webview': "Quick App Alliance Devtools | Huawei Quick App Devtools";
|
|
37
|
+
readonly 'prompt.run.devtools.quickapp-webview-huawei': "Huawei Quick App Devtools";
|
|
38
|
+
readonly 'prompt.run.devtools.quickapp-webview-union': "Quick App Alliance Devtools";
|
|
27
39
|
};
|
|
28
40
|
export default _default;
|
package/dist/messages/en.js
CHANGED
|
@@ -26,4 +26,16 @@ exports.default = {
|
|
|
26
26
|
'uts.android.compiler.server': 'The project uses the uts plugin, installing the uts Android runtime extension...',
|
|
27
27
|
'uts.ios.windows.tips': 'When running on Windows to iOS mobile phone, the modification of the uts plugin code needs to be submitted to the cloud to package the custom playground to take effect.',
|
|
28
28
|
'uts.ios.standard.tips': 'When the standard playground runs to an IOS phone, the uts plugin is temporarily not supported. If you need to call the uts plugin, please use a custom playground',
|
|
29
|
+
'prompt.run.message': 'Run method: open {devtools}, import {outputDir} run.',
|
|
30
|
+
'prompt.run.devtools.app': 'HBuilderX',
|
|
31
|
+
'prompt.run.devtools.mp-alipay': 'Alipay Mini Program Devtools',
|
|
32
|
+
'prompt.run.devtools.mp-baidu': 'Baidu Mini Program Devtools',
|
|
33
|
+
'prompt.run.devtools.mp--kuaishou': 'Kuaishou Mini Program Devtools',
|
|
34
|
+
'prompt.run.devtools.mp-lark': 'Lark Mini Program Devtools',
|
|
35
|
+
'prompt.run.devtools.mp-qq': 'QQ Mini Program Devtools',
|
|
36
|
+
'prompt.run.devtools.mp-toutiao': 'ByteDance Mini Program Devtools',
|
|
37
|
+
'prompt.run.devtools.mp-weixin': 'Weixin Mini Program Devtools',
|
|
38
|
+
'prompt.run.devtools.quickapp-webview': 'Quick App Alliance Devtools | Huawei Quick App Devtools',
|
|
39
|
+
'prompt.run.devtools.quickapp-webview-huawei': 'Huawei Quick App Devtools',
|
|
40
|
+
'prompt.run.devtools.quickapp-webview-union': 'Quick App Alliance Devtools',
|
|
29
41
|
};
|
package/dist/messages/index.d.ts
CHANGED
|
@@ -24,6 +24,18 @@ export declare const M: {
|
|
|
24
24
|
readonly 'uts.android.compiler.server': "项目使用了uts插件,正在安装 uts Android 运行扩展...";
|
|
25
25
|
readonly 'uts.ios.windows.tips': "iOS手机在windows上使用标准基座真机运行无法使用uts插件,如需使用uts插件请提交云端打包自定义基座";
|
|
26
26
|
readonly 'uts.ios.standard.tips': "iOS手机在标准基座真机运行暂不支持uts插件,如需调用uts插件请使用自定义基座";
|
|
27
|
+
readonly 'prompt.run.message': "运行方式:打开 {devtools}, 导入 {outputDir} 运行。";
|
|
28
|
+
readonly 'prompt.run.devtools.app': "HBuilderX";
|
|
29
|
+
readonly 'prompt.run.devtools.mp-alipay': "支付宝小程序开发者工具";
|
|
30
|
+
readonly 'prompt.run.devtools.mp-baidu': "百度开发者工具";
|
|
31
|
+
readonly 'prompt.run.devtools.mp--kuaishou': "快手开发者工具";
|
|
32
|
+
readonly 'prompt.run.devtools.mp-lark': "飞书开发者工具";
|
|
33
|
+
readonly 'prompt.run.devtools.mp-qq': "QQ小程序开发者工具";
|
|
34
|
+
readonly 'prompt.run.devtools.mp-toutiao': "字节跳动开发者工具";
|
|
35
|
+
readonly 'prompt.run.devtools.mp-weixin': "微信开发者工具";
|
|
36
|
+
readonly 'prompt.run.devtools.quickapp-webview': "快应用联盟开发者工具 | 华为快应用开发者工具";
|
|
37
|
+
readonly 'prompt.run.devtools.quickapp-webview-huawei': "华为快应用开发者工具";
|
|
38
|
+
readonly 'prompt.run.devtools.quickapp-webview-union': "快应用联盟开发者工具";
|
|
27
39
|
} | {
|
|
28
40
|
readonly 'app.compiler.version': "Compiler version: {version}";
|
|
29
41
|
readonly compiling: "Compiling...";
|
|
@@ -50,4 +62,16 @@ export declare const M: {
|
|
|
50
62
|
readonly 'uts.android.compiler.server': "The project uses the uts plugin, installing the uts Android runtime extension...";
|
|
51
63
|
readonly 'uts.ios.windows.tips': "When running on Windows to iOS mobile phone, the modification of the uts plugin code needs to be submitted to the cloud to package the custom playground to take effect.";
|
|
52
64
|
readonly 'uts.ios.standard.tips': "When the standard playground runs to an IOS phone, the uts plugin is temporarily not supported. If you need to call the uts plugin, please use a custom playground";
|
|
65
|
+
readonly 'prompt.run.message': "Run method: open {devtools}, import {outputDir} run.";
|
|
66
|
+
readonly 'prompt.run.devtools.app': "HBuilderX";
|
|
67
|
+
readonly 'prompt.run.devtools.mp-alipay': "Alipay Mini Program Devtools";
|
|
68
|
+
readonly 'prompt.run.devtools.mp-baidu': "Baidu Mini Program Devtools";
|
|
69
|
+
readonly 'prompt.run.devtools.mp--kuaishou': "Kuaishou Mini Program Devtools";
|
|
70
|
+
readonly 'prompt.run.devtools.mp-lark': "Lark Mini Program Devtools";
|
|
71
|
+
readonly 'prompt.run.devtools.mp-qq': "QQ Mini Program Devtools";
|
|
72
|
+
readonly 'prompt.run.devtools.mp-toutiao': "ByteDance Mini Program Devtools";
|
|
73
|
+
readonly 'prompt.run.devtools.mp-weixin': "Weixin Mini Program Devtools";
|
|
74
|
+
readonly 'prompt.run.devtools.quickapp-webview': "Quick App Alliance Devtools | Huawei Quick App Devtools";
|
|
75
|
+
readonly 'prompt.run.devtools.quickapp-webview-huawei': "Huawei Quick App Devtools";
|
|
76
|
+
readonly 'prompt.run.devtools.quickapp-webview-union': "Quick App Alliance Devtools";
|
|
53
77
|
};
|
package/dist/messages/zh_CN.d.ts
CHANGED
|
@@ -24,5 +24,17 @@ declare const _default: {
|
|
|
24
24
|
readonly 'uts.android.compiler.server': "项目使用了uts插件,正在安装 uts Android 运行扩展...";
|
|
25
25
|
readonly 'uts.ios.windows.tips': "iOS手机在windows上使用标准基座真机运行无法使用uts插件,如需使用uts插件请提交云端打包自定义基座";
|
|
26
26
|
readonly 'uts.ios.standard.tips': "iOS手机在标准基座真机运行暂不支持uts插件,如需调用uts插件请使用自定义基座";
|
|
27
|
+
readonly 'prompt.run.message': "运行方式:打开 {devtools}, 导入 {outputDir} 运行。";
|
|
28
|
+
readonly 'prompt.run.devtools.app': "HBuilderX";
|
|
29
|
+
readonly 'prompt.run.devtools.mp-alipay': "支付宝小程序开发者工具";
|
|
30
|
+
readonly 'prompt.run.devtools.mp-baidu': "百度开发者工具";
|
|
31
|
+
readonly 'prompt.run.devtools.mp--kuaishou': "快手开发者工具";
|
|
32
|
+
readonly 'prompt.run.devtools.mp-lark': "飞书开发者工具";
|
|
33
|
+
readonly 'prompt.run.devtools.mp-qq': "QQ小程序开发者工具";
|
|
34
|
+
readonly 'prompt.run.devtools.mp-toutiao': "字节跳动开发者工具";
|
|
35
|
+
readonly 'prompt.run.devtools.mp-weixin': "微信开发者工具";
|
|
36
|
+
readonly 'prompt.run.devtools.quickapp-webview': "快应用联盟开发者工具 | 华为快应用开发者工具";
|
|
37
|
+
readonly 'prompt.run.devtools.quickapp-webview-huawei': "华为快应用开发者工具";
|
|
38
|
+
readonly 'prompt.run.devtools.quickapp-webview-union': "快应用联盟开发者工具";
|
|
27
39
|
};
|
|
28
40
|
export default _default;
|
package/dist/messages/zh_CN.js
CHANGED
|
@@ -26,4 +26,16 @@ exports.default = {
|
|
|
26
26
|
'uts.android.compiler.server': '项目使用了uts插件,正在安装 uts Android 运行扩展...',
|
|
27
27
|
'uts.ios.windows.tips': 'iOS手机在windows上使用标准基座真机运行无法使用uts插件,如需使用uts插件请提交云端打包自定义基座',
|
|
28
28
|
'uts.ios.standard.tips': 'iOS手机在标准基座真机运行暂不支持uts插件,如需调用uts插件请使用自定义基座',
|
|
29
|
+
'prompt.run.message': '运行方式:打开 {devtools}, 导入 {outputDir} 运行。',
|
|
30
|
+
'prompt.run.devtools.app': 'HBuilderX',
|
|
31
|
+
'prompt.run.devtools.mp-alipay': '支付宝小程序开发者工具',
|
|
32
|
+
'prompt.run.devtools.mp-baidu': '百度开发者工具',
|
|
33
|
+
'prompt.run.devtools.mp--kuaishou': '快手开发者工具',
|
|
34
|
+
'prompt.run.devtools.mp-lark': '飞书开发者工具',
|
|
35
|
+
'prompt.run.devtools.mp-qq': 'QQ小程序开发者工具',
|
|
36
|
+
'prompt.run.devtools.mp-toutiao': '字节跳动开发者工具',
|
|
37
|
+
'prompt.run.devtools.mp-weixin': '微信开发者工具',
|
|
38
|
+
'prompt.run.devtools.quickapp-webview': '快应用联盟开发者工具 | 华为快应用开发者工具',
|
|
39
|
+
'prompt.run.devtools.quickapp-webview-huawei': '华为快应用开发者工具',
|
|
40
|
+
'prompt.run.devtools.quickapp-webview-union': '快应用联盟开发者工具',
|
|
29
41
|
};
|
|
@@ -176,7 +176,12 @@ function cssPostPlugin(config, { platform, chunkCssFilename, chunkCssCode, }) {
|
|
|
176
176
|
cssChunks.set(filename, ids);
|
|
177
177
|
}
|
|
178
178
|
else {
|
|
179
|
-
|
|
179
|
+
let ids = Object.keys(chunk.modules).filter((id) => styles.has(id));
|
|
180
|
+
// 当页面作为组件使用时,上一步找不到依赖的css,需要再次查找
|
|
181
|
+
// renderChunk会执行两次,一次是页面chunk,一次是组件chunk,两者生成的css文件名和内容都是一样的
|
|
182
|
+
if (!ids.length) {
|
|
183
|
+
ids = [...findCssModuleIds.call(this, id)];
|
|
184
|
+
}
|
|
180
185
|
cssChunks.set(filename, ids);
|
|
181
186
|
}
|
|
182
187
|
}
|
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-3071220230324001",
|
|
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.20.5",
|
|
26
26
|
"@babel/parser": "^7.20.5",
|
|
27
27
|
"@babel/types": "^7.20.7",
|
|
28
|
-
"@dcloudio/uni-i18n": "3.0.0-alpha-
|
|
29
|
-
"@dcloudio/uni-shared": "3.0.0-alpha-
|
|
28
|
+
"@dcloudio/uni-i18n": "3.0.0-alpha-3071220230324001",
|
|
29
|
+
"@dcloudio/uni-shared": "3.0.0-alpha-3071220230324001",
|
|
30
30
|
"@intlify/core-base": "9.1.9",
|
|
31
31
|
"@intlify/shared": "9.1.9",
|
|
32
32
|
"@intlify/vue-devtools": "9.1.9",
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
"@vue/compiler-sfc": "3.2.47",
|
|
37
37
|
"@vue/server-renderer": "3.2.47",
|
|
38
38
|
"@vue/shared": "3.2.47",
|
|
39
|
-
"autoprefixer": "^10.4.
|
|
39
|
+
"autoprefixer": "^10.4.14",
|
|
40
40
|
"base64url": "^3.0.1",
|
|
41
41
|
"chokidar": "^3.5.3",
|
|
42
42
|
"compare-versions": "^3.6.0",
|
|
43
43
|
"debug": "^4.3.3",
|
|
44
44
|
"es-module-lexer": "^0.9.3",
|
|
45
|
-
"esbuild": "^0.
|
|
45
|
+
"esbuild": "^0.17.5",
|
|
46
46
|
"estree-walker": "^2.0.2",
|
|
47
47
|
"fast-glob": "^3.2.11",
|
|
48
48
|
"fs-extra": "^10.0.0",
|
|
@@ -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-3071220230324001",
|
|
68
68
|
"@types/babel__core": "^7.1.19",
|
|
69
69
|
"@types/debug": "^4.1.7",
|
|
70
70
|
"@types/estree": "^0.0.51",
|