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

chore: added rootDir to all tsconfig files #559

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

GPaoloni
Copy link
Collaborator

@GPaoloni GPaoloni commented Feb 9, 2024

Description

This PR adds rootDir property to all our tsconfig files.
This is in order to avoid importing resources from other projects, which should instead be imported using the proper package name, like @tech-matters/.... The reason is that referencing a module in a different package directly by a path rather than via it's package reference cause TS to compile with a higher root directory & break when deployed - since the Dockerfile expects the plain root directory resulting from the compile step.

@GPaoloni GPaoloni requested a review from stephenhand February 9, 2024 17:09
@GPaoloni GPaoloni marked this pull request as draft February 9, 2024 17:13
Copy link
Collaborator

@stephenhand stephenhand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Gian!

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

Successfully merging this pull request may close these issues.

2 participants