From 0876fb2de0ffe8321298bcdee215ee7739c67ec8 Mon Sep 17 00:00:00 2001 From: JATMN Date: Fri, 23 Oct 2026 10:00:10 -0700 Subject: [PATCH] chore: upgrade TypeScript to 6.0.3 (#2353) --- bun.lock | 4 ++-- package.json | 2 +- web/bun.lock | 4 ++-- web/package.json | 2 +- web/src/env.d.ts | 2 ++ 5 files changed, 8 insertions(+), 6 deletions(-) create mode 100644 web/src/env.d.ts diff --git a/bun.lock b/bun.lock index cda29e846..95fb5a32f 100644 --- a/bun.lock +++ b/bun.lock @@ -79,7 +79,7 @@ "tree-sitter-wasms": "0.1.13", "turndown": "7.2.2", "type-fest": "4.41.0", - "typescript": "5.9.3", + "typescript": "6.0.3", "undici": "7.28.0", "usehooks-ts": "3.1.1", "vscode-languageserver-protocol": "3.17.5", @@ -1213,7 +1213,7 @@ "type-is": ["type-is@2.1.0", "", { "dependencies": { "content-type": "^2.0.0", "media-typer": "^1.1.0", "mime-types": "^3.0.0" } }, "sha512-faYHw0anBbc/kWF3zFTEnxSFOAGUX9GFbOBthvDdLsIlEoWOFOtS0zgCiQYwIskL9iGXZL3kAXD8OoZ4GmMATA=="], - "typescript": ["typescript@5.9.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw=="], + "typescript": ["typescript@6.0.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw=="], "unbash": ["unbash@3.0.0", "", {}, "sha512-FeFPZ/WFT0mbRCuydiZzpPFlrYN8ZUpphQKoq4EeElVIYjYyGzPMxQR/simUwCOJIyVhpFk4RbtyO7RuMpMnHA=="], diff --git a/package.json b/package.json index ac7975635..20f75b55d 100644 --- a/package.json +++ b/package.json @@ -158,7 +158,7 @@ "tree-sitter-wasms": "0.1.13", "turndown": "7.2.2", "type-fest": "4.41.0", - "typescript": "5.9.3", + "typescript": "6.0.3", "undici": "7.28.0", "usehooks-ts": "3.1.1", "vscode-languageserver-protocol": "3.17.5", diff --git a/web/bun.lock b/web/bun.lock index 86d0c4d0a..3869f0a10 100644 --- a/web/bun.lock +++ b/web/bun.lock @@ -9,7 +9,7 @@ "@astrojs/sitemap": "3.7.3", "@fontsource-variable/geist-mono": "^5.2.5", "astro": "6.4.6", - "typescript": "^5.8.3", + "typescript": "^6.0.3", }, }, }, @@ -704,7 +704,7 @@ "typesafe-path": ["typesafe-path@0.2.2", "", {}, "sha512-OJabfkAg1WLZSqJAJ0Z6Sdt3utnbzr/jh+NAHoyWHJe8CMSy79Gm085094M9nvTPy22KzTVn5Zq5mbapCI/hPA=="], - "typescript": ["typescript@5.9.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw=="], + "typescript": ["typescript@6.0.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw=="], "typescript-auto-import-cache": ["typescript-auto-import-cache@0.3.6", "", { "dependencies": { "semver": "^7.3.8" } }, "sha512-RpuHXrknHdVdK7wv/8ug3Fr0WNsNi5l5aB8MYYuXhq2UH5lnEB1htJ1smhtD5VeCsGr2p8mUDtd83LCQDFVgjQ=="], diff --git a/web/package.json b/web/package.json index 0b1e6e5c6..2ba002d2f 100644 --- a/web/package.json +++ b/web/package.json @@ -14,6 +14,6 @@ "@astrojs/sitemap": "3.7.3", "@fontsource-variable/geist-mono": "^5.2.5", "astro": "6.4.6", - "typescript": "^5.8.3" + "typescript": "^6.0.3" } } diff --git a/web/src/env.d.ts b/web/src/env.d.ts new file mode 100644 index 000000000..9fa0dc33e --- /dev/null +++ b/web/src/env.d.ts @@ -0,0 +1,2 @@ +// The package exports CSS without type declarations for its side-effect import. +declare module '@fontsource-variable/geist-mono' {}