cellbang / malagu

Malagu is a Serverless First, componentized, platform-independent progressive application framework based on TypeScript. Malagu 是基于 TypeScript 的 Serverless First、组件化、平台无关的渐进式应用框架。
https://malagu.naily.cc
MIT License
697 stars 60 forks source link

希望提供一键升级的命令update命令 #121

Closed lyd0 closed 2 years ago

lyd0 commented 2 years ago

希望提供一键升级的命令update命令

提出原因: BZEX2JL_M3{890UDFUJ$(2H

malagu版本2.10.2,添加scf-adapter@2.11.1版本的依赖后,输入malagu出现上面界面。

muxiangqiu commented 2 years ago

malagu update 命令逻辑:

muxiangqiu commented 2 years ago

@lydo Malagu v2.12.0 中已经支持。


                   ___
 /'\_/`\          /\_ \
/\      \     __  \//\ \      __       __   __  __
\ \ \__\ \  /'__`\  \ \ \   /'__`\   /'_ `\/\ \/\ \
 \ \ \_/\ \/\ \L\.\_ \_\ \_/\ \L\.\_/\ \L\ \ \ \_\ \
  \ \_\\ \_\ \__/.\_\/\____\ \__/.\_\ \____ \ \____/
   \/_/ \/_/\/__/\/_/\/____/\/__/\/_/\/___L\ \/___/
                                       /\____/
                   @malagu/cli@2.12.0  \_/__/

╭──────────────────────────────────────────────────╮
│      Serverless First Development Framework      │
╰──────────────────────────────────────────────────╯

Usage: malagu update [options]

update malagu cli and current project's malagu components

Options:
  -v, --version [version]                                   version for malagu
  -d, --dist-tag [distTag]                                  Which dist-tag to use to find the latest version
  -s, --skip-installing-component [skipIntallingComponent]  skip installing components
  -h, --help                                                display help for command