Rector rules for performing upgrades to the WordPress blocks package.
composer require --dev creode/wordpress-blocks-rector
To upgrade from 0.x to 1.x, run the following command, replacing {theme-name}
with the name of your WordPress theme:
vendor/bin/rector process wp-content/themes/{theme-name} --config=vendor/creode/wordpress-blocks-rector/config/blocks-1-0.php
Documentation for the block plugins can be found here.