New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@vtex/admin-ui-codemod

Package Overview
Dependencies
Maintainers
50
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vtex/admin-ui-codemod

Admin UI codemod scripts

latest
Source
npmnpm
Version
0.9.9
Version published
Weekly downloads
82
148.48%
Maintainers
50
Weekly downloads
 
Created
Source

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>

FAQs

Package last updated on 13 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts