npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

vso-extension-samples

v0.0.1

Published

Visual Studio Online Extension Samples

Downloads

7

Readme

Visual Studio Online Extension Samples

This repo contains samples to help jump-start you in your development of Extensions for Visual Studio Online.

Getting started

Pre-requisites

  1. Join the Visual Studio Partner program to get early access to the Extensions feature
  2. Verify the Extensions feature has been enabled on your account by navigating to https://youraccount.visualstudio.com/DefaultCollection/_admin/_apps/hub/ms.vss-extmgmt-web.manageExtensions-collection.
  3. Available local or cloud web server with HTTPS (IIS, Node.js, Azure Web App, Heroku, etc)

Steps

The samples are published to the gallery. You can install them to your account by doing the following:

  1. Go to https://youraccount.visualstudio.com/DefaultCollection/_admin/_apps/hub/ms.vss-extmgmt-web.manageExtensions-collection
  2. Locate the sample extension you want to install and click "Install".

Publishing the extensions yourself

If you want to edit the samples to play around with them, you will need to publish them yourself.

Before you begin

Follow the steps under Before you begin at Publishing from the Command Line. Save your Personal Access Token for later use.

Publish
  1. Clone the samples
    git clone https://github.com/Microsoft/vso-extension-samples.git
    cd vso-extension-samples

  2. Prep the packages and distributions:
    npm install
    grunt prepPackage --baseUri https://localhost:XXXX --publisher PPPP
    Note: XXXX is the port on which you will set up a local web server. PPPP is the ID of the publisher you created in the "Before you begin" steps.

  3. Publish
    cd dist\packages\<sample>
    Note: is the directory containing the sample you want to publish.

    vset publish --token TTTT --share-with AAAA --save
    Note: TTTT is the Personal Access Token you generated in "Before you begin" above. AAAA is the name of your VSO account.
    Note: From now on, if you need to make changes to your manifest and re-publish the extension, you just type vset publish. Your token and share options are remembered.

  4. Install by going to https://youraccount.visualstudio.com/_admin/_apps/hub/ms.vss-extensionManagement-web.manageExtensions. Find the extension you published under the Shared With Me category. Click "Install" to install the extension.

What's available

Branch delete

image

Clean up old or unneeded Git branches right from within Visual Studio Online.

Contribution guide

image

Discover all the places in Visual Studio Online you can extend, including hubs, toolbars, and context menus, and more.

Build inspector

Demonstrates advanced extension concepts like AMD loading, using UI controls, history, and more. This sample is written in TypeScript and must be built before it can be installed. Open readme.md for instructions.

UI

image

Explore different UI controls, including menus, toolbars, custom controls, and more.

Public events (for Team Calendar)

Adds an event source to the Team Calendar extension for public holidays. Note that this sample contributes to another extension rather than core Visual Studio Online.

Build Results Enhancer

This sample extension, written in typescript, shows how to make a tab/section contribution to build summary page, reacting to build updates.

This also has a sample code that allows user to render custom data results uploaded from a particular task in build.

You could contribute to build results view in different ways :

  • As a section to any of your own contributed tab for build results view
  • As a section to the existing "summary" tab in build results view
  • As a tab to the build results view

Contributing as a tab and a section to our own tab -

image

Contributing as a section to "summary" tab -

image