是否有针对 `npm publish -f` 的解决方法 [英] Is there a workaround for `npm publish -f`
本文介绍了是否有针对 `npm publish -f` 的解决方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
既然 npm publish -f
已被弃用,是否有解决方法或软件包可以在目标版本发布后覆盖?
Now that npm publish -f
is deprecated, is there a workaround or a package that makes it possible to overwrite a target version after it's been published?
我知道semver;我仍然想要 npm publish -f
.
I know about semver; I still want npm publish -f
.
推荐答案
有人在 npm 的 github issue 上这么说:
someone said this on npm's github issue:
@nmrony 你不能再覆盖以前发布的包(如果我没记错的话,从 2014 年 2 月开始).
@nmrony You cannot overwrite previously-published packages anymore (since February 2014, if I recall correctly).
https://github.com/npm/npm/issues/8305#issuecomment-236412989
这篇关于是否有针对 `npm publish -f` 的解决方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文