-
Notifications
You must be signed in to change notification settings - Fork 847
[DO NOT MERGE] Test @wordpress/*@next packages #46397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
Conversation
I fixed the questionable imports in WordPress/gutenberg#74530 and published a new Then I updated this PR branch to use that version, removed the patches from I also had to patch a But now I'm facing issues that I don't know how to resolve. The lockfile seems to be broken. There are both For example, the |
.pnpmfile.cjs
Outdated
| // sass-embedded has an `unknown-all` and `all-unknown` optional dep that depends on `sass`. | ||
| // Let's remove these dependencies to prevent `sass` installation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is fine for this DNM PR, but once this comes up for real I'd recommend instead excluding the deps on these two packages entirely instead of neutering them like this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Handled it in #46552.
Looks like part of the problem there is that a version like |
Looks like you missed one: https://github.com/WordPress/gutenberg/pull/74530/changes#r2683062457 🙂 |
Well that's bad, and it's a bug in Gutenberg's version naming scheme for
The On a second thought, I should probably have resolved this also to |
One straightforward fix would be to name it like
I don't see that documented in the package?
👍 |
I'm trying to fix this in WordPress/gutenberg#74589, with a slightly different approach where the version number is |
|
That sounds like it should work. 👍 |
|
Well, going forward anyway. |
That's why I in the end merged a version that uses the |
|
@anomiex @manzoorwanijk I updated this branch to the latest |
|
Yeah, the results are great. @anomiex Should we also see if we can clean up the |
|
I removed one unnecessary item from pnpmfile. For the real upgrade, we'll want most of what's left. We'd leave out the change to "next" on line 220. The extra We'll also need the fix in |
|
Following WordPress/gutenberg#74576, we should be able to completely get rid of this file. jetpack/projects/js-packages/ai-client/src/api-fetch/index.ts Lines 4 to 14 in 140c7bb
|
The caveat is that you never use the |
Yes, that is what I meant. Using named import can help us get rid of that file. |
I think we'll need to wait for a few WordPress releases though, until that change is in the Core-bundled copy of the lowest version we support. |
Testing the
@wordpress/*packages as requested in WordPress/gutenberg#73822 (comment)Proposed changes:
Other information:
Jetpack product discussion
Does this pull request change what data or activity we track or use?
Testing instructions: