Skip to content
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

Example: Pin Floating UI lib #4796

Closed
wants to merge 1 commit into from

Conversation

Mamaduka
Copy link
Member

@Mamaduka Mamaduka commented Jul 5, 2023

This is an example PR!

The @floating-ui dependencies have to be manually pinned in package-lock.json after each package update before the releases.

Why

There are conflicts with @floating-ui/react-dom and above, which still has to be resolved. Pinning only the top-level library isn't enough and requires a manual "pin" of sub-packages.

The package-lock.json file from WP 6.2 can be used as a base - https://github.com/WordPress/wordpress-develop/blob/6.2/package-lock.json#L1652-L1672.

More details: WordPress/gutenberg#48402.
Reference from WP 6.2 updates: #4155 (comment)

Iframed editor bug with popovers

CleanShot.2023-07-05.at.15.10.16.mp4

@Mamaduka Mamaduka closed this Jul 6, 2023
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.

1 participant