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: cow-shed types #224

Merged
merged 1 commit into from
Nov 7, 2024
Merged

fix: cow-shed types #224

merged 1 commit into from
Nov 7, 2024

Conversation

alfetopito
Copy link
Contributor

Summary

CoW-shed was using absolute imports in some places which causes the generated types to not find the the proper imports.

Changed it to relative.

This is causing the watch-tower tsc command to fail: https://github.com/cowprotocol/watch-tower/actions/runs/11722358815/job/32651723873?pr=162
image

Testing

In this lib all tests were passing as before.
The issue was when importing it on watch-tower.

I built it with yalc, published locally and installed onto watch-tower.

After that the build was successful.

# Summary

CoW-shed was using absolute imports in some places which causes the
generated types to not find the the proper imports.

Changed it to relative.

# Testing

In this lib all tests were passing as before.
The issue was when importing it on watch-tower.

I built it with `yalc`, published locally and installed onto
watch-tower.

After that the build was successful.
@alfetopito alfetopito self-assigned this Nov 7, 2024
@alfetopito alfetopito requested a review from a team November 7, 2024 15:18
@coveralls
Copy link
Collaborator

Coverage Status

coverage: 78.23%. remained the same
when pulling 18184cd on fix/cow-shed-types
into e157f7d on main.

@coveralls
Copy link
Collaborator

Coverage Status

coverage: 78.23%. remained the same
when pulling 18184cd on fix/cow-shed-types
into e157f7d on main.

@alfetopito
Copy link
Contributor Author

Please post merge review

@alfetopito alfetopito merged commit cbfb6a4 into main Nov 7, 2024
9 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Nov 7, 2024
Copy link
Contributor

@anxolin anxolin left a comment

Choose a reason for hiding this comment

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

👍

@alfetopito alfetopito deleted the fix/cow-shed-types branch November 7, 2024 16:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants