Generates a basic Azure DevOps extension with support for hot reload and debugging in VS Code
Перейти к файлу
Matisse Hack b0c9883c26
Merge pull request #18 from microsoft/dependabot/npm_and_yarn/got-and-yeoman-generator--removed
Bump got and yeoman-generator
2022-12-05 11:56:53 -08:00
app Added more validation 2019-06-13 15:23:18 -07:00
.gitignore Initial commit 2019-05-22 14:48:44 -07:00
LICENSE Initial commit 2019-05-17 10:33:21 -07:00
README.md Readme fixes 2019-06-13 15:25:59 -07:00
SECURITY.md Microsoft mandatory file 2022-08-12 16:22:28 +00:00
package-lock.json Bump got and yeoman-generator 2022-12-05 19:55:37 +00:00
package.json Bump got and yeoman-generator 2022-12-05 19:55:37 +00:00

README.md

Azure DevOps extension generator

Generates a basic Azure DevOps extension with support for hot reload and debugging in VS Code. For more information about how hot reload and debugging works with Azure DevOps extensions, please see the azure-devops-extension-hot-reload-and-debug repo, as well as the accompanying blog post.

Installation

First, install Yeoman and generator-azure-devops-extension using npm (we assume you have pre-installed Node.js).

npm install -g yo
npm install -g @microsoft/generator-azure-devops-extension

Then generate your new project:

yo @microsoft/azure-devops-extension

Output

Running the generator will result in the following file structure:

.
├── .eslintrc.js
├── .gitignore
├── .vscode
│   └── launch.json
├── README.md
├── configs
│   ├── dev.json
│   └── release.json
├── img
│   └── world.png
├── package.json
├── src
│   └── hub
│       ├── hub.html
│       ├── hub.scss
│       └── hub.tsx
├── tsconfig.json
├── vss-extension.json
└── webpack.config.js

What's next?

Now that you have generated a new project, you are ready to start debugging. Refer to the generated readme in your new project for instructions on how to get started. You should also check out our azure-devops-extension-hot-reload-and-debug repo for an in-depth look at how these features work.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.