Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cli): taro init 命令新增 autoInstall 的配置支持 #16129

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

koppthe
Copy link
Contributor

@koppthe koppthe commented Jul 18, 2024

这个 PR 做了什么? (简要描述所做更改)

taro init 命令新增 autoInstall 配置,支持关闭自动安装依赖的功能

Usage: taro init [options]

Options:
  --name [name]                       项目名称
  --description [description]         项目介绍
  --typescript                        使用TypeScript
  --npm [npm]                         包管理工具
  --template-source [templateSource]  项目模板源
  --clone [clone]                     拉取远程模板时使用git clone
  --template [template]               项目模板
  --css [css]                         CSS预处理器(sass/less/stylus/none)
  --autoInstall                       自动安装依赖
  -h, --help                          output usage information

这个 PR 是什么类型? (至少选择一个)

  • 错误修复(Bugfix) issue: fix #
  • 新功能(Feature)
  • 代码重构(Refactor)
  • TypeScript 类型定义修改(Typings)
  • 文档修改(Docs)
  • 代码风格更新(Code style update)
  • 其他,请描述(Other, please describe):

这个 PR 涉及以下平台:

  • 所有小程序
  • 微信小程序
  • 支付宝小程序
  • 百度小程序
  • 字节跳动小程序
  • QQ 轻应用
  • 京东小程序
  • 快应用平台(QuickApp)
  • Web 平台(H5)
  • 移动端(React-Native)
  • 鸿蒙(harmony)

Copy link

codecov bot commented Jul 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 61.05%. Comparing base (0970bf7) to head (eea3a12).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main   #16129   +/-   ##
=======================================
  Coverage   61.05%   61.05%           
=======================================
  Files         445      445           
  Lines       22939    22939           
  Branches     4782     4782           
=======================================
  Hits        14005    14005           
  Misses       7957     7957           
  Partials      977      977           
Flag Coverage Δ
taro-cli 73.67% <ø> (ø)
taro-runtime 59.83% <ø> (ø)
taro-web 52.76% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
packages/taro-cli/src/cli.ts 86.08% <ø> (ø)

@koppthe koppthe merged commit f22ddc4 into main Jul 19, 2024
37 checks passed
@koppthe koppthe deleted the feat/cli-auto-install branch July 19, 2024 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants