Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ Rush and pnpm are newer tools and not all that popular outside of Microsoft, why
### Steps to create a new plugin

1. Build the project
2. Inside the packages folder(https://github.com/microsoft/botframework-cli/tree/master/packages) run 'npx oclif plugin <plugin-name>'
2. Inside the packages folder (https://github.com/microsoft/botframework-cli/tree/master/packages) run 'npx oclif plugin <plugin-name>'
3. Follow the wizard and set the prompts:

? npm package: @microsoft/bf-<plugin-name>
Expand All @@ -195,8 +195,15 @@ Rush and pnpm are newer tools and not all that popular outside of Microsoft, why
"@microsoft/bf-cli-command": "1.0.0",
...
}

5. Update rush.json (https://github.com/microsoft/botframework-cli/tree/master/rush.json) with the newly created package info

5. Update and build again
{
"packageName": "<package name>",
"projectFolder": "packages/<plugin>"
}

6. Run rush update and rush build again

### Steps to create a new command
1. Inside the plugin folder run 'npx oclif command <command-name>'.
Expand Down