Skip to content

Commit c339065

Browse files
Upgrade typescript 6.0 (#10285)
1 parent b0a55c7 commit c339065

10 files changed

Lines changed: 193 additions & 173 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
3+
changeKind: internal
4+
packages:
5+
- "@typespec/html-program-viewer"
6+
- "@typespec/http-server-js"
7+
- "@typespec/playground"
8+
- "@typespec/spec-api"
9+
---
10+
11+
Upgrade typescript 6.0

packages/html-program-viewer/tsconfig.build.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
22
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"rootDir": "src"
5+
},
36
"include": ["src"],
47
"exclude": ["src/index.ts", "src/emitter.ts", "**/*.test.ts", "**/*.test.tsx"],
58
"references": [{ "path": "../compiler/tsconfig.build.json" }]

packages/http-server-js/generated-defs/package.json.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const hsjsDependencies: Record<string, string> = {
2929
"swagger-ui-express": "^5.0.1",
3030
"temporal-polyfill": "^0.3.2",
3131
"tsx": "^4.21.0",
32-
"typescript": "~5.9.3",
32+
"typescript": "~6.0.2",
3333
"vitest": "^4.1.0",
3434
"yargs": "~18.0.0",
3535
"prettier": "~3.8.1",
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
declare module "*.module.css";
2+
declare module "*.css";

packages/react-components/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"extends": "../../tsconfig.base.json",
33
"compilerOptions": {
4+
"rootDir": "src",
45
"incremental": false,
56
"composite": false,
67
"module": "NodeNext",

packages/spec-api/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"extends": "../../tsconfig.base.json",
33
"compilerOptions": {
4-
"baseUrl": ".",
4+
"rootDir": ".",
55
"outDir": "dist",
66
"tsBuildInfoFile": "temp/.tsbuildinfo",
77
"types": ["multer"]

packages/spec-dashboard/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"extends": "../../tsconfig.base.json",
33
"compilerOptions": {
4+
"rootDir": "src",
45
"incremental": false,
56
"composite": false,
67
"skipLibCheck": true,

0 commit comments

Comments
 (0)