简体   繁体   English

如何将我的Azure DevOps NPM Artifact提要用作libman.json中的提供者?

[英]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.

相关问题 为什么 libman.json 被创建为“内容”以及为什么它具有“如果较新则复制”属性? - Why libman.json is created as 'Content' and why it has 'Copy if newer' property? 如何使用 LibMan 下载目录? - How do I download directory with LibMan? 如何使用libman而不是npm来下载typescript定义 - How to use libman instead of npm to download typescript definitions 如何为我的 Azure SQL DB 创建 Azure DevOps 存储库? - How do I create an Azure DevOps Repos for my Azure SQL DB? 如何将当前主分支合并到我的分支 visual studio/azure devops? - How do I merge current master branch into my branch visual studio/azure devops? 从我的 Azure DevOps Artifacts 提要安装上游 NuGet 包(以将它们保存在该提要中)无效 - Installing upstream NuGet packages from my Azure DevOps Artifacts feed (to get them saved in that feed) has no effect 如何在 Azure DevOps Git Repo 中包含来自 Microsoft Dynamics 365 项目的 X++ 代码? - How can I include X++ code from my Microsoft Dynamics 365 project in my Azure DevOps Git Repo? 如何限制组织中的特定用户从我们的办公室 IP 之外访问 Azure DevOps - How can I restrict particular users in my organization to access Azure DevOps from outside of our office IP 如何从Azure部署包中排除文件? - How do I exclude files from my Azure deployment package? 如何在 azure devops 中恢复丢失的文件 - how do I recover a missing file in azure devops
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM