Team Services extension code generator
Interested how our CI/CD pipeline works? Read Set up a CI/CD pipeline for your Yeoman generator package to learn more.
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
- 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
First, install the generator
npm install -g generator-team-services-extension
Then generate your new extension project:
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
Debug this generator using
- 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
"name": "Yeoman generator",
Execute Unit Tests
- on the generator folder run this command
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 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.
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.
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