-
Notifications
You must be signed in to change notification settings - Fork 17
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
Migrate to Node16 resolution #186
Conversation
Can you update PR description to explain why we are moving to node16 resolution? |
@timostamm @smaye81 resurrecting this PR to migrate to node16. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@paul-sachs, we just switched protobuf-es to build with Node16 module resolution, see bufbuild/protobuf-es#754. It's not released yet, and connect-es has not been updated yet (see connectrpc/connect-es#887).
The changes here look good to me. Just left a couple of comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Updating everything to use node16 resolutions. This guarantees (via the tsc compiler) that the files we output match the expected import format for downstream tools. This also brings us into compliance with module resolution for node 16+, which is the minimum version of node we support and is the recommended value for libraries.
See detailed explanation here