chore(deps): update dependency typescript to v6 (#27577)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
This commit is contained in:
renovate[bot] 2026-04-07 17:15:55 +02:00 committed by GitHub
parent afec61addc
commit 921c8a8de3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
21 changed files with 410 additions and 210 deletions

View File

@ -33,8 +33,8 @@
"mock-fs": "^5.2.0",
"prettier": "^3.7.4",
"prettier-plugin-organize-imports": "^4.0.0",
"typescript": "^5.3.3",
"typescript-eslint": "^8.28.0",
"typescript": "^6.0.0",
"typescript-eslint": "^8.58.0",
"vite": "^8.0.0",
"vitest": "^4.0.0",
"vitest-fetch-mock": "^0.4.0",

View File

@ -15,8 +15,11 @@
"incremental": true,
"skipLibCheck": true,
"esModuleInterop": true,
"baseUrl": "./",
"rootDir": "./src",
"paths": {
"src/*": ["./src/*"],
},
"types": ["vitest/globals"]
},
"exclude": ["dist", "node_modules"]
"exclude": ["dist", "node_modules", "vite.config.ts"]
}

View File

@ -37,10 +37,10 @@
},
"devDependencies": {
"@docusaurus/module-type-aliases": "~3.9.0",
"@docusaurus/tsconfig": "^3.7.0",
"@docusaurus/tsconfig": "^3.10.0",
"@docusaurus/types": "^3.7.0",
"prettier": "^3.7.4",
"typescript": "^5.1.6"
"typescript": "^6.0.0"
},
"browserslist": {
"production": [

View File

@ -1,8 +1,4 @@
{
// This file is not used in compilation. It is here just for a nice editor experience.
"extends": "@docusaurus/tsconfig",
"compilerOptions": {
"baseUrl": "."
}
"extends": "@docusaurus/tsconfig"
}

View File

@ -51,7 +51,7 @@
"sharp": "^0.34.5",
"socket.io-client": "^4.7.4",
"supertest": "^7.0.0",
"typescript": "^5.3.3",
"typescript": "^6.0.0",
"typescript-eslint": "^8.28.0",
"utimes": "^5.2.1",
"vite-tsconfig-paths": "^6.1.1",

View File

@ -1,5 +1,5 @@
import { BrowserContext } from '@playwright/test';
import { playwrightHost } from 'playwright.config';
import { playwrightHost } from 'src/../playwright.config';
export const setupBaseMockApiRoutes = async (context: BrowserContext, adminUserId: string) => {
await context.addCookies([

View File

@ -14,8 +14,10 @@
"outDir": "./dist",
"incremental": true,
"skipLibCheck": true,
"paths": {
"src/*": ["./src/*"]
},
"esModuleInterop": true,
"baseUrl": "./"
},
"include": ["src/**/*.ts", "vitest*.config.ts"],
"exclude": ["dist", "node_modules"]

View File

@ -20,7 +20,7 @@
},
"devDependencies": {
"@types/node": "^24.12.0",
"typescript": "^5.3.3"
"typescript": "^6.0.0"
},
"repository": {
"type": "git",

View File

@ -7,6 +7,7 @@
"outDir": "build",
"module": "Node16",
"moduleResolution": "Node16",
"rootDir": "./src",
"lib": ["esnext", "dom"]
},
"include": ["src/**/*.ts"]

View File

@ -11,7 +11,7 @@
"devDependencies": {
"@extism/js-pdk": "^1.0.1",
"esbuild": "^0.27.0",
"typescript": "^5.3.2"
"typescript": "^6.0.0"
}
},
"node_modules/@esbuild/aix-ppc64": {
@ -509,9 +509,9 @@
}
},
"node_modules/typescript": {
"version": "5.9.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
"integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.2.tgz",
"integrity": "sha512-bGdAIrZ0wiGDo5l8c++HWtbaNCWTS4UTv7RaTH/ThVIgjkveJt83m74bBHMJkuCbslY8ixgLBVZJIOiQlQTjfQ==",
"dev": true,
"license": "Apache-2.0",
"bin": {

View File

@ -14,6 +14,6 @@
"devDependencies": {
"@extism/js-pdk": "^1.0.1",
"esbuild": "^0.27.0",
"typescript": "^5.3.2"
"typescript": "^6.0.0"
}
}

View File

@ -44,7 +44,7 @@ export function actionAddToAlbum() {
authToken,
assetId: data.asset.id,
albumId: albumId,
})
}),
);
addAssetToAlbum(ptr.offset);
@ -61,7 +61,7 @@ export function actionArchive() {
authToken,
id: data.asset.id,
visibility: 'archive',
})
}),
);
updateAsset(ptr.offset);

