-
Notifications
You must be signed in to change notification settings - Fork 93
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: generate stub types of with explicit extension import if pkg type is module
#371
Merged
Conversation
This file contains 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
yshrsmz
force-pushed
the
esm-dts
branch
2 times, most recently
from
February 10, 2024 03:32
0609982
to
f2f94ed
Compare
@pi0 Hi, sorry to bother you, but could you take a look at this PR? |
MaximusHaximus
added a commit
to LIT-Protocol/lit-scheduled-tasks
that referenced
this pull request
Mar 26, 2024
β¦p to `start` - Make dev and start build instead of stubbing :( Ref: unjs/unbuild#371 - Add link to `lit-task-auto-top-up` task def package - Scaffolding for auto top-up task
MaximusHaximus
added a commit
to LIT-Protocol/lit-scheduled-tasks
that referenced
this pull request
Mar 26, 2024
MaximusHaximus
added a commit
to LIT-Protocol/lit-scheduled-tasks
that referenced
this pull request
Mar 27, 2024
β¦p to `start` - Make dev and start build instead of stubbing :( Ref: unjs/unbuild#371 - Add link to `lit-task-auto-top-up` task def package - Scaffolding for auto top-up task
MaximusHaximus
added a commit
to LIT-Protocol/lit-scheduled-tasks
that referenced
this pull request
Mar 27, 2024
MaximusHaximus
added a commit
to LIT-Protocol/lit-scheduled-tasks
that referenced
this pull request
Mar 27, 2024
β¦p to `start` - Make dev and start build instead of stubbing :( Ref: unjs/unbuild#371 - Add link to `lit-task-auto-top-up` task def package - Scaffolding for auto top-up task
MaximusHaximus
added a commit
to LIT-Protocol/lit-scheduled-tasks
that referenced
this pull request
Mar 27, 2024
MaximusHaximus
added a commit
to LIT-Protocol/lit-scheduled-tasks
that referenced
this pull request
Mar 27, 2024
β¦p to `start` - Make dev and start build instead of stubbing :( Ref: unjs/unbuild#371 - Add link to `lit-task-auto-top-up` task def package - Scaffolding for auto top-up task
MaximusHaximus
added a commit
to LIT-Protocol/lit-scheduled-tasks
that referenced
this pull request
Mar 27, 2024
MaximusHaximus
added a commit
to LIT-Protocol/lit-scheduled-tasks
that referenced
this pull request
Mar 27, 2024
β¦to `start` - Make dev and start build instead of stubbing :( Ref: unjs/unbuild#371 - Add link to `lit-task-auto-top-up` task def package - Scaffolding for auto top-up task
MaximusHaximus
added a commit
to LIT-Protocol/lit-scheduled-tasks
that referenced
this pull request
Mar 27, 2024
pi0
changed the title
[stub] d.ts should import files with '.js' extension in ESM package
fix: generate stub types of with explicit extension import if pkg type is Jun 4, 2024
module
pi0
approved these changes
Jun 4, 2024
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.
Thanks!
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.
π Linked issue
resolve #370
β Type of change
π Description
Updated DTS stub generation logic to check its module format so that it can work with ESM package.
I wanted to write test cases for this change, but there seems to be no stub-mode related tests and no idea how to write it π€
π Checklist