next-migrate-helper is a toolkit for updating Next Components.
Usage: next-migrate [options]
Scan your code and migrate to target version if you need
Options:
-V, --version output the version number
-m --migrate migrate your source files to target version automatically
-t --target <version> target version (default: v1)
-h, --help output usage information
tnpm install @ali/next-migrate-helper -g
next-migrate -V
it outputs version number which means the toolkit is successfully installed
enter the project path
cd path-to-your-prject
next-migrate -m ./src