Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Config: Mirror packages dependencies registration with core #11637
This PR tries to mirror the setup which we have in WordPress core for packages dependencies in PHP part of Gutenberg. Related code:
It goes even further and moved the list of packages and their dependencies to their own file to make it even easier to update in WordPress core.
In addition, this PR removes the hardcoded list of Gutenberg packages from
The very last step (definitely a separate PR) would be to generate this PHP array with dependencies using some automated tooling so we didn't have to maintain it manually anymore. We are not quite there as we still have some WordPress core dependencies listed which aren't published to this repository and there not published to npm.