Kind: Function
Source: atloria-monorepo/libs/parser-core/src/openapi/schema-resolver.ts
Build a ts-morph Project for a repo dir. Uses the nearest tsconfig for compiler options
(type resolution fidelity) but ALWAYS adds source files by glob — solution-style tsconfigs
(include: [] + project references, as Nx apps use) would otherwise load zero files.
Signature
tsfunction createProjectForDir(rootDir: string): Project
Parameters
| Name | Type |
|---|---|
rootDir | string |
Returns: Project
Was this page helpful?