#55642 closed task (blessed) (fixed)
Tools: Further automate backporting from Gutenberg to Core
Reported by: | gziolo | Owned by: | gziolo |
---|---|---|---|
Milestone: | 6.0 | Priority: | normal |
Severity: | normal | Version: | 6.0 |
Component: | Build/Test Tools | Keywords: | has-patch |
Focuses: | Cc: |
Description
Follow-up for #51491.
Updating WordPress packages is currently a manual process that takes some reading and trial&error to figure out:
- Update browserslist database.
- Update WordPress packages.
- Install any new WordPress packages required by the existing dependencies.
- Update React and other non-WordPress dependencies to the versions required by the WordPress packages.
- Run
npm run build:dev
.
This PR adds a single task called sync-gutenberg-packages
that automates this entire process.
Change History (3)
Note: See
TracTickets for help on using
tickets.
### What problem does this PR solve?
Trac ticket: https://core.trac.wordpress.org/ticket/55642
Updating
@wordpress
packages is currently a manual process that takes some reading and trial&error to figure out:browserslist
database@wordpress
packages@wordpress
required by the existing dependencies@wordpress
dependencies to the versions required by the@wordpress
packagesnpm build:dev
(see https://github.com/WordPress/wordpress-develop/pull/2564)
This PR adds a single task called
sync-gutenberg-packages
that automates this entire process.Ideally, the next step will be a GitHub action that runs it for you.
### Test plan
Run the following commands:
Then merge this branch into your local copy:
Then run the command:
Then run
git status
and confirm it reports the following:cc @gziolo