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

generator-team-services-extension

v1.1.11

Published

Yeoman generator for Visual Studio Team Services and Team Foundation Server extensions

Downloads

54

Readme

Visual Studio Team Services (VSTS) extension code generator

VSTS | NPM

Gears Interested how our CI/CD pipeline works? Read Set up a CI/CD pipeline for your Yeoman generator package to learn more.

Capabilities

generator-team-services-extension is a Yeoman generator that creates an extension for Visual Studio Team Services or Team Foundation Server.

The extension type can be :

  • New hub extension
  • Custom build or release task
  • Widget dashboard
  • Service hooks consumer

Requirements

  • Node.js with NPM, Minimum version 6.9.5 LTS (https://nodejs.org/)
  • Yeoman : npm install -g yo
  • (Optional) Microsoft Azure subscription for monitoring with Application Insights

Installation

First, install the generator

npm install -g generator-team-services-extension

Then generate your new extension project:

yo team-services-extension

Test this generator locally

  • clone this repository
  • with command prompt navigate to the package folder and run this command for link npm package on this folder Use npm link
npm link

Debug this generator using Visual Studio Code

  • Click Debug in the VS Code Activity Bar
  • Click Configure (gear icon right to Configuration dropdown)
  • Select Node.js
  • From the configuration dropdown click Add Configuration
  • Popup will show with a list of available configruations, select Node.js: Yeoman generator
  • Change args value to generator name: team-services-extension

The final configuration should looks like below

{    
    "version": "0.2.0",
    
    "configurations": [
        {
            "type": "node",
            "request": "launch",
            "name": "Yeoman generator",
            "program": "${workspaceRoot}/node_modules/yo/lib/cli.js",
            "args": [
                "team-services-extension"
            ],
            "console": "integratedTerminal",
            "internalConsoleOptions": "neverOpen"
        }
    ]
}

Execute Unit Tests

  • on the generator folder run this command
npm run test

Getting started

Generated templates

We've included //TODO: placeholders in the generated license, thirdpartynotices, and overview files to guide you through the changes you need to make.

Visual Studio Teams Service Web Extension

Take a look at the information on getting started with extensions, RESTful APIs, SDK, and the marketplace. I

Yeoman

  • Yeoman has a heart of gold.
  • Yeoman is a person with feelings and opinions, but is very easy to work with.
  • Yeoman can be too opinionated at times but is easily convinced not to be.
  • Feel free to learn more about Yeoman.

Contributions

Team

We thank the following contributor(s): Josh Garverick , Mikael Krief and Hosam Kamel

Contributions are welcome

Here is how you can contribute to this project:

  • Submit bugs and help us verify fixes
  • Submit pull requests for bug fixes and features and discuss existing proposals

Please refer to Contribution guidelines and the Code of Conduct for more details.

Notices

Building this solution will download other software, subject to the third party license terms that are between you and the third party.

And npm dependencies list are :

The generated extensions needs these 3 rd libraries