Repository navigation
Base Styles: Remove the gutenberg-base-styles wrapper - #54406
Conversation
Every project now loads @wordpress/base-styles modules directly, so the wrapper has no users left in the monorepo. Removing an export is breaking, hence the major bump to 2.0.0. 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. 🤷 |
…gutenberg-base-styles-wrapper
The major changelog entry bumps the package to 2.0.0 at release; the version checks expect the last released version until then. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K4t4VY7ojGc1sr9Cb1z84Z
|
Nice, thanks! |
Fixes JETPACK-2754
#54403, #54404 and #54405 moved the last users off the wrapper. Replaces the lint rule from #54348, per its review: with the file gone, a new import fails the build.
Proposed changes
gutenberg-base-styles.scssand its./gutenberg-base-stylesexport from@automattic/jetpack-base-styles.@wordpress/base-stylesdevDependency; the wrapper was its only user.Related product discussion/links
Does this pull request change what data or activity we track or use?
No.
Testing instructions
git grep gutenberg-base-styles -- ':!*/CHANGELOG.md'finds nothing,pnpm install --frozen-lockfilepasses, and thepackages/external-mediaproduction build succeeds.🤖 Generated with Claude Code