Skip to content

Commit

Permalink
Update to TypeScript 5.4 (#21214)
Browse files Browse the repository at this point in the history
## Description

Update Client to TypeScript 5.4

## Reviewer Guidance

The review process is outlined on [this wiki
page](https://github.com/microsoft/FluidFramework/wiki/PR-Guidelines#guidelines).
  • Loading branch information
CraigMacomber authored May 28, 2024
1 parent a0c1d2c commit 0e6256c
Show file tree
Hide file tree
Showing 164 changed files with 1,089 additions and 979 deletions.
98 changes: 98 additions & 0 deletions .changeset/cold-jeans-invite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
---
"@fluidframework/agent-scheduler": minor
"@fluidframework/app-insights-logger": minor
"@fluidframework/aqueduct": minor
"@fluid-experimental/attributable-map": minor
"@fluid-experimental/attributor": minor
"@fluidframework/azure-client": minor
"@fluidframework/azure-end-to-end-tests": minor
"@fluidframework/azure-local-service": minor
"@fluid-experimental/azure-scenario-runner": minor
"@fluidframework/azure-service-utils": minor
"@fluidframework/cell": minor
"@fluidframework/container-definitions": minor
"@fluidframework/container-loader": minor
"@fluidframework/container-runtime": minor
"@fluidframework/container-runtime-definitions": minor
"@fluidframework/core-interfaces": minor
"@fluidframework/core-utils": minor
"@fluidframework/counter": minor
"@fluid-experimental/data-object-base": minor
"@fluid-experimental/data-objects": minor
"@fluidframework/datastore": minor
"@fluidframework/datastore-definitions": minor
"@fluid-experimental/dds-interceptions": minor
"@fluidframework/debugger": minor
"@fluidframework/devtools": minor
"@fluidframework/devtools-core": minor
"@fluidframework/driver-base": minor
"@fluidframework/driver-definitions": minor
"@fluidframework/driver-utils": minor
"@fluidframework/driver-web-cache": minor
"@fluid-tools/fetch-tool": minor
"@fluidframework/file-driver": minor
"fluid-framework": minor
"@fluidframework/fluid-runner": minor
"@fluidframework/fluid-static": minor
"@fluidframework/fluid-telemetry": minor
"@fluidframework/id-compressor": minor
"@fluid-experimental/ink": minor
"@fluid-experimental/last-edited": minor
"@fluidframework/local-driver": minor
"@fluidframework/map": minor
"@fluidframework/matrix": minor
"@fluidframework/merge-tree": minor
"@fluid-experimental/odsp-client": minor
"@fluidframework/odsp-doclib-utils": minor
"@fluidframework/odsp-driver": minor
"@fluidframework/odsp-driver-definitions": minor
"@fluid-experimental/odsp-end-to-end-tests": minor
"@fluidframework/odsp-urlresolver": minor
"@fluid-experimental/oldest-client-observer": minor
"@fluidframework/ordered-collection": minor
"@fluid-experimental/ot": minor
"@fluid-experimental/pact-map": minor
"@fluid-experimental/property-binder": minor
"@fluid-experimental/property-changeset": minor
"@fluid-experimental/property-common": minor
"@fluid-experimental/property-dds": minor
"@fluid-experimental/property-inspector-table": minor
"@fluid-experimental/property-properties": minor
"@fluid-experimental/property-proxy": minor
"@fluid-experimental/property-shared-tree-interop": minor
"@fluidframework/register-collection": minor
"@fluidframework/replay-driver": minor
"@fluidframework/request-handler": minor
"@fluidframework/routerlicious-driver": minor
"@fluidframework/routerlicious-urlresolver": minor
"@fluidframework/runtime-definitions": minor
"@fluidframework/runtime-utils": minor
"@fluidframework/sequence": minor
"@fluid-experimental/sequence-deprecated": minor
"@fluidframework/shared-object-base": minor
"@fluidframework/shared-summary-block": minor
"@fluid-experimental/sharejs-json1": minor
"@fluid-private/stochastic-test-utils": minor
"@fluidframework/synthesize": minor
"@fluidframework/task-manager": minor
"@fluidframework/telemetry-utils": minor
"@fluid-private/test-dds-utils": minor
"@fluid-private/test-drivers": minor
"@fluid-private/test-end-to-end-tests": minor
"@fluid-private/test-loader-utils": minor
"@fluid-private/test-pairwise-generator": minor
"@fluidframework/test-runtime-utils": minor
"@fluidframework/test-utils": minor
"@fluid-private/test-version-utils": minor
"@fluidframework/tinylicious-client": minor
"@fluidframework/tinylicious-driver": minor
"@fluidframework/tool-utils": minor
"@fluid-experimental/tree": minor
"@fluidframework/tree": minor
"@fluid-experimental/tree-react-api": minor
"@fluidframework/undo-redo": minor
---

Update to TypeScript 5.4

Update package implementations to use TypeScript 5.4.5.
2 changes: 1 addition & 1 deletion azure/packages/azure-local-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"prettier": "~3.0.3",
"rimraf": "^4.4.0",
"ts-node": "^10.9.1",
"typescript": "~5.3.3"
"typescript": "~5.4.5"
},
"typeValidation": {
"disabled": true,
Expand Down
2 changes: 1 addition & 1 deletion azure/packages/azure-service-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"eslint-config-prettier": "~9.0.0",
"prettier": "~3.0.3",
"rimraf": "^4.4.0",
"typescript": "~5.3.3"
"typescript": "~5.4.5"
},
"typeValidation": {
"broken": {}
Expand Down
2 changes: 1 addition & 1 deletion azure/packages/test/scenario-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
"nock": "^13.3.3",
"prettier": "~3.0.3",
"rimraf": "^4.4.0",
"typescript": "~5.3.3"
"typescript": "~5.4.5"
},
"typeValidation": {
"disabled": true,
Expand Down
2 changes: 1 addition & 1 deletion examples/apps/attributable-map/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"process": "^0.11.10",
"rimraf": "^4.4.0",
"ts-loader": "^9.3.0",
"typescript": "~5.3.3",
"typescript": "~5.4.5",
"webpack": "^5.82.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "~4.15.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/apps/collaborative-textarea/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"rimraf": "^4.4.0",
"ts-jest": "^29.1.1",
"ts-loader": "^9.3.0",
"typescript": "~5.3.3",
"typescript": "~5.4.5",
"webpack": "^5.82.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "~4.15.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/apps/contact-collection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"rimraf": "^4.4.0",
"ts-jest": "^29.1.1",
"ts-loader": "^9.3.0",
"typescript": "~5.3.3",
"typescript": "~5.4.5",
"webpack": "^5.82.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "~4.15.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/apps/data-object-grid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"source-map-loader": "^2.0.0",
"style-loader": "^1.0.0",
"ts-loader": "^9.3.0",
"typescript": "~5.3.3",
"typescript": "~5.4.5",
"url-loader": "^2.1.0",
"webpack": "^5.82.0",
"webpack-cli": "^4.9.2",
Expand Down
2 changes: 1 addition & 1 deletion examples/apps/presence-tracker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"rimraf": "^4.4.0",
"ts-jest": "^29.1.1",
"ts-loader": "^9.3.0",
"typescript": "~5.3.3",
"typescript": "~5.4.5",
"webpack": "^5.82.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "~4.15.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/apps/task-selection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"rimraf": "^4.4.0",
"ts-jest": "^29.1.1",
"ts-loader": "^9.3.0",
"typescript": "~5.3.3",
"typescript": "~5.4.5",
"webpack": "^5.82.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "~4.15.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/apps/tree-comparison/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"style-loader": "^1.0.0",
"ts-jest": "^29.1.1",
"ts-loader": "^9.3.0",
"typescript": "~5.3.3",
"typescript": "~5.4.5",
"webpack": "^5.82.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "~4.15.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/benchmarks/bubblebench/baseline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"rimraf": "^4.4.0",
"ts-jest": "^29.1.1",
"ts-loader": "^9.3.0",
"typescript": "~5.3.3",
"typescript": "~5.4.5",
"webpack": "^5.82.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "~4.15.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/benchmarks/bubblebench/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"moment": "^2.21.0",
"prettier": "~3.0.3",
"rimraf": "^4.4.0",
"typescript": "~5.3.3"
"typescript": "~5.4.5"
},
"fluid": {
"browser": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"rimraf": "^4.4.0",
"ts-jest": "^29.1.1",
"ts-loader": "^9.3.0",
"typescript": "~5.3.3",
"typescript": "~5.4.5",
"webpack": "^5.82.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "~4.15.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/benchmarks/bubblebench/ot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"rimraf": "^4.4.0",
"ts-jest": "^29.1.1",
"ts-loader": "^9.3.0",
"typescript": "~5.3.3",
"typescript": "~5.4.5",
"webpack": "^5.82.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "~4.15.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"source-map-loader": "^2.0.0",
"ts-jest": "^29.1.1",
"ts-loader": "^9.3.0",
"typescript": "~5.3.3",
"typescript": "~5.4.5",
"typescript-formatter": "^7.1.0",
"webpack": "^5.82.0",
"webpack-cli": "^4.9.2",
Expand Down
2 changes: 1 addition & 1 deletion examples/benchmarks/bubblebench/shared-tree/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"source-map-loader": "^2.0.0",
"ts-jest": "^29.1.1",
"ts-loader": "^9.3.0",
"typescript": "~5.3.3",
"typescript": "~5.4.5",
"typescript-formatter": "^7.1.0",
"webpack": "^5.82.0",
"webpack-cli": "^4.9.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"source-map-loader": "^2.0.0",
"style-loader": "^1.0.0",
"ts-loader": "^9.3.0",
"typescript": "~5.3.3",
"typescript": "~5.4.5",
"webpack": "^5.82.0",
"webpack-cli": "^4.9.2",
"webpack-dev-middleware": "^7.1.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/benchmarks/tablebench/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"start-server-and-test": "^2.0.3",
"tinylicious": "^4.0.1",
"ts-loader": "^9.3.0",
"typescript": "~5.3.3",
"typescript": "~5.4.5",
"webpack": "^5.82.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "~4.15.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/client-logger/app-insights-logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"ts-jest": "^29.1.1",
"ts-loader": "^9.3.0",
"tslib": "^1.10.0",
"typescript": "~5.3.3",
"typescript": "~5.4.5",
"webpack": "^5.82.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "~4.15.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/data-objects/canvas/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"rimraf": "^4.4.0",
"style-loader": "^1.0.0",
"ts-loader": "^9.3.0",
"typescript": "~5.3.3",
"typescript": "~5.4.5",
"url-loader": "^2.1.0",
"webpack": "^5.82.0",
"webpack-cli": "^4.9.2",
Expand Down
2 changes: 1 addition & 1 deletion examples/data-objects/clicker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"rimraf": "^4.4.0",
"ts-jest": "^29.1.1",
"ts-loader": "^9.3.0",
"typescript": "~5.3.3",
"typescript": "~5.4.5",
"webpack": "^5.82.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "~4.15.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/data-objects/codemirror/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"rimraf": "^4.4.0",
"style-loader": "^1.0.0",
"ts-loader": "^9.3.0",
"typescript": "~5.3.3",
"typescript": "~5.4.5",
"webpack": "^5.82.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "~4.15.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/data-objects/diceroller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"rimraf": "^4.4.0",
"ts-jest": "^29.1.1",
"ts-loader": "^9.3.0",
"typescript": "~5.3.3",
"typescript": "~5.4.5",
"webpack": "^5.82.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "~4.15.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/data-objects/inventory-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"source-map-loader": "^2.0.0",
"ts-jest": "^29.1.1",
"ts-loader": "^9.3.0",
"typescript": "~5.3.3",
"typescript": "~5.4.5",
"webpack": "^5.82.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "~4.15.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/data-objects/monaco/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"source-map-loader": "^2.0.0",
"style-loader": "^1.0.0",
"ts-loader": "^9.3.0",
"typescript": "~5.3.3",
"typescript": "~5.4.5",
"url-loader": "^2.1.0",
"webpack": "^5.82.0",
"webpack-cli": "^4.9.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"eslint": "~8.55.0",
"prettier": "~3.0.3",
"rimraf": "^4.4.0",
"typescript": "~5.3.3"
"typescript": "~5.4.5"
},
"fluid": {
"browser": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"eslint": "~8.55.0",
"prettier": "~3.0.3",
"rimraf": "^4.4.0",
"typescript": "~5.3.3"
"typescript": "~5.4.5"
},
"fluid": {
"browser": {
Expand Down
2 changes: 1 addition & 1 deletion examples/data-objects/multiview/container/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"style-loader": "^1.0.0",
"ts-jest": "^29.1.1",
"ts-loader": "^9.3.0",
"typescript": "~5.3.3",
"typescript": "~5.4.5",
"webpack": "^5.82.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "~4.15.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"eslint": "~8.55.0",
"prettier": "~3.0.3",
"rimraf": "^4.4.0",
"typescript": "~5.3.3"
"typescript": "~5.4.5"
},
"fluid": {
"browser": {
Expand Down
2 changes: 1 addition & 1 deletion examples/data-objects/multiview/interface/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"eslint": "~8.55.0",
"prettier": "~3.0.3",
"rimraf": "^4.4.0",
"typescript": "~5.3.3"
"typescript": "~5.4.5"
},
"fluid": {
"browser": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"eslint": "~8.55.0",
"prettier": "~3.0.3",
"rimraf": "^4.4.0",
"typescript": "~5.3.3"
"typescript": "~5.4.5"
},
"fluid": {
"browser": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"eslint": "~8.55.0",
"prettier": "~3.0.3",
"rimraf": "^4.4.0",
"typescript": "~5.3.3"
"typescript": "~5.4.5"
},
"fluid": {
"browser": {
Expand Down
2 changes: 1 addition & 1 deletion examples/data-objects/multiview/triangle-view/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"eslint": "~8.55.0",
"prettier": "~3.0.3",
"rimraf": "^4.4.0",
"typescript": "~5.3.3"
"typescript": "~5.4.5"
},
"fluid": {
"browser": {
Expand Down
Loading

0 comments on commit 0e6256c

Please sign in to comment.