WebStorm:将“npm ci”设置为默认操作

WebStorm: set "npm ci" as default action

提问人:ehtomit 提问时间:11/10/2023 最后编辑:LazyOneehtomit 更新时间:11/11/2023 访问量:18

问:

我正在使用 WebStorm,当我的依赖项需要更新时,我会收到一条通知,其中包含“运行'npm install'”按钮(见下图)。

enter image description here

问:有没有办法将此通知按钮的操作更改为 (npm ci) ?npm clean install

提前致谢。

npm 依赖项 webstorm npm-install

评论


答:

1赞 LazyOne 11/11/2023 #1

现在不可能。

您可能对以下工单感兴趣(加星标/投票/评论以获得任何进度通知):

  • WEB-44244 -- 使按钮实际运行的选项npm installnpm ci
  • WEB-42233 -- Node 和 npm:支持在 package.json 发生更改时运行npm ci
  • WEB-56353 -- 建议在“更多操作...”中运行npm ci