-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dependency project path always points to src #13
Comments
This package indeed hard-codes So your project does not put source files into the |
yes, source files lives under I tested, defining
so in this case, during build, parent project is looking for the sub-project build files, instead of source files. to specify, libraries are imported correctly, when I'm running project (nextjs) locally and dependencies are resolved in runtime. it only fails when I build. |
Could you please create a small repro project with a breakage? You can use this demo to get started from to make it easier: https://github.com/moltar/projen-turborepo-test |
here you go https://github.com/miekassu/projen-turborepo-test
|
I don't think that fixed the issue :/ |
when projen generates paths to project tsconfig.ts it based speficied package dependencies, it always points path to src
like:
this throws an error:
instead of, this works:
l
ooks like projen generated
../src
directory in path, no matter what would have been configured in dependency packagetsconfig.ts
, likeoutDit
orrootDir
.any ideas?
The text was updated successfully, but these errors were encountered: