Skip to content

Move WordPressData to the Modules package#25631

Draft
crazytonyli wants to merge 13 commits into
trunkfrom
task/move-wordpress-data-as-module
Draft

Move WordPressData to the Modules package#25631
crazytonyli wants to merge 13 commits into
trunkfrom
task/move-wordpress-data-as-module

Conversation

@crazytonyli

Copy link
Copy Markdown
Contributor

Description

Testing instructions

When WordPressData was a dynamic framework, importing it implicitly
exposed WordPressKit types to targets without a bridging header (the
Keystone framework compile path). The Swift package module does not
re-export its dependencies, so files using WordPressKit types need the
explicit import.
Same implicit-visibility issue as the previous commit: these files use
WordPressKit types but relied on the WordPressData framework exposing
them transitively in the Keystone build. Found by sweeping app sources
for WordPressKit type usage without an import, since the local Keystone
build halts on a pre-existing Xcode 26.5 issue before reaching them.
@dangermattic

Copy link
Copy Markdown
Collaborator
3 Warnings
⚠️ Modules/Package.swift was changed without updating its corresponding Package.resolved.

If the change includes adding, removing, or editing a dependency please resolve the Swift packages as appropriate to your project setup (e.g. in Xcode or by running swift package resolve).

If the change to the Package.swift did not modify dependencies, ignoring this warning should be safe, but we recommend double checking and running the package resolution just in case.
.

⚠️ View files have been modified, but no screenshot or video is included in the pull request. Consider adding some for clarity.
⚠️ This PR is larger than 500 lines of changes. Please consider splitting it into smaller PRs for easier and faster reviews.
1 Message
📖 This PR is still a Draft: some checks will be skipped.

Generated by 🚫 Danger

…iftLint

swift-format moves the opening brace to its own line when a long
signature stays on one line, which violates SwiftLint's opening_brace
rule. Multi-line parameter lists keep both tools happy.
@wpmobilebot

Copy link
Copy Markdown
Contributor
App Icon📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
App NameWordPress
ConfigurationRelease-Alpha
Build Number32481
VersionPR #25631
Bundle IDorg.wordpress.alpha
Commit1f2c04f
Installation URL720nu4ssb14r8
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot

Copy link
Copy Markdown
Contributor
App Icon📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
App NameJetpack
ConfigurationRelease-Alpha
Build Number32481
VersionPR #25631
Bundle IDcom.jetpack.alpha
Commit1f2c04f
Installation URL30ik0atk01o7g
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants