Skip to content

sara-sabr/rp-azuredevops-templater

Repository files navigation

Azure DevOps Extension - Boards - template-name

Development Production

End User Project Configuration Requirements

Developer Prerequisites

Download and install the following tools

  1. Visual Studio Code
  2. Firefox (because the VS Code Debugger for Chrome extension doesn't support iframes yet)
  3. Node LTS (make sure its Node LTS - tested with Node 16)
  4. The Debugger for Firefox VS Code extension

Instructions

Setup dependencies

npm install

Preparing to publish (Local and PROD)

  1. Follow instructions
    • Acquire a Personal Access Token (PAT)

How to use template

  1. Find all instances of and change it:

    • template-id: Lower case only extension ID name with if needed "." as separators
    • template-name: English name of extension
    • template-name-english: English name of extension
    • template-project: SABR GitHub project name
  2. Update azure-devops-extension.json with any changes needed not tied to "contributions"

  3. For each contributions, you can use src/Template as an example. Do rename all "Template" including the file names to what you need.

Once you're ready to test, perform the following:

  1. Publish the package to the marketplace. You will be prompted for your PAT. npm run publish:dev.
  2. Bring up the local environment. npm run start:dev
  3. Open Firefox
  4. Ensure you have installed your extension for your organization.
  5. Browse to the project/organization.
  6. In your organization you must create a Query with the following settings: Query Settings
  7. In the same Query, change the Column settings by adding Parent: Column Settings
  8. Create a Folder in Shared Queries, called "Automation," then move the saved query into the newly created folder: Query Location

Publishing Production

  1. Publish the package to the marketplace. You will be prompted for your PAT. npm run publish.

Acknowledgements

This extension is based upon Azure DevOps Extension Hot Reload and Debug and Azure DevOps Web Sample Extension .

Releases

No releases published

Packages

No packages published