Repository navigation
Components: Import @wordpress/base-styles modules directly - #54403
Conversation
Declare @wordpress/base-styles and load its modules directly instead of through the @automattic/jetpack-base-styles/gutenberg-base-styles wrapper. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K4t4VY7ojGc1sr9Cb1z84Z
|
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! |
|
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
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/componentsdidn'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/components.@use … as gbin 6 files 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