The upgrade command would work similarly to the github bot. - It will search your package.json for dependencies - If any of those dependencies have a codemod that can be run respective to the current version - Run the codemod and bump the package.json