Skip to content

Commit 28cb2cf

Browse files
authored
chore: upgrade TypeScript to v5.9 (calcom#22861)
1 parent 9cb2eb3 commit 28cb2cf

19 files changed

Lines changed: 116 additions & 437 deletions

File tree

apps/api/v1/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"next-axiom": "^0.17.0",
3939
"next-swagger-doc": "^0.3.6",
4040
"next-validations": "^0.2.0",
41-
"typescript": "^5.7.2",
41+
"typescript": "^5.9.0-beta",
4242
"tzdata": "^1.0.30",
4343
"uuid": "^8.3.2",
4444
"zod": "^3.22.4"

apps/api/v2/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
"ts-loader": "^9.4.3",
109109
"ts-node": "^10.9.1",
110110
"tsconfig-paths": "^4.1.0",
111-
"typescript": "^5.7.2"
111+
"typescript": "^5.9.0-beta"
112112
},
113113
"prisma": {
114114
"schema": "../../../packages/prisma/schema.prisma"

apps/ui-playground/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@
3434
"eslint-config-next": "15.1.6",
3535
"postcss": "^8",
3636
"tailwindcss": "^3.4.1",
37-
"typescript": "^5"
37+
"typescript": "^5.9.0-beta"
3838
}
3939
}

apps/web/app/api/logo/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ async function getHandler(request: NextRequest) {
208208
}
209209

210210
// Create a new response with the image buffer
211-
const imageResponse = new NextResponse(buffer);
211+
const imageResponse = new NextResponse(buffer as BodyInit);
212212

213213
// Set the appropriate headers
214214
imageResponse.headers.set("Content-Type", response.headers.get("content-type") || "image/png");

apps/web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@
195195
"tailwindcss": "^3.3.3",
196196
"tailwindcss-animate": "^1.0.6",
197197
"ts-node": "^10.9.1",
198-
"typescript": "^5.7.2"
198+
"typescript": "^5.9.0-beta"
199199
},
200200
"nextBundleAnalysis": {
201201
"budget": 358400,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
"prismock": "^1.33.4",
110110
"resize-observer-polyfill": "^1.5.1",
111111
"tsc-absolute": "^1.0.0",
112-
"typescript": "^5.7.2",
112+
"typescript": "5.9.0-beta",
113113
"vitest": "^2.1.1",
114114
"vitest-fetch-mock": "^0.3.0",
115115
"vitest-mock-extended": "^2.0.2"

packages/app-store-cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@
3131
"eslint-plugin-react": "^7.30.1",
3232
"eslint-plugin-react-hooks": "^4.6.0",
3333
"ts-node": "^10.9.1",
34-
"typescript": "^5.7.2"
34+
"typescript": "^5.9.0-beta"
3535
}
3636
}

packages/config/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"dependencies": {
1313
"@calcom/eslint-plugin-eslint": "*",
1414
"@todesktop/tailwind-variants": "^1.0.0",
15-
"eslint-config-next": "^13.2.1",
15+
"eslint-config-next": "^15.4.5",
1616
"eslint-config-prettier": "^8.6.0",
1717
"eslint-config-turbo": "^0.0.7",
1818
"eslint-plugin-playwright": "^0.12.0",
@@ -33,6 +33,6 @@
3333
"prettier-plugin-tailwindcss": "^0.2.5",
3434
"tailwind-scrollbar": "^2.0.1",
3535
"tailwindcss": "^3.3.3",
36-
"typescript": "^5.7.2"
36+
"typescript": "^5.9.0-beta"
3737
}
3838
}

packages/embeds/embed-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"npm-run-all": "^4.1.5",
5555
"postcss": "^8.4.18",
5656
"tailwindcss": "^3.3.3",
57-
"typescript": "^5.7.2",
57+
"typescript": "^5.9.0-beta",
5858
"vite": "^4.1.2",
5959
"vite-plugin-environment": "^1.1.3"
6060
}

packages/embeds/embed-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"@vitejs/plugin-react": "^2.2.0",
5151
"eslint": "^8.34.0",
5252
"npm-run-all": "^4.1.5",
53-
"typescript": "^5.7.2",
53+
"typescript": "^5.9.0-beta",
5454
"vite": "^4.5.2"
5555
},
5656
"dependencies": {

0 commit comments

Comments
 (0)