(baseDir: string)
| 14 | const MODEL_PATTERN = /^\s*model\s+\w+/m |
| 15 | |
| 16 | function findSchemaPath(baseDir: string): string | null { |
| 17 | for (const candidate of SCHEMA_CANDIDATES) { |
| 18 | const full = path.join(baseDir, candidate) |
| 19 | if (fs.existsSync(full)) return full |
| 20 | } |
| 21 | return null |
| 22 | } |
| 23 | |
| 24 | function checkSeedScript(baseDir: string): boolean { |
| 25 | if (checkSeedInPackageJson(baseDir)) return true |
no outgoing calls
no test coverage detected