Running and maintaining pluginade involves keeping dependencies up to date.
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.
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
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.
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...