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

npm deprecate #105

Open
cklwblove opened this issue Oct 21, 2022 · 0 comments
Open

npm deprecate #105

cklwblove opened this issue Oct 21, 2022 · 0 comments

Comments

@cklwblove
Copy link
Owner

此命令将更新 npm 注册表中指定包所对应的数据条目, 为尝试安装它的所有人提示版本作废的警告信息。

用法如下:

npm deprecate <pkg>[@<version>] <message>

举个例子:

npm deprecate @liwb/cloud-utils "WARNING: This project has been renamed to @winner-fed/cloud-utils. Install using @winner-fed/cloud-utils instead."
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

No branches or pull requests

1 participant