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: yakumo upgrade 不尊重semver地更新依赖 #12

Open
idranme opened this issue Aug 1, 2023 · 8 comments
Open

Feat: yakumo upgrade 不尊重semver地更新依赖 #12

idranme opened this issue Aug 1, 2023 · 8 comments
Labels
enhancement New feature or request

Comments

@idranme
Copy link

idranme commented Aug 1, 2023

当版本号写死时,yakumo upgrade 不会将其更新。
例如:"koishi": "4.14.0"
当使用 koishi 时,这会导致 koishi 更新不完全。

设想:yakumo upgrade --force

@shigma
Copy link
Member

shigma commented Aug 1, 2023

这是预期行为。写死版本号意味着你不能接受任何其他版本。

@shigma shigma added the invalid This doesn't seem right label Aug 1, 2023
@idranme
Copy link
Author

idranme commented Aug 1, 2023

这是预期行为。写死版本号意味着你不能接受任何其他版本。

可是 ncu 依然会更新

image

(图是阿日的)

@idranme
Copy link
Author

idranme commented Aug 1, 2023

此问题会导致,使用过控制台更新的插件无法使用 yarn dep 更新

@shigma
Copy link
Member

shigma commented Aug 1, 2023

使用控制台更新开发环境是不受支持的行为。

@shigma
Copy link
Member

shigma commented Aug 1, 2023

可是 ncu 依然会更新

ncu 会更新与 yakumo 的行为无关,yakumo 尊重用户的 semver。

如果你希望 yakumo 出一个不尊重 semver 的选项,可以修改此 issue 的标题。

@idranme idranme changed the title Bug: yakumo upgrade 没有更新部分依赖 Feat: yakumo upgrade --force Aug 1, 2023
@idranme
Copy link
Author

idranme commented Aug 1, 2023

可是 ncu 依然会更新

ncu 会更新与 yakumo 的行为无关,yakumo 尊重用户的 semver。

如果你希望 yakumo 出一个不尊重 semver 的选项,可以修改此 issue 的标题。

嗯呐

@shigma shigma added enhancement New feature or request invalid This doesn't seem right and removed invalid This doesn't seem right labels Aug 1, 2023
@idranme idranme changed the title Feat: yakumo upgrade --force Feat: yakumo upgrade 不尊重semver地更新依赖 Aug 1, 2023
@shigma
Copy link
Member

shigma commented Aug 1, 2023

我的想法是可以做个 interactive 模式,遇到可以不尊重 semver 的情况下主动询问用户。

@shigma shigma removed the invalid This doesn't seem right label Aug 1, 2023
@idranme
Copy link
Author

idranme commented Aug 1, 2023

我的想法是可以做个 interactive 模式,遇到可以不尊重 semver 的情况下主动询问用户。

这个想法不错。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants