-
Notifications
You must be signed in to change notification settings - Fork 455
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 monorepo #1343
Comments
It would be good to add this support. That said, I personally only use ts-jest actively in non-monorepos so this will need help from others (the code and the related tests) |
#1341 is related too - I got it when trying to setup a monorepo. |
The issues in jest specifically are tracked in: kulshekhar/ts-jest#1343 kulshekhar/ts-jest#1109
The issues in jest specifically are tracked in: kulshekhar/ts-jest#1343 kulshekhar/ts-jest#1109
The issues in jest specifically are tracked in: kulshekhar/ts-jest#1343 kulshekhar/ts-jest#1109
🐛 ;)))
To ReproduceI made example project: https://github.com/nomadzetetic/monorepo. Steps to reproduce the behavior:
Expected behaviorIn coverage report should be files from Link to repl or repo (highly encouraged)envinfo
|
@quadgod coverage collection isn’t taken care by ts-jest. We would solve only the 2nd issue which is about TypeScript |
Heft is an interesting alternative for integrating Jest+TypeScript in a monorepo scenario. |
Issue :
At the moment,
ts-jest
doesn't support well monorepo (typescript composite, yarn workspace, lerna etc..). This issue contains all related issues to monorepo:#1341 : Cannot use rootMode(fixed via #1370)upward
forbabel
config#1336 : Error(fixed via #1385)Unable to require d.ts
for yarn workspace and typescriptcomposite
.#1333: Use wrong version of(fixed via #1377)typescript
in yarn workspace#1277 : Cannot collect coverage with custom compiler e.g
ttypescript
for lerna workspace.#1134 : Compatibility with yarn workspaces pnp
#1109 : Cannot import mixin in yarn workspace and typescript
compsite
Expected behavior :
Support monorepo out of the box or at least for common ones like yarn workspace, typescript composite, lerna.
Minimal repo :
Example repos are in those above issues
Problem
At the moment
ts-jest
is lack of helps. We would need community's help in tackling this issue. Feel free to contribute PRs if you have good ideas related to this issue.cc @kulshekhar
The text was updated successfully, but these errors were encountered: