-
Notifications
You must be signed in to change notification settings - Fork 353
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(builder): improve time logs format #4702
feat(builder): improve time logs format #4702
Conversation
🦋 Changeset detectedLatest commit: f124192 The changes in this PR will be included in the next version bump. This PR includes changesets to release 257 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 #4702 +/- ##
==========================================
- Coverage 57.59% 53.74% -3.85%
==========================================
Files 672 664 -8
Lines 17794 18108 +314
Branches 3876 4147 +271
==========================================
- Hits 10249 9733 -516
- Misses 6934 7716 +782
- Partials 611 659 +48 ☔ View full report in Codecov by Sentry. |
Summary
🤖 Generated by Copilot at 8639748
This pull request improves the time logs format for the builder by refactoring the
prettyTime
function and exporting it from the main entry point of the@modern-js/builder-shared
package. It also updates the imports ofprettyTime
in the other packages that depend on it and adds a changeset file to document the changes.Details
🤖 Generated by Copilot at 8639748
@modern-js/builder-webpack-provider
,@modern-js/builder-rspack-provider
, and@modern-js/builder-shared
(link)prettyTime
function to export it from the main entry point of the@modern-js/builder-shared
package instead of a subdirectory (link, link, link, link, link, link)chalk
to theprettyTime
function (link)Related Issue
Checklist
pnpm run change
.