Rhapsody now provides a CLI tool for running codemods against files. npm run codemod will list the codemods available for use as well as usage instructions. The CLI tool runs on files one at a time and makes changes on a best effort basis. Please double-check all changes made by a codemod before committing them.
Along with this change, we have added a rtl-screen codemod. This codemod is for React Testing Library tests and converts queries returned from render calls to use the screen RTL import instead.