Skip to content

Commit

Permalink
Update TypeScript to 3.8 (Azure#8659)
Browse files Browse the repository at this point in the history
* Update TS and fix tsconfig in cosmos samples
  • Loading branch information
xirzec authored May 7, 2020
1 parent a4d69e4 commit b9446b8
Show file tree
Hide file tree
Showing 35 changed files with 220 additions and 216 deletions.
367 changes: 186 additions & 181 deletions common/config/rush/pnpm-lock.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion common/tools/eslint-plugin-azure-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"dependencies": {
"eslint-config-prettier": "^6.0.0",
"glob": "^7.1.2",
"typescript": "~3.7.5",
"typescript": "~3.8.3",
"tslib": "^1.10.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion sdk/appconfiguration/app-configuration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
"rollup-plugin-terser": "^5.1.1",
"sinon": "^7.1.0",
"ts-node": "^8.3.0",
"typescript": "~3.7.5",
"typescript": "~3.8.3",
"uglify-js": "^3.4.9",
"@rollup/plugin-json": "^4.0.0"
}
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/abort-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,6 @@
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-terser": "^5.1.1",
"ts-node": "^8.3.0",
"typescript": "~3.7.5"
"typescript": "~3.8.3"
}
}
2 changes: 1 addition & 1 deletion sdk/core/core-amqp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"rollup-plugin-terser": "^5.1.1",
"sinon": "^7.1.0",
"ts-node": "^8.3.0",
"typescript": "~3.7.5",
"typescript": "~3.8.3",
"ws": "^7.1.1"
}
}
2 changes: 1 addition & 1 deletion sdk/core/core-arm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
"rollup-plugin-visualizer": "^3.1.1",
"shx": "^0.3.2",
"ts-node": "^8.3.0",
"typescript": "~3.7.5",
"typescript": "~3.8.3",
"uglify-js": "^3.4.9"
}
}
2 changes: 1 addition & 1 deletion sdk/core/core-asynciterator-polyfill/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,6 @@
"eslint-plugin-no-only-tests": "^2.3.0",
"eslint-plugin-promise": "^4.1.1",
"prettier": "^1.16.4",
"typescript": "~3.7.5"
"typescript": "~3.8.3"
}
}
2 changes: 1 addition & 1 deletion sdk/core/core-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-terser": "^5.1.1",
"rollup-plugin-visualizer": "^3.1.1",
"typescript": "~3.7.5",
"typescript": "~3.8.3",
"util": "^0.12.1"
}
}
2 changes: 1 addition & 1 deletion sdk/core/core-http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
"sinon": "^7.1.0",
"ts-loader": "^6.0.4",
"ts-node": "^8.3.0",
"typescript": "~3.7.5",
"typescript": "~3.8.3",
"uglify-js": "^3.4.9",
"xhr-mock": "^2.4.1"
}
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/core-https/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-terser": "^5.1.1",
"rollup-plugin-visualizer": "^3.1.1",
"typescript": "~3.7.5",
"typescript": "~3.8.3",
"util": "^0.12.1"
}
}
2 changes: 1 addition & 1 deletion sdk/core/core-lro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
"rollup-plugin-terser": "^5.1.1",
"rollup-plugin-visualizer": "^3.1.1",
"ts-node": "^8.3.0",
"typescript": "~3.7.5",
"typescript": "~3.8.3",
"uglify-js": "^3.4.9"
}
}
2 changes: 1 addition & 1 deletion sdk/core/core-paging/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@
"eslint-plugin-no-only-tests": "^2.3.0",
"eslint-plugin-promise": "^4.1.1",
"prettier": "^1.16.4",
"typescript": "~3.7.5"
"typescript": "~3.8.3"
}
}
2 changes: 1 addition & 1 deletion sdk/core/core-tracing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-terser": "^5.1.1",
"rollup-plugin-visualizer": "^3.1.1",
"typescript": "~3.7.5",
"typescript": "~3.8.3",
"util": "^0.12.1"
}
}
2 changes: 1 addition & 1 deletion sdk/core/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,6 @@
"rollup-plugin-terser": "^5.1.1",
"sinon": "^7.1.0",
"ts-node": "^8.3.0",
"typescript": "~3.7.5"
"typescript": "~3.8.3"
}
}
2 changes: 1 addition & 1 deletion sdk/cosmosdb/cosmos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,6 @@
"tslint": "^5.0.0",
"tslint-config-prettier": "^1.14.0",
"typedoc": "^0.15.0",
"typescript": "~3.7.5"
"typescript": "~3.8.3"
}
}
3 changes: 1 addition & 2 deletions sdk/cosmosdb/cosmos/samples/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"removeComments": false,
"target": "es6",
"sourceMap": true,
"newLine": "LF",
"composite": true
"newLine": "LF"
}
}
2 changes: 1 addition & 1 deletion sdk/eventhub/event-hubs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
"rollup-plugin-terser": "^5.1.1",
"sinon": "^7.1.0",
"ts-node": "^8.3.0",
"typescript": "~3.7.5",
"typescript": "~3.8.3",
"ws": "^7.1.1"
}
}
2 changes: 1 addition & 1 deletion sdk/eventhub/event-processor-host/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-uglify": "^6.0.0",
"ts-node": "^8.3.0",
"typescript": "~3.7.5",
"typescript": "~3.8.3",
"ws": "^7.1.1"
}
}
2 changes: 1 addition & 1 deletion sdk/eventhub/eventhubs-checkpointstore-blob/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
"rollup-plugin-terser": "^5.1.1",
"rollup-plugin-visualizer": "^3.1.1",
"ts-node": "^8.3.0",
"typescript": "~3.7.5",
"typescript": "~3.8.3",
"util": "^0.12.1"
}
}
2 changes: 1 addition & 1 deletion sdk/eventhub/testhub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"rhea": "^1.0.18",
"rimraf": "^3.0.0",
"tslib": "^1.10.0",
"typescript": "~3.7.5",
"typescript": "~3.8.3",
"uuid": "^3.3.2",
"yargs": "^15.0.0"
}
Expand Down
2 changes: 1 addition & 1 deletion sdk/formrecognizer/ai-form-recognizer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
"rollup-plugin-visualizer": "^3.1.1",
"sinon": "^7.1.0",
"source-map-support": "^0.5.9",
"typescript": "~3.7.5",
"typescript": "~3.8.3",
"fs-extra": "^8.1.0",
"@types/fs-extra": "^8.0.0"
}
Expand Down
2 changes: 1 addition & 1 deletion sdk/identity/identity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-terser": "^5.1.1",
"rollup-plugin-visualizer": "^3.1.1",
"typescript": "~3.7.5",
"typescript": "~3.8.3",
"util": "^0.12.1"
}
}
2 changes: 1 addition & 1 deletion sdk/keyvault/keyvault-certificates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
"rollup-plugin-terser": "^5.1.1",
"rollup-plugin-visualizer": "^3.1.1",
"source-map-support": "^0.5.9",
"typescript": "~3.7.5",
"typescript": "~3.8.3",
"uglify-js": "^3.4.9",
"url": "^0.11.0"
}
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/keyvault-keys/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
"rollup-plugin-terser": "^5.1.1",
"rollup-plugin-visualizer": "^3.1.1",
"source-map-support": "^0.5.9",
"typescript": "~3.7.5",
"typescript": "~3.8.3",
"uglify-js": "^3.4.9",
"url": "^0.11.0"
}
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/keyvault-secrets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
"rollup-plugin-terser": "^5.1.1",
"rollup-plugin-visualizer": "^3.1.1",
"source-map-support": "^0.5.9",
"typescript": "~3.7.5",
"typescript": "~3.8.3",
"uglify-js": "^3.4.9",
"url": "^0.11.0"
}
Expand Down
2 changes: 1 addition & 1 deletion sdk/search/search-documents/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
"rollup-plugin-visualizer": "^3.1.1",
"sinon": "^7.1.0",
"ts-node": "^8.3.0",
"typescript": "~3.7.5",
"typescript": "~3.8.3",
"util": "^0.12.1"
}
}
2 changes: 1 addition & 1 deletion sdk/servicebus/service-bus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-terser": "^5.1.1",
"ts-node": "^8.3.0",
"typescript": "~3.7.5",
"typescript": "~3.8.3",
"ws": "^7.1.1"
}
}
2 changes: 1 addition & 1 deletion sdk/storage/storage-blob/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
"rollup-plugin-visualizer": "^3.1.1",
"source-map-support": "^0.5.9",
"ts-node": "^8.3.0",
"typescript": "~3.7.5",
"typescript": "~3.8.3",
"util": "^0.12.1"
}
}
2 changes: 1 addition & 1 deletion sdk/storage/storage-file-datalake/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
"rollup-plugin-visualizer": "^3.1.1",
"source-map-support": "^0.5.9",
"ts-node": "^8.3.0",
"typescript": "~3.7.5",
"typescript": "~3.8.3",
"util": "^0.12.1"
}
}
2 changes: 1 addition & 1 deletion sdk/storage/storage-file-share/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
"rollup-plugin-visualizer": "^3.1.1",
"source-map-support": "^0.5.9",
"ts-node": "^8.3.0",
"typescript": "~3.7.5",
"typescript": "~3.8.3",
"util": "^0.12.1"
}
}
2 changes: 1 addition & 1 deletion sdk/storage/storage-queue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
"rollup-plugin-visualizer": "^3.1.1",
"source-map-support": "^0.5.9",
"ts-node": "^8.3.0",
"typescript": "~3.7.5",
"typescript": "~3.8.3",
"util": "^0.12.1"
}
}
2 changes: 1 addition & 1 deletion sdk/template/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-terser": "^5.1.1",
"rollup-plugin-visualizer": "^3.1.1",
"typescript": "~3.7.5",
"typescript": "~3.8.3",
"util": "^0.12.1"
}
}
2 changes: 1 addition & 1 deletion sdk/test-utils/perfstress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,6 @@
"karma-env-preprocessor": "^0.1.1",
"prettier": "^1.16.4",
"rimraf": "^3.0.0",
"typescript": "~3.7.5"
"typescript": "~3.8.3"
}
}
2 changes: 1 addition & 1 deletion sdk/test-utils/recorder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-terser": "^5.1.1",
"rollup-plugin-visualizer": "^3.1.1",
"typescript": "~3.7.5",
"typescript": "~3.8.3",
"xhr-mock": "^2.4.1"
}
}
2 changes: 1 addition & 1 deletion sdk/textanalytics/ai-text-analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,6 @@
"rollup-plugin-visualizer": "^3.1.1",
"sinon": "^7.1.0",
"source-map-support": "^0.5.9",
"typescript": "~3.7.5"
"typescript": "~3.8.3"
}
}

0 comments on commit b9446b8

Please sign in to comment.