This repository contains a collection of codemod scripts for use with JSCodeshift that help update Rax related project.
npx rax-codemod <transform> <path> <...options>
-
transform
- name of transform, see available transforms below, default value isapp
. -
path
- files or directory to transform, default value is current dir.
Converts build-plugin-rax-app@0.x
~ build-plugin-rax-app@5.x
into rax-app@3.x
.
npx rax-codemod
Converts plugin-rax-component
into plugin-component
.
npx rax-codemod plugin-rax-component-to-component <path>