Skip to content
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

Use specific lerna module tsconfig on type checking #812

Open
Krakof opened this issue May 5, 2023 · 3 comments
Open

Use specific lerna module tsconfig on type checking #812

Krakof opened this issue May 5, 2023 · 3 comments

Comments

@Krakof
Copy link

Krakof commented May 5, 2023

Hi,
I work on a project with lerna. Each module mostly uses root tsconfig, but there are some cases when module's tsconfig extends the root one with additional options (e.g strict: true).
Just wondering if it's possible on type checking step set corresponding module tsconfig.
checking module1 -> using module1/tsconfig.json
checking module2 -> using module2/tsconfig.json
Thank you

@XavierLeTohic
Copy link

Hi @Krakof did you found any workaround for this? I am having the same problem here

@Krakof
Copy link
Author

Krakof commented Feb 19, 2024

@XavierLeTohic Hi, we've started to use https://github.com/allegro/typescript-strict-plugin as a workaround, have added type check on pre-commit hook.

@piotr-oles
Copy link
Collaborator

I'm open for contributions :) I'm happy to hear you found a workaround 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants