SuperAPI AI Directory

azure-artifacts-manager

Deployment & operations

View repository

Updated 10-16 11:47

About this skill

Azure Artifacts Manager Skill

This is a skill for managing packages with Azure Artifacts.

Main Features

  • Creating a Feed: npm、NuGet、Maven、Python
  • Publishing Packages: Publishing Build Artifacts
  • Package Management: Version Management
  • Access Control: Permission Settings

Creating a 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

```yaml
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 Configuration

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

Version Information

  • Version: 1.0.0