feat(mobile): expand TTS voices and align App SDK

This commit is contained in:
2026-07-26 17:05:43 +08:00
parent 94ee29f59c
commit f57e0a53c6
18 changed files with 1171 additions and 419 deletions
+2
View File
@@ -7,6 +7,7 @@ import { dirname, resolve } from 'node:path';
const mobileRoot = resolve(dirname(fileURLToPath(import.meta.url)), '..');
const readJson = async (path) => JSON.parse(await readFile(new URL(path, import.meta.url), 'utf8'));
const hbuilderx515AppCompiler = '3.0.0-alpha-5010220260604001';
test('App 图标与启动图映射均可由预检脚本验证', () => {
const output = execFileSync(process.execPath, ['scripts/verify-app-assets.mjs'], {
@@ -24,6 +25,7 @@ test('App 平台编译器已声明且与其他 uni 包同版本,避免 build:a
const appPlus = pkg.dependencies?.['@dcloudio/uni-app-plus'];
assert.ok(appPlus, '缺少 @dcloudio/uni-app-plus,build:app 会静默产出 H5 空壳');
assert.equal(appPlus, hbuilderx515AppCompiler, 'App 编译链必须与当前 HBuilderX 5.15 调试基座匹配');
assert.equal(appPlus, pkg.dependencies['@dcloudio/uni-app']);
assert.equal(appPlus, pkg.devDependencies['@dcloudio/vite-plugin-uni']);
});