Skip to content

Commit

Permalink
docs: 更新自动依赖更新说明
Browse files Browse the repository at this point in the history
  • Loading branch information
markthree committed May 28, 2023
1 parent 255488a commit 85fe5ef
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,17 +161,8 @@ pnpm auto:remove
10. 依赖更新

```shell
# 安全版本更新
# 依赖版本更新
pnpm deps:fresh

# 主版本更新,可能是破坏性更新,谨慎使用,做好测试
pnpm deps:fresh:major

# 次版本更新,可能是破坏性更新,谨慎使用,做好测试
pnpm deps:fresh:minor

# 补丁版本更新
pnpm deps:fresh:patch
```

```shell
Expand Down Expand Up @@ -1225,6 +1216,12 @@ data.value; // 响应数据
`github` 检查依赖,并向仓库提起 `pr`,更新策略 👉
[unjs/renovate-config](https://github.com/unjs/renovate-config)

当然你也可以执行,来手动更新 👇

```shell
pnpm deps:fresh
```

具体可见 👉 [renovate](https://github.com/renovatebot/renovate)

<br />
Expand Down

0 comments on commit 85fe5ef

Please sign in to comment.