-
Notifications
You must be signed in to change notification settings - Fork 2.9k
fix(scripts-generators): create manifest only from v8 monorepo packages within generate-package-manifest
#29579
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(scripts-generators): create manifest only from v8 monorepo packages within generate-package-manifest
#29579
Conversation
📊 Bundle size report🤖 This report was generated against aa6771ed95c5af78f413b3c20068867f032cf4c4 |
…e manifest only from v8 monorepo packages
c27e1d3 to
301b051
Compare
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 301b051:
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: aa6771ed95c5af78f413b3c20068867f032cf4c4 (build) |
generate-package-manifest
| function main(tag, manifestRoot, rootPackage) { | ||
| const allPackageInfo = getAllPackageInfo(); | ||
|
|
||
| const filteredPackages = Object.entries(allPackageInfo).reduce((acc, curr) => { |
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.
nit: might be easier to call Object.fromEntries after filtering by the object entries
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.
can you elaborate a bit more ?
You mean using following ?
Object.fromEntries(Object.entries(allPackageInfo).map(...)) ?
if that's the case I dont think its more readable/faster than reduce
Previous Behavior
generate manifests adds packages that are not v8 related.
New Behavior
Related Issue(s)