Skip to content

CLI tool to aid in migrate antd from old version to newer version.

License

Notifications You must be signed in to change notification settings

ant-design/antd-migration-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

antd-migration-helper

npm package NPM downloads Dependency Status

CLI tool to aid in migrate antd from old version to newer version. It scans files for JSX code and provides detailed warnings when deprecated patterns are found. It cannot reliably catch every deprecation, but should get you 80% of the way there.

Screenshot

Usage

# install
npm install -g antd-migration-helper

# navigate to an antd@1.x project directory
cd path/to/my-antd-project

# scan all files in the current directory
antd-migration-helper
# scan all files in specific sub-directories
antd-migration-helper src folder-a folder-b
# scan a specific file or files
antd-migration-helper src/app.jsx

License

MIT

About

CLI tool to aid in migrate antd from old version to newer version.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published