Skip to content

Commit

Permalink
Merge branch 'main' into southworks/fix/eslint-issues-botbuilder-ai-qna
Browse files Browse the repository at this point in the history
  • Loading branch information
JhontSouth committed Dec 20, 2024
2 parents 5d903a6 + 3b8fcab commit e534e9b
Show file tree
Hide file tree
Showing 125 changed files with 1,298 additions and 1,275 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/depcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: use node 20.x
- name: use node 22.x
uses: actions/setup-node@v2-beta
with:
node-version: 20.x
node-version: 22.x

- name: yarn cache dir
id: yarn-cache-dir
Expand All @@ -33,7 +33,7 @@ jobs:
- uses: actions/cache@v2
with:
path: ${{ steps.yarn-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node20.x-yarn-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-node22.x-yarn-${{ hashFiles('**/yarn.lock') }}

- name: yarn
run: yarn --frozen-lockfile
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: use node 20.x
- name: use node 22.x
uses: actions/setup-node@v2-beta
with:
node-version: 20.x
node-version: 22.x

- name: yarn cache dir
id: yarn-cache-dir
Expand All @@ -33,10 +33,13 @@ jobs:
- uses: actions/cache@v2
with:
path: ${{ steps.yarn-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node20.x-yarn-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-node22.x-yarn-${{ hashFiles('**/yarn.lock') }}

- name: yarn
run: yarn --frozen-lockfile

- name: yarn build
run: yarn build

- name: yarn lint
run: yarn lint
6 changes: 3 additions & 3 deletions .github/workflows/test-compat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: use node 20.x
- name: use node 22.x
uses: actions/setup-node@v2-beta
with:
node-version: 20.x
node-version: 22.x

- name: yarn cache dir
id: yarn-cache-dir
Expand All @@ -33,7 +33,7 @@ jobs:
- uses: actions/cache@v2
with:
path: ${{ steps.yarn-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node20.x-yarn-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-node22.x-yarn-${{ hashFiles('**/yarn.lock') }}

- name: yarn
run: yarn --frozen-lockfile
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-consumer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: use node 20.x
- name: use node 22.x
uses: actions/setup-node@v2-beta
with:
node-version: 20.x
node-version: 22.x

- name: yarn cache dir
id: yarn-cache-dir
Expand All @@ -33,7 +33,7 @@ jobs:
- uses: actions/cache@v2
with:
path: ${{ steps.yarn-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node20.x-yarn-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-node22.x-yarn-${{ hashFiles('**/yarn.lock') }}

- name: yarn
run: yarn --frozen-lockfile
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-repoutils.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: use node 20.x
- name: use node 22.x
uses: actions/setup-node@v2-beta
with:
node-version: 20.x
node-version: 22.x

- name: yarn cache dir
id: yarn-cache-dir
Expand All @@ -33,7 +33,7 @@ jobs:
- uses: actions/cache@v2
with:
path: ${{ steps.yarn-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node20.x-yarn-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-node22.x-yarn-${{ hashFiles('**/yarn.lock') }}

- name: yarn
run: yarn --frozen-lockfile
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-schemas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: use node 20.x
- name: use node 22.x
uses: actions/setup-node@v2-beta
with:
node-version: 20.x
node-version: 22.x

- name: yarn cache dir
id: yarn-cache-dir
Expand All @@ -33,7 +33,7 @@ jobs:
- uses: actions/cache@v2
with:
path: ${{ steps.yarn-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node20.x-yarn-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-node22.x-yarn-${{ hashFiles('**/yarn.lock') }}

- name: npm install @microsoft/botframework-cli@next --global
run: npm install @microsoft/botframework-cli@next --global
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
strategy:
matrix:
os: [ubuntu, windows]
node-version: [18.x, 20.x]
node-version: [18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
run: yarn test:github

- name: coveralls
if: matrix.node-version == '20.x'
if: matrix.node-version == '22.x'
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion build/yaml/botbuilder-js-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pool:
vmImage: 'ubuntu-latest'

variables:
NodeVersion: 20.x
NodeVersion: 22.x
Packaging.EnableSBOMSigning: true
YARN_CACHE_FOLDER: $(Pipeline.Workspace)/.yarn
# SDK_JS_org_registry_Url: define this in Azure
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "<%= botname %>",
"version": "1.0.0",
"version": "4.1.6",
"description": "<%= botDescription %>",
"author": "Generated using Microsoft Bot Builder Yeoman generator v<%= version %>",
"license": "MIT",
Expand All @@ -17,10 +17,10 @@
},
"dependencies": {
"@microsoft/recognizers-text-data-types-timex-expression": "1.1.4",
"botbuilder": "^4.23.1",
"botbuilder-ai": "^4.23.1",
"botbuilder-dialogs": "^4.23.1",
"botbuilder-testing": "^4.23.1",
"botbuilder": "4.1.6",
"botbuilder-ai": "4.1.6",
"botbuilder-dialogs": "4.1.6",
"botbuilder-testing": "4.1.6",
"dotenv": "^8.2.0",
"restify": "^11.1.0"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "<%= botname %>",
"version": "1.0.0",
"version": "4.1.6",
"description": "<%= botDescription %>",
"author": "Generated using Microsoft Bot Builder Yeoman generator v<%= version %>",
"license": "MIT",
Expand Down Expand Up @@ -38,22 +38,23 @@
},
"dependencies": {
"@microsoft/recognizers-text-data-types-timex-expression": "1.1.4",
"botbuilder": "^4.23.1",
"botbuilder-ai": "^4.23.1",
"botbuilder-dialogs": "^4.23.1",
"botbuilder-testing": "^4.23.1",
"botbuilder": "4.1.6",
"botbuilder-ai": "4.1.6",
"botbuilder-dialogs": "4.1.6",
"botbuilder-testing": "4.1.6",
"dotenv": "^8.2.0",
"replace": "~1.2.0",
"restify": "~11.1.0"
},
"devDependencies": {
"@types/mocha": "^7.0.2",
"@types/node": "^18.19.47",
"@types/restify": "8.4.2",
"mocha": "^7.1.2",
"nodemon": "^2.0.4",
"nyc": "^15.0.1",
"ts-node": "^8.10.1",
"tslint": "^6.1.2",
"typescript": "^4.0.7"
"typescript": "^5.6.3"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "<%= botname %>",
"version": "1.0.0",
"version": "4.1.6",
"description": "<%= botDescription %>",
"author": "Generated using Microsoft Bot Builder Yeoman generator v<%= version %>",
"license": "MIT",
Expand All @@ -17,9 +17,9 @@
},
"dependencies": {
"@microsoft/recognizers-text-data-types-timex-expression": "1.1.4",
"botbuilder": "^4.23.1,
"botbuilder-ai": "^4.23.1",
"botbuilder-dialogs": "^4.23.1",
"botbuilder": "4.1.6",
"botbuilder-ai": "4.1.6",
"botbuilder-dialogs": "4.1.6",
"dotenv": "~8.2.0",
"restify": "~11.1.0"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "<%= botname %>",
"version": "1.0.0",
"version": "4.1.6",
"description": "<%= botDescription %>",
"author": "Generated using Microsoft Bot Builder Yeoman generator v<%= version %>",
"license": "MIT",
Expand All @@ -19,21 +19,22 @@
},
"dependencies": {
"@microsoft/recognizers-text-data-types-timex-expression": "1.1.4",
"botbuilder": "^4.23.1",
"botbuilder-ai": "^4.23.1",
"botbuilder-dialogs": "^4.23.1",
"botbuilder": "4.1.6",
"botbuilder-ai": "4.1.6",
"botbuilder-dialogs": "4.1.6",
"dotenv": "~8.2.0",
"replace": "~1.2.0",
"restify": "~11.1.0"
},
"devDependencies": {
"@types/mocha": "^7.0.2",
"@types/node": "^18.19.47",
"@types/restify": "8.4.2",
"mocha": "^7.1.2",
"nodemon": "^2.0.4",
"nyc": "^15.0.1",
"ts-node": "^8.10.1",
"tslint": "^6.1.2",
"typescript": "^4.0.7"
"typescript": "^5.6.3"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@
"composite": true,
"declaration": true,
"target": "es2017",
"module": "commonjs",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"outDir": "./lib",
"rootDir": "./src",
"resolveJsonModule": true,
"rootDirs": ["./src", "./resources"],
"sourceMap": true,
"incremental": true,
"tsBuildInfoFile": "./lib/.tsbuildinfo"
"tsBuildInfoFile": "./lib/.tsbuildinfo",
"esModuleInterop": true
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "<%= botname %>",
"version": "1.0.0",
"version": "4.1.6",
"description": "<%= botDescription %>",
"author": "Generated using Microsoft Bot Builder Yeoman generator v<%= version %>",
"license": "MIT",
Expand All @@ -16,7 +16,7 @@
"url": "https://github.com"
},
"dependencies": {
"botbuilder": "^4.23.1",
"botbuilder": "4.1.6",
"dotenv": "~8.2.0",
"restify": "~11.1.0"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "<%= botname %>",
"version": "1.0.0",
"version": "4.1.6",
"description": "<%= botDescription %>",
"author": "Generated using Microsoft Bot Builder Yeoman generator v<%= version %>",
"license": "MIT",
Expand All @@ -18,15 +18,16 @@
"url": "https://github.com"
},
"dependencies": {
"botbuilder": "~4.23.1",
"botbuilder": "4.1.6",
"dotenv": "~8.2.0",
"replace": "~1.2.0",
"restify": "~11.1.0"
},
"devDependencies": {
"@types/node": "^18.19.47",
"@types/restify": "8.4.2",
"nodemon": "^2.0.4",
"tslint": "^6.1.2",
"typescript": "^4.0.7"
"typescript": "^5.6.3"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
"compilerOptions": {
"declaration": true,
"target": "es2017",
"module": "commonjs",
"moduleResolution": "NodeNext",
"module": "NodeNext",
"outDir": "./lib",
"rootDir": "./src",
"sourceMap": true,
"incremental": true,
"tsBuildInfoFile": "./lib/.tsbuildinfo"
"tsBuildInfoFile": "./lib/.tsbuildinfo",
"esModuleInterop": true
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "<%= botname %>",
"version": "1.0.0",
"version": "4.1.6",
"description": "<%= botDescription %>",
"author": "Generated using Microsoft Bot Builder Yeoman generator v<%= version %>",
"license": "MIT",
Expand All @@ -16,7 +16,7 @@
"url": "https://github.com"
},
"dependencies": {
"botbuilder": "^4.23.1",
"botbuilder": "4.1.6",
"restify": "~11.1.0"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit e534e9b

Please sign in to comment.