Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit 47caa7a

Browse files
Update CONTRIBUTING.md (#873)
Add step to update rush.json Co-authored-by: Emilio Munoz <[email protected]>
1 parent 213c424 commit 47caa7a

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

CONTRIBUTING.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ Rush and pnpm are newer tools and not all that popular outside of Microsoft, why
172172
### Steps to create a new plugin
173173

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

178178
? npm package: @microsoft/bf-<plugin-name>
@@ -195,8 +195,15 @@ Rush and pnpm are newer tools and not all that popular outside of Microsoft, why
195195
"@microsoft/bf-cli-command": "1.0.0",
196196
...
197197
}
198+
199+
5. Update rush.json (https://github.com/microsoft/botframework-cli/tree/master/rush.json) with the newly created package info
198200

199-
5. Update and build again
201+
{
202+
"packageName": "<package name>",
203+
"projectFolder": "packages/<plugin>"
204+
}
205+
206+
6. Run rush update and rush build again
200207

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

0 commit comments

Comments
 (0)