-
Notifications
You must be signed in to change notification settings - Fork 56
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
Support running transforms on all referenced projects with the --build option #28
Comments
I've just tested project references, and it works. Can you provide some example project where it doesn't work? |
Maybe you put all transformers into main project which gather other projects via references? |
Please access it from the branch
Repro steps:
So when |
Your project doesn't build correctly: after
and after
|
Your yarn version seems to not support workspaces. Could you try with the latest version |
I found your problem: |
Thanks for the super quick help @cevek! It's working as expected. Wow, this has been the end of a long list of trial and errors to get this mono-repo setup working without heart burns. |
I have a monorepo where I have configured each package to be built by
ttsc -b
. I need tsconfig alias paths to be transformed to relative paths usinghttps://www.npmjs.com/package/@zerollup/ts-transform-paths
module. Currently building a dependent project with ttsc doesn't run the transforms on the dependency packages. The only way is to manually build all packages in the order of dependencies. Considering tsc already builds them in the order, adding this support will be a huge step in solving the dreaded mono-repo holy grail problems.Please let me know if there are any known workarounds.
The text was updated successfully, but these errors were encountered: