Repository navigation
Remove unused files - #85197
Remove unused files#85197
Conversation
🤖 PR meta 🤖🎉 PropsIf you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. Updated as activity occurs, without notifying anyone named here. Add the 📦 Bundle sizeSize Change: -109 B (0%) Total Size: 9.05 MB 📦 View Changed
⚡ PerformanceShow the resultsClient side metrics exclude the server response time. front-end-block-theme
front-end-classic-theme
media-processing
media-upload
post-editor
site-editor
🏁 Flaky testsSome tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information. Regression: updating a specific option will only change its value and will not corrupt others in
|
|
Components for the editor package are kept for now to allow easy revert of #85081 during the beta cycle if needed. We also need to be careful and double-check that these components aren't public APIs. |
8935a14 to
efb3125
Compare
|
Thanks! The editor components are back as of efb3125 |
648cc23 to
3e817b2
Compare
|
@ntsekouras given that those files that you mentioned should not be deleted anymore in this PR, are we good to merge here? Or do you have any remaining concerns? |
No. My only concern were the Inspector related files for possible easier revert of the new one, if needed during beta. |
😂 This is a scary one, haha.
What?
Follow up to #85194, see also #85196
Removes 19 files that nothing imports and no package exports, across
edit-site,block-editor,components,dataviewsand a few others.Why?
Knip reported them while exploring it in #85194. Each file was checked by hand for ESM imports, CommonJS requires, Sass
@useand exports from package entry points or private APIs. The editor's pre-DataForm sidebar components stay, so #85081 can still be reverted during the beta cycle.How?
@useline for the deleted pagination stylesheet inedit-site.Testing Instructions
npm run clean:package-types && npm run typechecknpm run buildnpm run lint:js && npm run lint:cssUse of AI Tools
Claude Code ran Knip, verified the findings and made the changes; I reviewed them.