CLI tool to aid in migrate antd from old version to newer version.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 913ff64 Jan 29, 2018
Permalink
Failed to load latest commit information.
lib Add dynamicImport plugin Dec 22, 2017
rules fix 拼写错误 Jan 29, 2018
spec/helpers refactor: new test solution Jan 12, 2017
.gitignore Use english Dec 11, 2017
.travis.yml chore: update things Jan 12, 2017
LICENSE Initial commit Jan 5, 2017
README.md Update README.md Dec 14, 2017
index.js Add debug Dec 19, 2017
jasmine.json refactor: rename helpers to lib Jan 11, 2017
package.json Bump 0.3.3 Jan 19, 2018

README.md

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