Skip to content

Commit

Permalink
[4.6.x] Pin TypeScript devDependency in each library. (Fixes #1436) (#…
Browse files Browse the repository at this point in the history
…1437)

* move pinned typescript@3.5.2 devDependency into each package

* pin transcripts/ botbuilder dependencies, fix import in Skype Middleware

* bump to typescript@3.5.3
  • Loading branch information
stevengum committed Nov 22, 2019
1 parent 8a5674d commit abfe7a2
Show file tree
Hide file tree
Showing 14 changed files with 29 additions and 17 deletions.
3 changes: 2 additions & 1 deletion libraries/botbuilder-ai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"nock": "^10.0.3",
"nyc": "^11.4.1",
"source-map-support": "^0.5.3",
"ts-node": "^4.1.0"
"ts-node": "^4.1.0",
"typescript": "3.5.3"
},
"scripts": {
"test": "tsc && nyc mocha tests/",
Expand Down
3 changes: 2 additions & 1 deletion libraries/botbuilder-applicationinsights/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
"mocha": "^5.2.0",
"nyc": "^11.4.1",
"source-map-support": "^0.5.3",
"ts-node": "^4.1.0"
"ts-node": "^4.1.0",
"typescript": "3.5.3"
},
"scripts": {
"test": "tsc && nyc mocha tests/",
Expand Down
5 changes: 3 additions & 2 deletions libraries/botbuilder-azure/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,11 @@
"@types/semaphore": "^1.1.0",
"codelyzer": "^4.1.0",
"mocha": "^5.2.0",
"nyc": "^11.4.1",
"nock": "^10.0.3",
"nyc": "^11.4.1",
"source-map-support": "^0.5.3",
"ts-node": "^4.1.0"
"ts-node": "^4.1.0",
"typescript": "3.5.3"
},
"scripts": {
"test": "tsc && nyc mocha tests/",
Expand Down
1 change: 1 addition & 0 deletions libraries/botbuilder-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"nyc": "^11.4.1",
"source-map-support": "^0.5.3",
"ts-node": "^4.1.0",
"typescript": "3.5.3",
"unzip": "^0.1.11"
},
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { Activity, Middleware, TurnContext } from 'botbuilder-core';
import { Activity } from 'botframework-schema';
import { Middleware } from './middlewareSet';
import { TurnContext } from './turnContext';


/**
Expand Down
3 changes: 2 additions & 1 deletion libraries/botbuilder-dialogs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
"mocha": "^5.2.0",
"nyc": "^11.4.1",
"source-map-support": "^0.5.3",
"ts-node": "^4.1.0"
"ts-node": "^4.1.0",
"typescript": "3.5.3"
},
"scripts": {
"test": "tsc && nyc mocha tests/",
Expand Down
1 change: 1 addition & 0 deletions libraries/botbuilder-testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"nyc": "^11.4.1",
"source-map-support": "^0.5.3",
"ts-node": "^4.1.0",
"typescript": "3.5.3",
"unzip": "^0.1.11",
"uuid": "^3.3.2"
},
Expand Down
1 change: 1 addition & 0 deletions libraries/botbuilder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"nyc": "^11.4.1",
"source-map-support": "^0.5.3",
"ts-node": "^4.1.0",
"typescript": "3.5.3",
"uuid": "^3.3.2"
},
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion libraries/botframework-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
},
"devDependencies": {
"@types/uuid": "^3.4.3",
"mocha": "^5.2.0"
"mocha": "^5.2.0",
"typescript": "3.5.3"
},
"dependencies": {
"fs-extra": "^7.0.0",
Expand Down
3 changes: 2 additions & 1 deletion libraries/botframework-connector/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"nyc": "^11.4.1",
"should": "^13.2.3",
"source-map-support": "^0.5.3",
"ts-node": "^4.1.0"
"ts-node": "^4.1.0",
"typescript": "3.5.3"
},
"scripts": {
"build": "tsc",
Expand Down
7 changes: 4 additions & 3 deletions libraries/botframework-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,16 @@
},
"main": "./lib/index.js",
"typings": "./lib/index.d.ts",
"dependencies": {},
"devDependencies": {},
"devDependencies": {
"typescript": "3.5.3"
},
"scripts": {
"build": "tsc",
"clean": "erase /q /s .\\lib",
"set-version": "npm version --allow-same-version ${Version}"
},
"files": [
"/lib",
"/src"
"/src"
]
}
3 changes: 2 additions & 1 deletion libraries/botframework-streaming/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
"sinon": "^7.4.1",
"ts-node": "^4.1.0",
"tslint": "^5.16.0",
"tslint-microsoft-contrib": "^5.2.1"
"tslint-microsoft-contrib": "^5.2.1",
"typescript": "3.5.3"
},
"scripts": {
"test": "tsc && nyc mocha tests/",
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@
"sinon": "^7.3.2",
"typedoc": "^0.15.0",
"typedoc-plugin-external-module-name": "^2.1.0",
"typedoc-plugin-markdown": "^2.2.10",
"typescript": "^3.5.2"
"typedoc-plugin-markdown": "^2.2.10"
},
"nyc": {
"exclude": [
Expand Down
6 changes: 3 additions & 3 deletions transcripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"dependencies": {
"@types/node": "^10.12.18",
"@types/restify": "^7.2.1",
"botbuilder": "^4.2.1",
"botbuilder-ai": "^4.2.1",
"botbuilder-dialogs": "^4.2.1"
"botbuilder": "4.1.6",
"botbuilder-ai": "4.1.6",
"botbuilder-dialogs": "4.1.6"
},
"devDependencies": {
"mocha": "^5.2.0",
Expand Down

0 comments on commit abfe7a2

Please sign in to comment.