View File

@ -2,17 +2,13 @@
"compilerOptions": {
"target": "es2020", // Specify ECMAScript target version
"module": "commonjs", // Specify module code generation
"lib": [
"es2020"
], // Specify a list of library files to be included in the compilation
"types": [
"@extism/js-pdk",
"./src/index.d.ts"
], // Specify a list of type definition files to be included in the compilation
"lib": ["es2020"], // Specify a list of library files to be included in the compilation
"types": ["./src/index.d.ts", "./node_modules/@extism/js-pdk"], // Specify a list of type definition files to be included in the compilation
"strict": true, // Enable all strict type-checking options
"esModuleInterop": true, // Enables compatibility with Babel-style module imports
"skipLibCheck": true, // Skip type checking of declaration files
"allowJs": true, // Allow JavaScript files to be compiled
"rootDir": "./src",
"noEmit": true // Do not emit outputs (no .js or .d.ts files)
},
"include": [

549
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -167,7 +167,7 @@
"supertest": "^7.1.0",
"tailwindcss": "^3.4.0",
"testcontainers": "^11.0.0",
"typescript": "^5.9.2",
"typescript": "^6.0.0",
"typescript-eslint": "^8.28.0",
"unplugin-swc": "^1.4.5",
"vite-tsconfig-paths": "^6.0.0",

View File

@ -1,4 +1,7 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"rootDir": "./src",
},
"exclude": ["dist", "node_modules", "upload", "test", "e2e", "**/*spec.ts"]
}

View File

@ -19,8 +19,9 @@
"preserveWatchOutput": true,
"paths": {
"src/*": ["./src/*"],
"test/*": ["./test/*"]
},
"baseUrl": "./",
"rootDir": ".",
"jsx": "react",
"types": ["vitest/globals"],
"noErrorTruncation": true

View File

@ -73,6 +73,7 @@ export default typescriptEslint.config(
'eslint.config.js',
'tailwind.config.js',
'coverage',
'vite.config.ts',
],
},
typescriptEslint.configs.recommended,

View File

@ -104,7 +104,7 @@
"svelte-check": "^4.1.5",
"svelte-eslint-parser": "^1.3.3",
"tailwindcss": "^4.2.2",
"typescript": "^5.8.3",
"typescript": "^6.0.0",
"typescript-eslint": "^8.45.0",
"vite": "^8.0.0",
"vitest": "^4.0.0"

View File

@ -203,7 +203,7 @@ class TransformManager implements EditToolManager {
passive: true,
});
globalThis.addEventListener('mousemove', (e) => transformManager.handleMouseMove(e), { passive: true });
globalThis.addEventListener('mousemove', (e: MouseEvent) => transformManager.handleMouseMove(e), { passive: true });
const transformEdits = edits.filter((e) => e.action === 'rotate' || e.action === 'mirror');

View File

@ -8,11 +8,13 @@
"moduleResolution": "bundler",
"noImplicitOverride": true,
"resolveJsonModule": true,
"rootDir": ".",
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"target": "es2022",
"types": ["vitest/globals"]
},
"exclude": ["vite.config.ts"],
"extends": "./.svelte-kit/tsconfig.json"
}