Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
e30bf46
docs: Udpated extending-with-code doc (#1073)
tracyboehrer May 4, 2021
366eae3
fix: .NET Functions .csproj template fixes (#1065)
peterinnesmsft May 4, 2021
89ec8b8
fix: Fixing closing tag for local.settings.json Content element in .N…
peterinnesmsft May 4, 2021
4a4bfe4
fix: Install .NET Core SDK for '.NET: Version, Sign & Pack' CI/CD pip…
peterinnesmsft May 5, 2021
c3bf22e
docs: R13 fit and finish for template README.md files (#1079)
May 5, 2021
83a7779
Convert switch case condition to stringexpression, per schema definit…
ryanisgrig May 7, 2021
2a422a6
chore: bump js sdk version to 4.13.2-preview (#1096)
joshgummersall May 10, 2021
d85030e
convert svg icons to PNG to fix broken images in Teams (#1100)
lauren-mills May 11, 2021
87bf90c
Corrected Skills Trigger to use correct route (#1102)
tracyboehrer May 11, 2021
8d640e1
fix: skill interrupting itself (#1107)
lauren-mills May 11, 2021
512ae8f
Update sln to point to correct path for package (#1093)
thomas-chung May 12, 2021
42f18d0
fix: Update .NET Functions to use wwwroot dir for static files (#1113)
peterinnesmsft May 13, 2021
7f90822
add rewrite rule for manifest files for js webapps (#1116)
benbrown May 17, 2021
437f96f
bump: js to 4.13.4 (#1120)
joshgummersall May 18, 2021
49f622a
fix: Updated SDK dependencies (#1119)
tracyboehrer May 18, 2021
9de3d82
chore: Add tags to Teams component project file (#1115)
EricDahlvang May 19, 2021
7dff24e
fix: orphaned schemas (#1068)
joshgummersall May 19, 2021
e16397c
PR labeler corrections (#1125)
tracyboehrer May 20, 2021
354d19e
cleanup (#1127)
clearab May 26, 2021
3547fbd
feat: generator-bot-adaptive: Added command line option to specify SD…
tracyboehrer Jun 4, 2021
c27784a
chore: Update issue templates to reflect Components repository (#1141)
ryanisgrig Jun 5, 2021
17dec7e
chore: Added FunctionalTests to repo (#1144)
tracyboehrer Jun 7, 2021
afb76d8
generator-bot-adaptive: Include *.model (#1140)
tracyboehrer Jun 8, 2021
ae4e7e8
generator-bot-adaptive: Updated default speak voice (#1147)
tracyboehrer Jun 9, 2021
639e25a
chore: Update package metadata (#1148)
peterinnesmsft Jun 9, 2021
c5bb422
feat: Azure resource deployment for Components Functional Tests pipel…
ryanisgrig Jun 11, 2021
2ca9d41
chore: @microsoft/generator-bot-adaptive happy path unit tests (#1091)
peterinnesmsft Jun 14, 2021
e65cf7e
chore: Wire up yeoman unit tests in CI/CD pipelines (#1152)
peterinnesmsft Jun 14, 2021
0f8c042
feat: functional tests generate empty bots in dotnet (#1156)
ryanisgrig Jun 17, 2021
74236b3
fix: GetManager issue with name entity not set (#1163)
thomas-chung Jun 22, 2021
06b888c
Add Teams package unit tests (#1171)
ryanisgrig Jun 29, 2021
a992a47
fix: Stevenic/ac fix (#1164)
Stevenic Jun 29, 2021
bc3507e
feat: functional tests generate empty bots in js (#1186)
ryanisgrig Jul 1, 2021
205d6e0
fix: R14 template issues (#1188)
lauren-mills Jul 1, 2021
1ef640b
chore: clarify yarn usage in pipelines & package with version name to…
ryanisgrig Jul 9, 2021
10e5880
Fixed broken links that open url in Composer modal (#1204)
lauren-mills Jul 9, 2021
11998f6
build: Add Components functional test scenarios to daily pipelines (#…
ryanisgrig Jul 12, 2021
b373b0d
chore: Merge 4.14 To Main (#1201)
thomas-chung Jul 12, 2021
b7497aa
Revert "chore: Merge main to feature/telephony (#1209)"
Jul 13, 2021
b54473a
Revert previous merge from main and retry fresh merge
Jul 14, 2021
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
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"plugins": ["prettier"],
"rules": {
"prettier/prettier": "error"
}
},
"root": true
}

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,9 @@ experimental/generator-dotnet-yeoman/node_modules
!/[Pp]ackages/*
!/tests/[Pp]ackages/*

# Allow the packages directory under tests
!/tests/unit/[Pp]ackages/*

# Ignore correct yarn files (no zero install support)
.yarn/*
!.yarn/patches
Expand Down
2 changes: 0 additions & 2 deletions build/yaml/templates/component-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ stages:
- job: build_test_dotnet
displayName: Build and test .csproj with dotnet
steps:
- template: dotnet-install-sdk-steps.yml
- template: dotnet-build-test-steps.yml

- stage: stage_package_nuget
Expand All @@ -46,7 +45,6 @@ stages:
condition: eq(variables.ComponentType, 'codeExtension')
steps:
- template: nuget-versioning-steps.yml
- template: dotnet-install-sdk-steps.yml
- template: dotnet-package-steps.yml
- template: nuget-signing-steps.yml
- job: job_pack_nuspec
Expand Down
10 changes: 10 additions & 0 deletions build/yaml/templates/dotnet-build-test-steps.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
steps:
- task: UseDotNet@2
displayName: 'Use .Net Core sdk 2.1.x'
inputs:
version: 2.1.x

- task: UseDotNet@2
displayName: 'Use .Net Core sdk 3.1.x'
inputs:
version: 3.1.x

- task: DotNetCoreCLI@2
displayName: 'Run `dotnet restore`'
inputs:
Expand Down
10 changes: 0 additions & 10 deletions build/yaml/templates/dotnet-install-sdk-steps.yml

This file was deleted.

5 changes: 5 additions & 0 deletions build/yaml/templates/dotnet-package-steps.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
steps:
- task: UseDotNet@2
displayName: 'Use .Net Core sdk 2.1.x'
inputs:
version: 2.1.x

- task: DotNetCoreCLI@2
displayName: 'Run `dotnet publish`'
inputs:
Expand Down
2 changes: 1 addition & 1 deletion build/yaml/templates/npm-versioning-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ steps:
$deploymentRing = $deploymentRingOverride;
}

if ($deploymentRing.ToLowerInvariant() -eq "rc") {
if (($deploymentRing.ToLowerInvariant() -eq "rc") -or ($deploymentRing.ToLowerInvariant() -eq "preview")) {
$releaseCandidateNumber = "$env:RELEASECANDIDATENUMBER";
"Release Candidate Number = $releaseCandidateNumber";

Expand Down
5 changes: 0 additions & 5 deletions build/yaml/templates/nuget-signing-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
# Extra steps are required to sign the binaries of the code extensions.

steps:
- task: UseDotNet@2
displayName: 'Use .Net Core sdk 2.1.x'
inputs:
version: 2.1.x

- task: CopyFiles@2
displayName: 'Copy packages to Signing'
inputs:
Expand Down
2 changes: 1 addition & 1 deletion build/yaml/templates/nuget-versioning-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ steps:
$deploymentRing = $deploymentRingOverride;
}

if ($deploymentRing.ToLowerInvariant() -eq "rc") {
if (($deploymentRing.ToLowerInvariant() -eq "rc") -or ($deploymentRing.ToLowerInvariant() -eq "preview")) {
$releaseCandidateNumber = "$env:RELEASECANDIDATENUMBER";
"Release Candidate Number = $releaseCandidateNumber";

Expand Down
10 changes: 3 additions & 7 deletions generators/command-line-instructions.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Command line instructions

Our templates can also be used from the command-line. First, install [Yeoman][yeoman] using [npm][npm] (we assume you have pre-installed [node.js][nodejs]):
Our templates can also be used from the command-line. First, install [Yeoman](https://yeoman.io) using [npm](https://npmjs.com) (we assume you have pre-installed [node.js](https://nodejs.org/)):

```bash
npm install -g yo
Expand All @@ -17,13 +17,13 @@ Next, identify the template you would like to use from the table below:
| [Enterprise People Bot](/generator-bot-enterprise-people) | [@microsoft/generator-bot-enterprise-people](https://www.npmjs.com/package/@microsoft/generator-bot-enterprise-people) | [![npm version](https://badge.fury.io/js/%40microsoft%2Fgenerator-bot-enterprise-people.svg)](https://badge.fury.io/js/%40microsoft%2Fgenerator-bot-enterprise-people) | dotnet | webapp, functions |
| [Adaptive](/generator-bot-adaptive) | [@microsoft/generator-bot-adaptive](https://www.npmjs.com/package/@microsoft/generator-bot-adaptive) | [![npm version](https://badge.fury.io/js/%40microsoft%2Fgenerator-bot-adaptive.svg)](https://badge.fury.io/js/%40microsoft%2Fgenerator-bot-adaptive) | dotnet, js | webapp, functions |

Once you have identified the template you would like to use, install it using [npm][npm]. For example, to install the Empty Bot template:
Once you have identified the template you would like to use, install it using [npm](https://npmjs.com). For example, to install the Empty Bot template:

```bash
npm install -g @microsoft/generator-bot-empty
```

Finally, generate your new project using [Yeoman][yeoman], taking note of the following:
Finally, generate your new project using [Yeoman](https://yeoman.io), taking note of the following:

- Remove `generator` from the package name, e.g. `@microsoft/generator-bot-empty` becomes `@microsoft/bot-empty`.
- `--platform` and `--integration` match one of the listed values from template's platforms and integrations.
Expand All @@ -33,7 +33,3 @@ Finally, generate your new project using [Yeoman][yeoman], taking note of the fo
```bash
yo @microsoft/bot-empty '{BOT_NAME}' --platform '{dotnet|js}' --integration '{webapp|functions}'
```

[yeoman]: https://yeoman.io
[npm]: https://npmjs.com
[nodejs]: https://nodejs.org/
5 changes: 1 addition & 4 deletions generators/generator-bot-adaptive/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @microsoft/generator-bot-adaptive [![NPM version][npm-image]][npm-url]
# @microsoft/generator-bot-adaptive [![NPM version](https://badge.fury.io/js/%40microsoft%2Fgenerator-bot-adaptive.svg)](https://www.npmjs.com/package/@microsoft/generator-bot-adaptive)

This generator is for creating an Azure Bot Framework bot using the Adaptive Dialog stack. This generator is designed to be used as a base for other more purpose-specific generators, and is responsible for scaffolding:

Expand Down Expand Up @@ -28,6 +28,3 @@ This template can also be installed from the [command line](https://github.com/m
## License

[MIT License](https://github.com/microsoft/botframework-components/blob/main/LICENSE)

[npm-image]: https://badge.fury.io/js/%40microsoft%2Fgenerator-bot-adaptive.svg
[npm-url]: https://www.npmjs.com/package/@microsoft/generator-bot-adaptive
Loading