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
Material Design Icons: Move svgstore-cli
devDep to root-level package.json
#32383
Conversation
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: Webpack Runtime
Sections
Parsed Size: Uncompressed size of the JS and CSS files. This much code needs to be parsed and stored in memory. Generated by performance advisor bot at iscalypsofastyet.com. |
ab30d49
to
ea791e0
Compare
cc @griffbrad as we both missed this |
#32390 "Add an eslint rule to forbid adding |
This should allow us to guard against issues such as wrong monorepo `devDependencies` (see e.g. #32383). We're already building the other subdir in `apps/`, `wpcom-block-editor`. Their built files should go to different artifacts directories, which is why I'm adding a new task, rather than just unifying them into one task.
There's currently an issue when trying to run
npx lerna run build
(which builds apps in theapps/
directory):We've been bitten by this issue in the past. The only fix we could find was to move monorepo packages'
devDependencies
to the top-levelpackage.json
.Changes proposed in this Pull Request
Material Design Icons: Move
svgstore-cli
devDep to root-levelpackage.json
Testing instructions
Try
both on
master
and on this branch. It will fail there but will work here.Follow-up
I plan to add a CircleCI test task to guard against this.