layout-required no longer assumes src/app/(frontend): any app/(<group>) (or app itself) holding the catch-all page is the frontend, a localized one first; two candidates give a warning naming both. notFoundView.ts or .tsx, and the usual extensions for the other required files. New ipal-doctor.json layout.frontend override and export findFrontend. Reported by Say Diamonds (1.15.1, route group (site)). Co-Authored-By: Claude Opus 5.5 <[email protected]>
32 lines
1.6 KiB
TypeScript
32 lines
1.6 KiB
TypeScript
/**
|
|
* Entry point: @intecion/ipal-kit/doctor
|
|
*
|
|
* ipal-doctor's building blocks — the rules, the runner, the formatters and the status
|
|
* collector — for a project that wants to wrap, filter or extend the checks (docs/doctor.md).
|
|
* Node only (reads files, runs commands). The command itself: `pnpm exec ipal-doctor`.
|
|
*/
|
|
export { DOCTOR_USAGE, expandSites, parseDoctorArgs, runDoctorCli } from '../modules/doctor/cli.js'
|
|
export { formatDriftTable, formatReport } from '../modules/doctor/format.js'
|
|
export { bareHost, createDoctorContext, loadDoctorConfig, parseEnvFile, readAuditSkips } from '../modules/doctor/project.js'
|
|
export type { DoctorContext } from '../modules/doctor/project.js'
|
|
export { planSkills } from '../modules/doctor/rules/agents.js'
|
|
export { DEFAULT_SRC_ALLOW, findFrontend } from '../modules/doctor/rules/layout.js'
|
|
export type { FrontendLayout } from '../modules/doctor/rules/layout.js'
|
|
export { createLiveFetcher } from '../modules/doctor/rules/live.js'
|
|
export { AUDIT_RULE_MAP, parseToolOutput } from '../modules/doctor/rules/tooling.js'
|
|
export { applySettings, AUDIT_SKIP_RULES, doctorRules, globToRegExp, runDeepProbe, runDoctor } from '../modules/doctor/run.js'
|
|
export type { RunDoctorOptions } from '../modules/doctor/run.js'
|
|
export { buildDoctorEndpoint, collectDoctorStatus } from '../modules/doctor/status.js'
|
|
export type { DoctorEndpointOptions } from '../modules/doctor/status.js'
|
|
export type {
|
|
DoctorConfig,
|
|
DoctorFinding,
|
|
DoctorReport,
|
|
DoctorRule,
|
|
DoctorRuleSetting,
|
|
DoctorSeverity,
|
|
DoctorSource,
|
|
DoctorStatus,
|
|
RuleFinding,
|
|
} from '../modules/doctor/types.js'
|