Skip to content

DrMueller/Angular-AzureDevOps-Poc

Repository files navigation

Azure DevOps Extensions with Angular

Overview

This repository combines Azure DevOps (Former TFS / VSTS) extensions with an Angular app. The example contains two Azure DevOps extensions:

  • A "Hello World Hub" hub in the Repos area
  • A Dashboard widget

Points of interest

Instead of using the index.html, we use the Azure DevOps extension HTML files and load the Angular artifacts manually. The exemplary hub, dashboard and the init javascript are located in the vss-folder.

Build and deployment

The actual deployment is done via Azure DevOps pipeline. To deploy manually, proceed with the following steps:

  1. Assure you have a registered publisher on the portal. Link: https://marketplace.visualstudio.com/manage/publishers
  2. In the vss-extension.json:
  • Replace the publisher "DrMueller2" with yours. ATTENTION: The publisher id is also part of the the hub icons, assure to replace these paths too!
  • Replace BuildVersion with an actual version, for example "0.0.1"
  1. Build the Angular app
npm run ci-build-prod
  1. Build the VSIX package
npm run build-package
  1. Upload the generated VSIX packag manually with in the publisher portal
  2. Share it with your company
  3. Install the extension via https://xxx.visualstudio.com/_settings/extensions?tab=shared
  4. Profit!

Links

General

Manifest

Samples

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published