[英]How do I use my Azure DevOps NPM Artifact feed as a provider in my libman.json?
I'm working on creating an automated UI update process for a suite of apps utilizing the Azure DevOps build pipeline and hosted Artifacts. 我正在使用Azure DevOps构建管道和托管工件为一组应用程序创建自动UI更新过程。 I've already created a npm package (front end assets) and nuget package (razor class library with nested layouts/partials).
我已经创建了一个npm包(前端资产)和nuget包(具有嵌套布局/部分的剃刀类库)。 I would like to consume the NPM package in other projects using the libman.json while utilizing my Azure DevOps Artifacts feed as the provider.
我想使用libman.json在其他项目中使用NPM包,同时将Azure DevOps Artifacts提要用作提供程序。 Is there an easy answer to this or is another method preferable?
有一个简单的答案,还是另一种方法更可取?
Thanks! 谢谢!
I've found that the filesystem provider option may be of use. 我发现文件系统提供程序选项可能有用。
It seems fairly feasible to install/restore the npm package from our azure devops artifact feed during the build pipeline and then use the file-system provider to reference the package and install the assets as desired utilizing the standard libman.json restore process. 在构建管道中从我们的azure devops工件提要中安装/恢复npm软件包,然后使用文件系统提供程序引用该软件包并利用标准libman.json还原过程根据需要安装资产,这似乎是相当可行的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.