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

export all internals #44

Merged
merged 1 commit into from
Feb 4, 2025
Merged

export all internals #44

merged 1 commit into from
Feb 4, 2025

Conversation

bkniffler
Copy link

Reworked the exports so we can expose all internals. Moving from trpc-openapi to this project I painfully noticed that its impossible to import specific files from dist, since this project uses package.json exports.

This makes it impossible to accesss things like TRPC_ERROR_CODE_HTTP_STATUS, acceptsRequestBody or exports related to creating a custom adapter.

Copy link
Owner

@mcampa mcampa left a comment

Choose a reason for hiding this comment

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

LGTM

@mcampa mcampa merged commit 8cd9952 into mcampa:master Feb 4, 2025
3 checks passed
@mcampa
Copy link
Owner

mcampa commented Feb 4, 2025

Published v2.1.3 with your change

@bkniffler
Copy link
Author

cheers!

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