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

希望在ui的package.json中加入packageManager字段 #6635

Open
ShiinaKin opened this issue Sep 10, 2024 · 1 comment
Open

希望在ui的package.json中加入packageManager字段 #6635

ShiinaKin opened this issue Sep 10, 2024 · 1 comment
Labels
area/ui Issues or PRs related to the Halo UI kind/improvement Categorizes issue or PR as related to a improvement.

Comments

@ShiinaKin
Copy link
Contributor

Your current Halo version

No response

Describe this feature

"packageManager": "[email protected]"

https://nodejs.org/api/packages.html#packagemanager

之前用旧版本pnpm运行时经常会遇到怪问题,最后更新pnpm之后再次install就行,加入此字段有助于减少这一问题

Additional information

No response

@ruibaby
Copy link
Member

ruibaby commented Sep 11, 2024

感谢反馈,可以考虑加上这个字段,但建议宽松一点,比如 pnpm@9

另外,使用这个字段似乎必须要求启用 corepack,我不确定这是否会给维护者带来其他副作用。

/kind improvement
/area ui

@f2c-ci-robot f2c-ci-robot bot added kind/improvement Categorizes issue or PR as related to a improvement. area/ui Issues or PRs related to the Halo UI labels Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ui Issues or PRs related to the Halo UI kind/improvement Categorizes issue or PR as related to a improvement.
Projects
None yet
Development

No branches or pull requests

2 participants