简体   繁体   中英

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. I've already created a npm package (front end assets) and nuget package (razor class library with nested layouts/partials). 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. 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM