codemod for migrating Antd@4.x to Semi
$ npx semi-codemod <path>
Replacing <path>
with appropriate values.
- path - files or directory to transform
- --dry Do a dry-run, no code will be edited
- --print Prints the changed output for comparison
不支持样式的自动化迁移,如果有对antd组件样式做扩展or覆盖的,需要手动更新
- [x] Divider
- [x] Table
- [x] Breadcrumb
- [x] Notification
- [x] message
- [x] Button
- [x] Popconfirm
- [x] Tooltip
- [x] Divider
- [x] Tabs
- [x] Drawer
- [x] Spin
- [x] Empty
- [x] Modal
- [x] Slider
- [x] Popover
- [x] Col
- [x] Row
- [x] Tag
- [x] Timeline
- [x] Collapse
- [x] Space
- [x] Select
- [ ] SelectProps
- [ ] DatePicker
- [ ] TimePicker
- [x] Input
- [x] InputNumber
- [x] Radio
- [x] Switch
- [x] Card
- [ ] Checkbox
- [x] Upload
- [ ] AutoComplete
- [ ] Dropdown
- [ ] Form
- [ ] FormInstance
- [ ] Icon
- [ ] Avatar
- [ ] List
- [x] Alert
- [ ] Menu
- [ ] Pagination