OptionalexcludeGlob patterns to exclude. Defaults to node_modules/dist/.git.
The filesystem capability -- ./build never imports node:fs (ADR 0040).
OptionalincludeGlob patterns for schema files. Defaults to ["**/env.schema.ts"].
Output path for the generated manifest, relative to root (e.g. "src/generated/env.manifest.ts").
Optionalon"warn" (default): only provable incompatibilities (conflicting explicit processor return type annotations) block generation; everything else is reported as a warning. "throw": warnings are escalated to hard errors too, for stricter CI gates.
OptionalpackagesExplicit allowlist of installed
package names whose declared "envCap": { "schema": "<path>" } entry
point should also be discovered, so a contract that ships as its own
separately-published package (no monorepo required) can be included in
the manifest. Opt-in only: a package is never considered unless its
exact name appears here. See ADR 0014.
OptionalrootDirectory glob patterns are resolved against. Defaults to process.cwd().
OptionaltsconfigPath to a tsconfig.json (relative to root)
whose compilerOptions.paths/baseUrl resolve aliased import specifiers (e.g.
"@/lib/env.schema.js") encountered during static analysis, so a contract or consumer
reached only through an alias isn't misreported as abandoned/unresolved. Defaults to
"tsconfig.json" at root -- on automatically, no opt-in required, since (unlike
packages) this never crosses a trust/versioning boundary: every resolved file is
already local, already-trusted project source. Pass false to disable entirely. See
ADR 0023.
Options for generateEnvManifest.