-
Notifications
You must be signed in to change notification settings - Fork 367
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
feat(module-generator): remove jsnext:source and add declaration:true
#4326
feat(module-generator): remove jsnext:source and add declaration:true
#4326
Conversation
🦋 Changeset detectedLatest commit: 57c2adc The changes in this PR will be included in the next version bump. This PR includes changesets to release 260 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 |
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #4326 +/- ##
==========================================
- Coverage 57.59% 51.01% -6.59%
==========================================
Files 672 662 -10
Lines 17794 18078 +284
Branches 3876 3955 +79
==========================================
- Hits 10249 9222 -1027
- Misses 6934 8133 +1199
- Partials 611 723 +112 ☔ View full report in Codecov by Sentry. |
Summary
🤖 Generated by Copilot at 57c2adc
This pull request updates the
@modern-js/module-generator
package to remove the unusedjsnext:source
field and add thedeclaration
field to the module templates. This improves the compatibility and usability of the generated modules.Details
🤖 Generated by Copilot at 57c2adc
jsnext:source
field from module generator templates (link)declaration
field to TypeScript module generator template (link)@modern-js/module-generator
package (link)Related Issue
Checklist
pnpm run change
.