azure-artifacts-manager

Manage Azure Artifacts including package feeds, versions, and dependencies. Use when publishing or managing artifact packages.

⭐5stars🔀1forks📁View on GitHub🕐Updated Jan 11, 2026

When & Why to Use This Skill

The Azure Artifacts Manager skill streamlines the management of package feeds, versions, and dependencies within the Azure DevOps ecosystem. It empowers developers and DevOps engineers to automate the creation of feeds for npm, NuGet, Maven, and Python, while facilitating secure package publishing and access control. This tool is essential for maintaining a robust CI/CD pipeline by ensuring centralized and versioned artifact storage.

Use Cases

  • Automated Feed Provisioning: Quickly initialize and configure new package feeds (npm, NuGet, Maven, etc.) for new projects or microservices using standardized CLI commands.
  • CI/CD Pipeline Integration: Automate the publishing of build artifacts to Azure Artifacts during the deployment phase to ensure consistent delivery across environments.
  • Dependency & Version Management: Centralize internal libraries and manage package versions to prevent dependency hell and ensure team-wide consistency.
  • Access Control & Security: Configure permissions and authentication (such as .npmrc setup) to secure internal packages and control who can publish or consume artifacts.
nameazure-artifacts-manager
descriptionManage Azure Artifacts including package feeds, versions, and dependencies. Use when publishing or managing artifact packages.

Azure Artifacts Manager Skill

Azure Artifactsでパッケージを管理するスキルです。

主な機能

  • Feedの作成: npm、NuGet、Maven、Python
  • パッケージ公開: ビルド成果物の公開
  • パッケージ管理: バージョン管理
  • アクセス制御: 権限設定

Feed作成

# npm Feed作成
az artifacts feed create \
  --name "my-npm-feed" \
  --feed-type npm

# NuGet Feed
az artifacts feed create \
  --name "my-nuget-feed" \
  --feed-type nuget

# Universal Packages
az artifacts feed create \
  --name "my-universal-feed" \
  --feed-type universal

パッケージ公開

npm

steps:
  - task: Npm@1
    inputs:
      command: 'publish'
      publishRegistry: 'useFeed'
      publishFeed: 'my-npm-feed'

NuGet

steps:
  - task: NuGetCommand@2
    inputs:
      command: 'push'
      packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg'
      nuGetFeedType: 'internal'
      publishVstsFeed: 'my-nuget-feed'

Universal Packages

az artifacts universal publish \
  --organization https://dev.azure.com/myorg \
  --feed my-universal-feed \
  --name my-package \
  --version 1.0.0 \
  --path ./dist

.npmrc設定

registry=https://pkgs.dev.azure.com/myorg/_packaging/my-npm-feed/npm/registry/
always-auth=true

バージョン情報

  • Version: 1.0.0