Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

fix: add missing entries to published files#2185

Merged
bcoe merged 2 commits intoyargs:mainfromhongaar:patch-1
May 14, 2022
Merged

Conversation

hongaar
Copy link
Contributor

@hongaarhongaar commentedMay 12, 2022
edited
Loading

Due to theyargs.mjs file not being published, the fix merged with#2151 is not effective yet. This change should fix that.

Cannot find module './node_modules/yargs/yargs.mjs' imported from ./cli.js

Edit: Also added missingbrowser.d.ts

Due to the `yargs.mjs` file not being published, the fix merged withyargs#2151 is not effective yet. This change should fix that.```Cannot find module './node_modules/yargs/yargs.mjs' imported from ./cli.js```
@hongaarhongaar changed the titlefix: missing yargs.mjsfix: add missing entries to package.jsonfilesMay 12, 2022
@bcoebcoe merged commit5685382 intoyargs:mainMay 14, 2022
@bcoe
Copy link
Member

@hongaar thank you for catching this 👍

aside, what do you think of making yargs ESM only, when we drop Node 12?

@hongaarhongaar deleted the patch-1 branchMay 16, 2022 20:44
@hongaar
Copy link
ContributorAuthor

@bcoe reading some articles on the subject, it looks like this will be a breaking change since consuming ESM modules from CJS can't userequire().https://twitter.com/bradleymeck/status/1346824835494719490

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@bcoebcoebcoe approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@hongaar@bcoe

[8]ページ先頭

©2009-2025 Movatter.jp