One time migrations for primer/react
npx primer-react-migrate [src directory] -p [preset name] [--create-commits]
# or
npx primer-react-migrate [src directory] -m [migration name] [--create-commits]
# Example:
npx primer-react-migrate src -p v37 --create-commits
npx primer-react-migrate src -m use-deprecated-button
- v37
- v35
use-deprecated-flex
use-deprecated-grid
use-deprecated-label
use-deprecated-position
use-deprecated-dropdown
use-deprecated-borderbox
use-deprecated-formgroup
use-deprecated-selectmenu
use-deprecated-button
use-deprecated-actionlist
use-deprecated-actionmenu
use-deprecated-dropdownmenu
use-deprecated-inputfield
use-deprecated-choicefieldset
use-deprecated-choiceinputfield
use-main-label
use-main-button
use-main-actionlist
use-main-actionmenu
use-main-pagelayout
use-deprecated-dialog
use-deprecated-tooltip
use-deprecated-octicon
use-deprecated-pagehead
use-deprecated-tabnav
rename-drafts-to-experimental
use-main-dialog
use-main-tooltip
use-main-stack