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

Move types to shared package. #3280

Merged
merged 3 commits into from
Feb 23, 2024
Merged

Move types to shared package. #3280

merged 3 commits into from
Feb 23, 2024

Conversation

dnbrwstr
Copy link
Collaborator

@dnbrwstr dnbrwstr commented Feb 22, 2024

PR Checklist

  • Describes how you tested the PR locally (test ship vs livenet)

Tested by building webapp.

This PR moves Urbit server-side types to the shared package. The import path is more complex than would be ideal, but I wasn't able to find a cleaner way to pull in the modules without making larger changes. I looked into using a .tsconfig alias, but that only works for relative paths, not modules. Open to better solutions here!

There's a failing pre-commit check here related to a module cycle. I didn't fix it because I believe it's a lint-staged thing -- only popping up because I touched a file that already had that issue, not because these changes created the issue.

@dnbrwstr
Copy link
Collaborator Author

Fixed a different CI error, now only the one I'm ignoring is left.

@dnbrwstr dnbrwstr marked this pull request as ready for review February 22, 2024 23:57
@dnbrwstr
Copy link
Collaborator Author

Fixed the cycle error -- turned out to be the product of a misplaced error suppression. Will bring up the eslint config in standup.

@dnbrwstr dnbrwstr merged commit 3893a01 into develop Feb 23, 2024
1 check passed
@dnbrwstr dnbrwstr deleted the db/move-types branch February 23, 2024 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants