@vtex/admin-ui-codemod

0.9.4 • Public • Published

Admin UI Codemod

This repository contains a collection of codemod scripts to use with JSCodeshift that help update Admin UI APIs.

Usage

npx admin-ui-codemod <transform> <path> [...options]

  • transform - name of transform, see available transforms below.
  • path - files or directory to transform
  • use the --dry option for a dry-run and use --print to print the output for comparison

This will start an interactive wizard, and then run the specified transform.

Included Transforms

button-review

Update Button props to the 0.122.0+ specs.

npx admin-ui-codemod button-review <path>

set-to-stack

Migrate from Set to Stack

npx admin-ui-codemod set-to-stack <path>

radio-review

Update Radio & RadioGroup props to the latest specs (0.126.0+)

npx admin-ui-codemod radio-review <path>

toggle-to-switch

Migrate Toggle to Switch. Update Switch props to the latest specs (0.128.0+)

npx admin-ui-codemod toggle-to-switch <path>

tag-review

Update Tag props to the latest specs (0.132.0+)

npx admin-ui-codemod tag-review <path>

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.9.411latest
0.7.2-dev.92dev
0.6.3-experimental.111experimental
0.6.3-canary.71canary
0.5.1-test.11test

Version History

VersionDownloads (Last 7 Days)Published
0.9.411
0.9.31
0.9.21
0.9.11
0.9.01
0.8.01
0.7.2-dev.92
0.7.2-dev.81
0.7.2-dev.71
0.7.2-dev.61
0.7.2-dev.51
0.7.2-dev.41
0.7.23
0.7.2-dev.31
0.7.2-dev.21
0.7.2-dev.11
0.7.2-dev.01
0.7.11
0.7.1-dev.141
0.7.1-dev.131
0.7.1-dev.121
0.7.1-dev.111
0.7.1-dev.101
0.7.1-dev.91
0.7.1-dev.81
0.7.1-dev.71
0.7.1-dev.61
0.7.1-dev.51
0.7.1-dev.41
0.7.1-dev.32
0.7.1-dev.21
0.7.1-dev.11
0.7.1-dev.01
0.7.01
0.6.41
0.6.4-dev.41
0.6.4-dev.31
0.6.4-dev.21
0.6.4-dev.11
0.6.4-dev.01
0.6.3-dev.102
0.6.3-dev.91
0.6.3-dev.81
0.6.3-dev.71
0.6.31
0.6.3-dev.61
0.6.3-dev.51
0.6.3-dev.41
0.6.3-dev.31
0.6.3-dev.21
0.6.3-dev.11
0.6.3-dev.01
0.6.3-experimental.111
0.6.3-experimental.101
0.6.3-experimental.91
0.6.3-experimental.81
0.6.3-experimental.71
0.6.3-experimental.61
0.6.3-experimental.51
0.6.3-experimental.41
0.6.3-experimental.31
0.6.3-experimental.21
0.6.3-experimental.11
0.6.3-experimental.01
0.6.3-canary.71
0.6.3-canary.61
0.5.1-experimental.02
0.5.1-test.11
0.5.1-test.01
0.6.3-canary.51
0.6.3-canary.41
0.6.3-canary.31
0.6.3-canary.21
0.6.3-canary.11
0.6.3-canary.01
0.6.1-canary.11
0.6.21
0.6.11
0.6.01
0.5.1-dev.01
0.6.0-canary.121
0.5.01
0.4.21
0.4.11
0.4.01
0.3.1-experimental.01
0.3.01
0.2.01
0.1.11
0.1.01

Package Sidebar

Install

npm i @vtex/admin-ui-codemod

Weekly Downloads

106

Version

0.9.4

License

MIT

Unpacked Size

73.1 kB

Total Files

26

Last publish

Collaborators

  • aldreidosantosvtex
  • nikolas-oliveira-cwi
  • rodzac
  • kevinvtex
  • daniyelnnr
  • iago1501
  • carolinerpessoa
  • luiznickel-vtex
  • marcos_vtex
  • jardelymaris
  • denissilvavtex
  • eduardocesb
  • enzomerca
  • vinhags
  • zaedyvtex
  • filafb
  • bastotec
  • arthurtriis1vtex
  • geraldo.fernandes
  • georgebrindeiro
  • filipewl
  • emersonvtex
  • rodrigo.albuquerque
  • viniciuslouzadavtex
  • npedrosovtex
  • myllena.alves
  • mendescamara
  • mauro.takeda
  • lpolon
  • gianvittorio
  • eduardoformiga
  • vcnovaes
  • dpzvtex
  • vtexlab-user
  • wender
  • natamelo
  • mayzabel
  • augusto.lazaro
  • rafarubim
  • gustavorosolem
  • arthurepc
  • jeymisson
  • victorhmp
  • lurian
  • arturpimentel
  • anitavincent
  • brunojdo
  • lucasecdb
  • matheusps
  • emersonlaurentino
  • viniagostini
  • lucasaarcoverde
  • lariciamota
  • icazevedo
  • fabits
  • mateuspontes
  • gmantiqueira
  • vitorlgomes
  • rodolfoams
  • policarpo
  • marcelovicentegc
  • maianabt
  • jeffersontuc
  • hiagolcm
  • william.silva