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", "mock-fs": "^5.2.0",
"prettier": "^3.7.4", "prettier": "^3.7.4",
"prettier-plugin-organize-imports": "^4.0.0", "prettier-plugin-organize-imports": "^4.0.0",
"typescript": "^5.3.3", "typescript": "^6.0.0",
"typescript-eslint": "^8.28.0", "typescript-eslint": "^8.58.0",
"vite": "^8.0.0", "vite": "^8.0.0",
"vitest": "^4.0.0", "vitest": "^4.0.0",
"vitest-fetch-mock": "^0.4.0", "vitest-fetch-mock": "^0.4.0",

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -2,17 +2,13 @@
"compilerOptions": { "compilerOptions": {
"target": "es2020", // Specify ECMAScript target version "target": "es2020", // Specify ECMAScript target version
"module": "commonjs", // Specify module code generation "module": "commonjs", // Specify module code generation
"lib": [ "lib": ["es2020"], // Specify a list of library files to be included in the compilation
"es2020" "types": ["./src/index.d.ts", "./node_modules/@extism/js-pdk"], // Specify a list of type definition files to be included in the compilation
], // 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
"strict": true, // Enable all strict type-checking options "strict": true, // Enable all strict type-checking options
"esModuleInterop": true, // Enables compatibility with Babel-style module imports "esModuleInterop": true, // Enables compatibility with Babel-style module imports
"skipLibCheck": true, // Skip type checking of declaration files "skipLibCheck": true, // Skip type checking of declaration files
"allowJs": true, // Allow JavaScript files to be compiled "allowJs": true, // Allow JavaScript files to be compiled
"rootDir": "./src",
"noEmit": true // Do not emit outputs (no .js or .d.ts files) "noEmit": true // Do not emit outputs (no .js or .d.ts files)
}, },
"include": [ "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", "supertest": "^7.1.0",
"tailwindcss": "^3.4.0", "tailwindcss": "^3.4.0",
"testcontainers": "^11.0.0", "testcontainers": "^11.0.0",
"typescript": "^5.9.2", "typescript": "^6.0.0",
"typescript-eslint": "^8.28.0", "typescript-eslint": "^8.28.0",
"unplugin-swc": "^1.4.5", "unplugin-swc": "^1.4.5",
"vite-tsconfig-paths": "^6.0.0", "vite-tsconfig-paths": "^6.0.0",

View file

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

View file

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

View file

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

View file

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

View file

@ -203,7 +203,7 @@ class TransformManager implements EditToolManager {
passive: true, 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'); const transformEdits = edits.filter((e) => e.action === 'rotate' || e.action === 'mirror');

View file

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