uioz / mfe-proxy-cli

MIT License
0 stars 0 forks source link

update 命令 #34

Closed uioz closed 3 years ago

uioz commented 3 years ago

update 命令

类似于 npm update 命令, 但是不会去更新那些不在 manifest 中的 package, 即使手动指定.

注意: --to-npm --registry <registry> 将会被manifest中所记录的registry覆盖, 如果需要特殊配置请通过npm来手动处理这已经超出了update` 的设计初衷.

说明:

Usage: index update [options] [<pkg>...]

this command will only update the "mfe" package which has a "mfe-config.js" in its project folder

Options:
  -m, --manifest <manifest>    to specify a manifest file (default: "mfe-manifest.json")
  -n, --to-npm <anyoption...>
  -h, --help                   display help for command

Originally posted by @uioz in https://github.com/uioz/mfe-proxy-cli/issues/9#issuecomment-843722370