【发布时间】:2019-10-24 02:32:47
【问题描述】:
我正在尝试将自定义 angular7 库发布到 nexus 存储库,但是当我运行命令 npm publish 时,它正在推送完整的项目 dist 文件夹,而应该只推送内部生成的 .tgz 文件dist 到 nexus。
我在项目的主 package.json 文件中做了以下配置:
"publishConfig": {
"registry": "http://localhost:8081/repository/npm-private/"
}
【问题讨论】:
标签: npm angular7 nexus angular-library npm-publish