Sunday, 27 December 2020

Yarn Workspaces, workspace does not emit errors or warnings

I have followed the following post in order to create a monorepo using yarn workspaces and craco. It works really well except one thing: the errors/warnings of the common (components )library are not emitted to the console. The structure is very simple:

monorepo
|-packages
  |-components
  |-fe

Fe is the main webApp that uses the components library. The FE emits all warnings correctly, components does not.

How to make the shared component emit warnings/errors?

Updated:

Steps to reproduce in this repo: https://github.com/sofoklisM/my-monorepo.git



from Yarn Workspaces, workspace does not emit errors or warnings

No comments:

Post a Comment