style: format codebase files

This commit is contained in:
Misaka
2026-03-21 09:34:44 +08:00
parent 2b4a09dabe
commit 0e77479955
4 changed files with 9 additions and 10 deletions

View File

@@ -7,7 +7,7 @@
根据 [package.json](/d:/FileLib/Projects/CodeMigration/ERPAuto/package.json),项目当前依赖为:
| 组件 | 当前版本 |
| --- | --- |
| ------------------ | --------- |
| `playwright` | `^1.58.2` |
| `playwright-core` | `^1.58.2` |
| `@playwright/test` | `^1.58.2` |

View File

@@ -244,4 +244,3 @@ flowchart LR
这次 `useCleaner` 重构的核心价值,不是“让文件立刻变得很小”,而是先把最容易复用、最适合测试、最不应继续堆在 hook 里的部分拆出来。
它为接下来的页面组件拆分提供了一个更稳的基础,也让 Cleaner 模块开始从“页面驱动逻辑”向“模块化前端能力”转变。

View File

@@ -215,4 +215,3 @@ flowchart LR
1.`validation-application-service.ts` 中的 SQL Server / MySQL 分支继续下沉到 repository 或 dialect adapter。
2. 逐步给 `getCleanerData()``getMaterialsByManager()` 这类编排逻辑补更多单测。
3. 把和 validation 强耦合的 renderer 逻辑改成显式依赖 application contract而不是隐式依赖 payload shape。

View File

@@ -81,9 +81,7 @@ function validateUpdateConfig(configPath) {
function hasConflictMarker(filePath) {
const content = fs.readFileSync(filePath, 'utf-8')
return (
content.includes('<<<<<<<') || content.includes('=======') || content.includes('>>>>>>>')
)
return content.includes('<<<<<<<') || content.includes('=======') || content.includes('>>>>>>>')
}
function validateVersionFiles(version) {
@@ -99,7 +97,10 @@ function validateVersionFiles(version) {
const rootPackage = packageLock.packages && packageLock.packages['']
if (rootPackage && rootPackage.version) {
assert(rootPackage.version === version, 'package-lock root package version does not match package.json')
assert(
rootPackage.version === version,
'package-lock root package version does not match package.json'
)
}
}