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

Fix modules resolution #23

Merged
merged 2 commits into from
Jun 4, 2024
Merged

Conversation

arkadiuszbachorski
Copy link
Contributor

Fix modules resolution

♻️ Current situation & Problem

Currently modules aren't properly resolved. There is a mix between two approaches. We have build process and package.json link of local file, but result of this operation isn't used. Actually, TS alias is used, which in the end works exactly like if we just imported relatively from packages directory.

⚙️ Release Notes

  • Fix modules resolution

📚 Documentation

This PR changes from TS alias to import of the actual package. Now, this resembles using 3rd party package, but it's stored in monorepo. It makes it bulletproof to move a package to separate repo without a lot of modifications.

Code of Conduct & Contributing Guidelines

By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

Copy link

codecov bot commented Jun 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (5ce0539) to head (e1b9844).
Report is 2 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##              main       #23   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines            6         6           
  Branches         1         1           
=========================================
  Hits             6         6           

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update aaaa9cb...e1b9844. Read the comment docs.

Copy link
Member

@PSchmiedmayer PSchmiedmayer left a comment

Choose a reason for hiding this comment

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

Nice; thank you @arkadiuszbachorski!

@arkadiuszbachorski arkadiuszbachorski merged commit c2bb4e7 into main Jun 4, 2024
10 checks passed
@arkadiuszbachorski arkadiuszbachorski deleted the arek/fix-modules-resolution branch June 4, 2024 06:06
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.

None yet

2 participants