Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1.31 KB

maintaining-pluginade.md

File metadata and controls

23 lines (17 loc) · 1.31 KB

Maintaining Pluginade

Running and maintaining pluginade involves keeping dependencies up to date.

Future plans

In the future, it might be helpful to include a script which checks for updates, and updates them in the corresponding files. For now this is all done manually.

Maintaining Playwright

The Playwright version in package.json must match the version in the docker image. So when the time comes to update playwright, update the versions here:

  • /package.json
  • /playwright/pluginade-docker-playwright/context/wordpress.Dockerfile

Maintaining wp-scripts

While pluginade-scripts has a wp-scripts version in its package.json file, the actual version used will match the WordPress core version defined in the plugin's readme.txt file for the "Tested up to" version. For example, if the version is 6.0.0, the wp-scripts version used will match whatever it was in version 6.0.0 of WordPress core's package.json file. As such, nothing should need to be changed in pluginade-scripts for the wp-scripts version.

Maintaining Docker Images

Each docker image in pluginade-scripts needs its versions kept up to date

Each of those can be found at:

  • /playwright/pluginade-docker-playwright/context/wordpress.Dockerfile
  • /phpunit/pluginade-docker-phpunit/context/wordpress.Dockerfile
  • /pluginade-docker/Dockerfile

More to come...