fix(GOV-009): 完成脚手架审查整改

This commit is contained in:
2026-08-13 18:30:57 +08:00
parent dcdf634457
commit 3a8120a33a
47 changed files with 752 additions and 101 deletions
@@ -66,7 +66,7 @@ test('Web API 根地址不重复 OpenAPI 自带的 api 路径', async () => {
await readRepoFile('deploy/env/production/web.env.example'),
);
assert.equal(development.get('VITE_API_BASE_URL'), 'http://127.0.0.1:3000');
assert.equal(development.get('VITE_API_BASE_URL'), '');
assert.equal(production.get('VITE_API_BASE_URL'), '');
});
@@ -165,6 +165,9 @@ test('部署文档覆盖本地、Compose 生产和 Ubuntu 源码生产', async (
assert.match(source, /Node\.js 22 LTS/);
assert.match(source, /pnpm 10/);
assert.match(source, /不负责安装/);
for (const document of [local, compose, source]) {
assert.match(document, /MySQL 5\.7\.42/);
}
});
test('生产 Compose 只接受显式镜像并解析为真实健康检查', async () => {