question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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 upward for babel config (fixed via #1370) #1336 : Error Unable to require d.ts for yarn workspace and typescript composite. (fixed via #1385) #1333: Use wrong version of typescript in yarn workspace (fixed via #1377) #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

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:29
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
ahnpnlcommented, May 21, 2020

@quadgod coverage collection isn’t taken care by ts-jest. We would solve only the 2nd issue which is about TypeScript

0reactions
octogonzcommented, Mar 26, 2021

Heft is an interesting alternative for integrating Jest+TypeScript in a monorepo scenario.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is monorepo? (and should you use it?) - Semaphore CI
A monorepo is a version-controlled code repository that holds many projects. While these projects may be related, they are often logically ...
Read more >
Monorepo Explained
We created this resource to help developers understand what monorepos are , what benefits they can bring, and the tools available to make...
Read more >
Monorepos in Git | Atlassian Git Tutorial
A monorepo is a repository that contains more than one logical project. Read here to learn about conceptual challenges, performance issues and more....
Read more >
Monorepo Support | Render · Cloud Hosting for Developers
Monorepo Support helps you deploy just the services you need to eliminate unnecessary deploys, control build costs, and ship faster. Monorepo Support offers...
Read more >
11 Great Tools for a Monorepo in 2021 | Bits and Pieces
Best tools to build a monorepo. Develop, build, and publish packages, and scale development. Discover Lerna, Nx, Rush, Bit, Yarn Workspaces, and more....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found