Skip to content

primer/react-migrate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



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

 

Available presets:

  • v37
  • v35

 

Available migrations:

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

About

One time migrations for primer/react

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published