Repository navigation
Shared Extension Utils: Import @wordpress/base-styles modules directly - #54404
Conversation
Depend on @wordpress/base-styles and load its modules directly instead of through the @automattic/jetpack-base-styles wrapper, which was its only use. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K4t4VY7ojGc1sr9Cb1z84Z
|
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
|
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 Follow this PR Review Process:
If you have questions about anything, reach out in #jetpack-developers for guidance! |
Code Coverage SummaryThis PR did not change code coverage! That could be good or bad, depending on the situation. Everything covered before, and still is? Great! Nothing was covered before? Not so great. 🤷 |
Part of JETPACK-2754
Follow-up to the #54348 review: instead of guarding the
@automattic/jetpack-base-styles/gutenberg-base-styleswrapper with a lint rule, move its last users off it so it can be deleted.js-packages/shared-extension-utilsdidn't declare@wordpress/base-styles, so it now does.Proposed changes
@wordpress/base-styles(14.0.0, the pin used across the monorepo) tojs-packages/shared-extension-utils.@automattic/jetpack-base-styles: the wrapper was the only thingjs-packages/shared-extension-utilsused from it.@use … as gbin 1 file with@uses of the specific modules each file uses, under their default namespaces.Related product discussion/links
Does this pull request change what data or activity we track or use?
No.
Testing instructions
No visible change is expected.
/** */doc comments, which production builds drop.🤖 Generated with Claude Code