Fix for barrel file codegen of type-only files#898
Open
jmrossy wants to merge 2 commits intodethcrypto:masterfrom
Open
Fix for barrel file codegen of type-only files#898jmrossy wants to merge 2 commits intodethcrypto:masterfrom
jmrossy wants to merge 2 commits intodethcrypto:masterfrom
Conversation
🦋 Changeset detectedLatest commit: 302134a The changes in this PR will be included in the next version bump. This PR includes changesets to release 9 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
This was referenced Apr 1, 2024
jmrossy
added a commit
to hyperlane-xyz/hyperlane-monorepo
that referenced
this pull request
Apr 9, 2024
### Description - Reconfigure tsconfig and package.json for the utils, core, sdk, and helloworld packages - Update imports to use ESM syntax - Add patch for typechain to address [issue 898](dethcrypto/TypeChain#898) ### Drive-by changes Improve package Readme content ### Related issues Fixes #1354 ### Backward compatibility No: package consumers using CJS will need to modify their imports or update to ESM. See [this popular gist](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#pure-esm-package) for details. ### Testing - [x] CI test coverage which invokes a lot of code via the CLI e2e - [x] Manually test in Warp UI by copying packages - [x] Publish beta packages and test in a few popular bundlers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix the import syntax for barrel file imports referring to type-only files. Fixes a problem with ESM compatibility when using the
--node16-modulesflag.A follow-up to fix #848
See related comments here and here