npm.io
1.1.5 • Published 7 years agoCLI

@alifd/next-migrate-helper

Licence
MIT
Version
1.1.5
Deps
5
Size
50 kB
Vulns
0
Weekly
0
Stars
2

next-migrate-helper

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

example

Step 1:

tnpm install @ali/next-migrate-helper -g
Step: 2:
next-migrate -V 

it outputs version number which means the toolkit is successfully installed

Step 3:

enter the project path

cd path-to-your-prject
next-migrate -m ./src

suggest will be given