Is there an existing issue for this?
Current behavior
When you have some packages with project references (composite: true) and then import them to our NestJS app (with tsconfig references option), run generate-metadata.ts, you will get following error
error TS6305: Output file 'libs/data-access/dist/index.d.ts' has not been built from source file 'libs/data-access/src/index.ts'.
Minimum reproduction code
...
Steps to reproduce
No response
Expected behavior
It should respect project references and successfully generate metadata.
Package version
11.2.3
NestJS version
11.1.9
Node.js version
22.18.0
In which operating systems have you tested?
Other
No response