Add step to update rush.json

Co-authored-by: Emilio Munoz <emmunozp@microsoft.com>
This commit is contained in:
Tien Suwandy 2020-07-02 14:42:09 -07:00 коммит произвёл GitHub
Родитель 213c424c35
Коммит 47caa7a700
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 9 добавлений и 2 удалений

Просмотреть файл

@ -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>
@ -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>'.