Skip to content

Commit 2c4cdd2

Browse files
Update typescript to 5.3.3 (#3900)
1 parent 8e3b232 commit 2c4cdd2

30 files changed

Lines changed: 837 additions & 619 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"type": "patch",
3+
"area": "improvement",
4+
"workstream": "",
5+
"comment": "Update TypeScript used for building the package to 5.3.3",
6+
"packageName": "@azure/communication-react",
7+
"email": "2684369+JamesBurnside@users.noreply.github.com",
8+
"dependentChangeType": "patch"
9+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"type": "patch",
3+
"area": "improvement",
4+
"workstream": "",
5+
"comment": "Update TypeScript used for building the package to 5.3.3",
6+
"packageName": "@azure/communication-react",
7+
"email": "2684369+JamesBurnside@users.noreply.github.com",
8+
"dependentChangeType": "patch"
9+
}

common/config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@
2626
"rollup-plugin-sourcemaps": "~0.6.3",
2727
"rollup-plugin-svg": "~2.0.0",
2828
"ts-node": "^10.9.2",
29-
"typescript": "4.7.4"
29+
"typescript": "5.3.3"
3030
}
3131
}

common/config/rush/common-versions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"@azure/communication-signaling": ["1.0.0-beta.21"],
6262
"typescript": [
6363
// All projects should use this version by default
64-
"4.7.4",
64+
"5.3.3",
6565

6666
// Typescript check project's dependency -- this is our minimum supported typescript version of our npm package.
6767
"4.6.3"

common/config/rush/pnpm-lock.yaml

Lines changed: 369 additions & 285 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

common/config/rush/variants/stable/common-versions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"@azure/communication-signaling": ["1.0.0-beta.20"],
6464
"typescript": [
6565
// All projects should use this version by default
66-
"4.7.4",
66+
"5.3.3",
6767

6868
// Typescript check project's dependency -- this is our minimum supported typescript version of our npm package.
6969
"4.6.3"

common/config/rush/variants/stable/pnpm-lock.yaml

Lines changed: 383 additions & 268 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/architecture/RepoPackagesAndPacklets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ import { fn } from '@internal/component-binding';
4040

4141
Now if an external user was to consume this transpiled output from an npm package, their build system will try to import `fn` from `'@internal/component-binding'` - but that package doesn't exist as an npm package so their build system will break.
4242

43-
To solve this issue we make use of [ts-transform-paths](../infrastructure/ttypescript-plugins#zerollupts-transform-paths).
43+
To solve this issue we make use of [typescript-transform-paths](../infrastructure/ts-patch-plugins#typescript-transform-paths).
4444

4545
### How this tool solves the issue
4646

docs/infrastructure/ttypescript-plugins.md renamed to docs/infrastructure/ts-patch-plugins.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
# ttypescript
1+
# ts-patch
22

3-
[ttypescript](https://github.com/cevek/ttypescript) is an extension on top of typescript (`tsc`) that allows for plugins.
3+
_(Formerly `ttypescript`)_
4+
5+
[ts-patch](https://github.com/nonara/ts-patch) is an extension on top of typescript (`tsc`) that allows for plugins.
46

57
To run using ttypescript instead of typescript run
68

79
```bash
8-
ttsc #ttypescript
10+
tspc #ttypescript
911
```
1012

1113
instead of
@@ -18,13 +20,13 @@ tsc #typescript
1820

1921
ttypescript plugins currently used in this repo:
2022

21-
### [@zerollup/ts-transform-paths](https://github.com/zerkalica/zerollup/tree/master/packages/ts-transform-paths)
23+
### [typescript-transform-paths](https://github.com/LeDDGroup/typescript-transform-paths)
2224

23-
`ts-transform-paths` is used to correctly transform the import statements inside of the `@azure/communication-react` package.
25+
`typescript-transform-paths` is used to correctly transform the import statements inside of the `@azure/communication-react` package.
2426

2527
#### Configuration
2628

27-
Imports to be transformed are configured in the `tsconfig.json` file. The `ts-transform-paths` tool uses the `paths` property in the tsconfig to know the appropriate transformation.
29+
Imports to be transformed are configured in the `tsconfig.json` file. The `typescript-transform-paths` tool uses the `paths` property in the tsconfig to know the appropriate transformation.
2830

2931
#### Why this is needed
3032

packages/acs-ui-common/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@
4545
"@microsoft/api-extractor": "~7.38.5",
4646
"@types/jest": "^29.5.11",
4747
"@types/react": "18.2.42",
48-
"@typescript-eslint/eslint-plugin": "^4.12.0",
49-
"@typescript-eslint/parser": "^4.12.0",
48+
"@typescript-eslint/eslint-plugin": "^6.13.2",
49+
"@typescript-eslint/parser": "^6.13.2",
5050
"copyfiles": "^2.4.1",
5151
"cpx": "^1.5.0",
5252
"cross-env": "^7.0.3",
@@ -64,6 +64,6 @@
6464
"rimraf": "^2.6.2",
6565
"rollup": "^4.7.0",
6666
"ts-jest": "^29.1.0",
67-
"typescript": "4.7.4"
67+
"typescript": "5.3.3"
6868
}
6969
}

0 commit comments

Comments
 (0)