Skip to content

@kekkai/blueprint / DoctorOptions

Interface: DoctorOptions

Defined in: inspect/doctor.ts:15

Extends

  • ResolveOptions

Properties

framework?

optional framework?: "vue" | "react"

Defined in: project/resolve.ts:13

Force the framework when detection is ambiguous.

Inherited from

ResolveOptions.framework


json?

optional json?: boolean

Defined in: inspect/doctor.ts:17

Emit machine-readable JSON instead of the checklist.


loadConfig?

optional loadConfig?: (file) => Promise<Blueprint>

Defined in: project/resolve.ts:15

Load an existing blueprint.config (default dynamic import).

Parameters

file

string

Returns

Promise<Blueprint>

Inherited from

ResolveOptions.loadConfig


loadModule?

optional loadModule?: (name, root) => Promise<unknown>

Defined in: inspect/doctor.ts:21

Load a module from the project's dependency tree (default: real import).

Parameters

name

string

root

string

Returns

Promise<unknown>


log?

optional log?: (message) => void

Defined in: inspect/doctor.ts:19

Output sink (default console.log).

Parameters

message

string

Returns

void