HN 提问:分阶段 NPM 发布太糟糕了

3 分•作者: electrovir•3 个月前
我最近试用了 npm 的新分阶段发布机制。这是一种糟糕的开发者体验。(https://docs.npmjs.com/staged-publishing) 我总体上支持这个概念(出于安全目的),但批准分阶段发布的开发者必须为每个单独的分阶段包单独输入他们的通行密钥,即使它们都是同时分阶段和批准的。任何发布包含多个包的单体仓库的人都会抓狂(我已经快疯了)。 为了避免自己抓狂,我不得不回退到非分阶段发布。
查看原文
I tried out npm&#x27;s new staged publishing mechanism recently. It&#x27;s a terrible dev experience. (https:&#x2F;&#x2F;docs.npmjs.com&#x2F;staged-publishing)<p>I support the concept in general (for security purposes), but the dev approving staged publishes must enter their passkey separately for every individual staged package, even if they&#x27;re all staged and approved at the same time. Anyone publishing a mono-repo of packages will go crazy (I already am).<p>To prevent my own going crazy, I&#x27;ve had to revert back to non-staged publishing.