-
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
fix(core): make the plugins type looser to avoid type mismatch #4550
fix(core): make the plugins type looser to avoid type mismatch #4550
Conversation
🦋 Changeset detectedLatest commit: 3e78f42 The changes in this PR will be included in the next version bump. This PR includes changesets to release 253 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 #4550 +/- ##
==========================================
- Coverage 57.59% 53.75% -3.85%
==========================================
Files 672 654 -18
Lines 17794 17953 +159
Branches 3876 4135 +259
==========================================
- Hits 10249 9651 -598
- Misses 6934 7645 +711
- Partials 611 657 +46 ☔ View full report in Codecov by Sentry. |
Summary
Fix the following type error in modern config file:
🤖 Generated by Copilot at 3e78f42
This pull request improves the type safety and compatibility of the
plugins
property in the@modern-js/core
package, and simplifies the title and heading of a Chinese tutorial document. It also adds a changeset file to describe the patch update for the package.Details
🤖 Generated by Copilot at 3e78f42
plugins
type in the user and normalized config types to avoid type mismatch issues when using different version plugins (link, link, link)@modern-js/core
package and provides a Chinese translation of the change message (link)packages/document/main-doc/docs/zh/tutorials/first-app/c06-model.mdx
file and remove the redundant frontmatter metadata (link)Related Issue
Checklist
pnpm run change
.