Compare commits

...
Author SHA1 Message Date
Thomas Camlong 2db0a5d282 fix(docs): remove baseUrl from tsconfig for TypeScript 7
`baseUrl` has been removed in TypeScript 7. The Docusaurus tsconfig
extends from sets `baseUrl: "."` and `paths: { "@site/*": ["./*"] }`.

Drop the `@docusaurus/tsconfig` extension and inline the needed
options, redefining `paths` so the `@site/*` alias resolves
relative to the tsconfig file (the new TS 7 default for paths).
2026-06-25 11:38:20 +02:00
ajnart 6e3045029c feat(deps): upgrade TypeScript to v7 native compiler (tsgo)
- Upgrade typescript from ^6.0.3 to ^7.0.1-rc (native Go compiler)
- Fix type errors caught by TS7's stricter generic variance checking
  in RequestError instantiation (3 handler files)
- Update apps/docs/tsconfig.json: remove deprecated baseUrl,
  bump target from es5 to ES2022 (both removed in TS7)
- Add TS7 to minimumReleaseAgeExclude (rc release within cutoff)

Benchmark results (cold, 37 packages):
  TS6: 6m49s -> TS7 native: 1m35s (~4.3x faster)
  Incremental/warm: ~24x faster (17s for full project)
2026-06-23 18:04:42 +02:00
7 changed files with 553 additions and 347 deletions

No files matched your search

+5 -4
View File
@@ -1,9 +1,6 @@
{
"extends": "@docusaurus/tsconfig",
"compilerOptions": {
"ignoreDeprecations": "6.0",
"baseUrl": ".",
"target": "es5",
"target": "ES2022",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
@@ -12,10 +9,14 @@
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"paths": {
"@site/*": ["./*"]
},
},
"include": [
"**/*.ts",
+1
View File
@@ -43,6 +43,7 @@
"@semantic-release/release-notes-generator": "catalog:",
"@testcontainers/redis": "catalog:",
"@turbo/gen": "catalog:",
"@vitejs/plugin-react": "catalog:",
"@vitest/coverage-v8": "catalog:",
"@vitest/ui": "catalog:",
@@ -25,7 +25,7 @@ export class AxiosHttpErrorHandler extends HttpErrorHandler {
return new RequestError(requestErrorInput, {
cause: error,
});
}) as AnyRequestError;
}
handleResponseError(error: unknown): ResponseError | undefined {
if (!(error instanceof AxiosError)) return undefined;
@@ -20,7 +20,7 @@ export class FetchHttpErrorHandler extends HttpErrorHandler {
const result = matchErrorCode(error.cause.code);
if (!result) return undefined;
return new RequestError(result, { cause: error });
return new RequestError(result, { cause: error }) as AnyRequestError;
}
/**
@@ -59,7 +59,7 @@ export const matchErrorCode = (code: string): AnyRequestErrorInput | undefined =
type: key,
reason: found[0] as RequestErrorReason<typeof key>,
code: code as RequestErrorCode,
};
} as AnyRequestErrorInput;
}
return undefined;
@@ -30,7 +30,7 @@ export class NodeFetchHttpErrorHandler extends HttpErrorHandler {
return new RequestError(requestErrorInput, {
cause: error,
});
}) as AnyRequestError;
}
/**
+538 -337
View File
File diff suppressed because it is too large. Load diff
+5 -2
View File
@@ -14,7 +14,7 @@ catalog:
"@dnd-kit/utilities": ^3.2.2
"@drizzle-team/brocli": ^0.12.0
"@extractus/feed-extractor": 7.2.1
'@gfazioli/mantine-onboarding-tour': ^4.0.4
"@gfazioli/mantine-onboarding-tour": ^4.0.4
"@gitbeaker/rest": ^43.8.0
"@homarr/gridstack": ^1.12.0
"@homarr/node-unifi": ^2.6.0
@@ -176,7 +176,7 @@ catalog:
tsdav: ^2.2.2
tsx: 4.20.4
turbo: ^2.9.18
typescript: ^6.0.3
typescript: ^7.0.1-rc
vite: ^8.0.16
undici: 7.27.2
use-deep-compare-effect: ^1.8.1
@@ -190,6 +190,7 @@ catalog:
zod: ^4.4.3
zod-form-data: ^3.0.2
zod-validation-error: ^5.0.0
catalogMode: strict
nodeLinker: hoisted
strictPeerDependencies: false
@@ -199,6 +200,8 @@ minimumReleaseAge: 4320
minimumReleaseAgeExclude:
- next
- "@next/*"
- typescript@7.0.1-rc
- "@typescript/*"
# Renovate security update: turbo@2.9.14
- turbo@2.9.14
# Renovate security update: form-data@4.0.6