diff --git a/package.json b/package.json index 84ede5a03..5021ce5e4 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "picocolors": "^1.1.1", "playwright-chromium": "^1.59.1", "simple-git-hooks": "^2.13.1", - "typescript": "^5.9.3", + "typescript": "^6.0.2", "typescript-eslint": "^8.58.0", "vite": "^8.0.3", "vite-plugin-inspect": "^11.3.3", diff --git a/packages/plugin-react-oxc/tsconfig.json b/packages/plugin-react-oxc/tsconfig.json index 70c7eacff..f9589baf0 100644 --- a/packages/plugin-react-oxc/tsconfig.json +++ b/packages/plugin-react-oxc/tsconfig.json @@ -5,7 +5,6 @@ "target": "es2023", "module": "preserve", "moduleResolution": "bundler", - "strict": true, "declaration": true, "sourceMap": true, "noEmit": true, diff --git a/packages/plugin-react-swc/package.json b/packages/plugin-react-swc/package.json index b63f0432b..6aa71f186 100644 --- a/packages/plugin-react-swc/package.json +++ b/packages/plugin-react-swc/package.json @@ -40,7 +40,7 @@ "fs-extra": "^11.3.4", "prettier": "^3.0.3", "tsdown": "^0.21.7", - "typescript": "^5.9.3" + "typescript": "^6.0.2" }, "peerDependencies": { "vite": "^4 || ^5 || ^6 || ^7 || ^8" diff --git a/packages/plugin-react-swc/playground/base-path/tsconfig.json b/packages/plugin-react-swc/playground/base-path/tsconfig.json index 6a2d67033..2ace40484 100644 --- a/packages/plugin-react-swc/playground/base-path/tsconfig.json +++ b/packages/plugin-react-swc/playground/base-path/tsconfig.json @@ -2,19 +2,17 @@ "include": ["src", "vite.config.ts"], "compilerOptions": { "module": "ESNext", - "lib": ["ESNext", "DOM", "DOM.Iterable"], + "lib": ["ESNext", "DOM"], "target": "ESNext", "jsx": "react-jsx", "types": ["vite/client"], "noEmit": true, - "isolatedModules": true, + "verbatimModuleSyntax": true, "skipLibCheck": true, "moduleResolution": "bundler", "allowImportingTsExtensions": true, - "resolveJsonModule": true, /* Linting */ - "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "noFallthroughCasesInSwitch": true, diff --git a/packages/plugin-react-swc/playground/class-components/tsconfig.json b/packages/plugin-react-swc/playground/class-components/tsconfig.json index 6a2d67033..2ace40484 100644 --- a/packages/plugin-react-swc/playground/class-components/tsconfig.json +++ b/packages/plugin-react-swc/playground/class-components/tsconfig.json @@ -2,19 +2,17 @@ "include": ["src", "vite.config.ts"], "compilerOptions": { "module": "ESNext", - "lib": ["ESNext", "DOM", "DOM.Iterable"], + "lib": ["ESNext", "DOM"], "target": "ESNext", "jsx": "react-jsx", "types": ["vite/client"], "noEmit": true, - "isolatedModules": true, + "verbatimModuleSyntax": true, "skipLibCheck": true, "moduleResolution": "bundler", "allowImportingTsExtensions": true, - "resolveJsonModule": true, /* Linting */ - "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "noFallthroughCasesInSwitch": true, diff --git a/packages/plugin-react-swc/playground/decorators/tsconfig.json b/packages/plugin-react-swc/playground/decorators/tsconfig.json index e027db2c3..5d728203d 100644 --- a/packages/plugin-react-swc/playground/decorators/tsconfig.json +++ b/packages/plugin-react-swc/playground/decorators/tsconfig.json @@ -2,20 +2,18 @@ "include": ["src", "vite.config.ts"], "compilerOptions": { "module": "ESNext", - "lib": ["ESNext", "DOM", "DOM.Iterable"], + "lib": ["ESNext", "DOM"], "target": "ESNext", "jsx": "react-jsx", "types": ["vite/client"], "noEmit": true, - "isolatedModules": true, + "verbatimModuleSyntax": true, "skipLibCheck": true, "experimentalDecorators": true, "moduleResolution": "bundler", "allowImportingTsExtensions": true, - "resolveJsonModule": true, /* Linting */ - "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "noFallthroughCasesInSwitch": true, diff --git a/packages/plugin-react-swc/playground/emotion/tsconfig.json b/packages/plugin-react-swc/playground/emotion/tsconfig.json index ce4174207..bd2d02d59 100644 --- a/packages/plugin-react-swc/playground/emotion/tsconfig.json +++ b/packages/plugin-react-swc/playground/emotion/tsconfig.json @@ -2,20 +2,18 @@ "include": ["src", "vite.config.ts"], "compilerOptions": { "module": "ESNext", - "lib": ["ESNext", "DOM", "DOM.Iterable"], + "lib": ["ESNext", "DOM"], "target": "ESNext", "jsx": "react-jsx", "jsxImportSource": "@emotion/react", "types": ["vite/client", "@emotion/react"], "noEmit": true, - "isolatedModules": true, + "verbatimModuleSyntax": true, "skipLibCheck": true, "moduleResolution": "bundler", "allowImportingTsExtensions": true, - "resolveJsonModule": true, /* Linting */ - "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "noFallthroughCasesInSwitch": true, diff --git a/packages/plugin-react-swc/playground/hmr/tsconfig.json b/packages/plugin-react-swc/playground/hmr/tsconfig.json index 6a2d67033..2ace40484 100644 --- a/packages/plugin-react-swc/playground/hmr/tsconfig.json +++ b/packages/plugin-react-swc/playground/hmr/tsconfig.json @@ -2,19 +2,17 @@ "include": ["src", "vite.config.ts"], "compilerOptions": { "module": "ESNext", - "lib": ["ESNext", "DOM", "DOM.Iterable"], + "lib": ["ESNext", "DOM"], "target": "ESNext", "jsx": "react-jsx", "types": ["vite/client"], "noEmit": true, - "isolatedModules": true, + "verbatimModuleSyntax": true, "skipLibCheck": true, "moduleResolution": "bundler", "allowImportingTsExtensions": true, - "resolveJsonModule": true, /* Linting */ - "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "noFallthroughCasesInSwitch": true, diff --git a/packages/plugin-react-swc/playground/mdx/tsconfig.json b/packages/plugin-react-swc/playground/mdx/tsconfig.json index 6a2d67033..2ace40484 100644 --- a/packages/plugin-react-swc/playground/mdx/tsconfig.json +++ b/packages/plugin-react-swc/playground/mdx/tsconfig.json @@ -2,19 +2,17 @@ "include": ["src", "vite.config.ts"], "compilerOptions": { "module": "ESNext", - "lib": ["ESNext", "DOM", "DOM.Iterable"], + "lib": ["ESNext", "DOM"], "target": "ESNext", "jsx": "react-jsx", "types": ["vite/client"], "noEmit": true, - "isolatedModules": true, + "verbatimModuleSyntax": true, "skipLibCheck": true, "moduleResolution": "bundler", "allowImportingTsExtensions": true, - "resolveJsonModule": true, /* Linting */ - "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "noFallthroughCasesInSwitch": true, diff --git a/packages/plugin-react-swc/playground/react-18/tsconfig.json b/packages/plugin-react-swc/playground/react-18/tsconfig.json index 6a2d67033..2ace40484 100644 --- a/packages/plugin-react-swc/playground/react-18/tsconfig.json +++ b/packages/plugin-react-swc/playground/react-18/tsconfig.json @@ -2,19 +2,17 @@ "include": ["src", "vite.config.ts"], "compilerOptions": { "module": "ESNext", - "lib": ["ESNext", "DOM", "DOM.Iterable"], + "lib": ["ESNext", "DOM"], "target": "ESNext", "jsx": "react-jsx", "types": ["vite/client"], "noEmit": true, - "isolatedModules": true, + "verbatimModuleSyntax": true, "skipLibCheck": true, "moduleResolution": "bundler", "allowImportingTsExtensions": true, - "resolveJsonModule": true, /* Linting */ - "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "noFallthroughCasesInSwitch": true, diff --git a/packages/plugin-react-swc/playground/shadow-export/tsconfig.json b/packages/plugin-react-swc/playground/shadow-export/tsconfig.json index 6a2d67033..2ace40484 100644 --- a/packages/plugin-react-swc/playground/shadow-export/tsconfig.json +++ b/packages/plugin-react-swc/playground/shadow-export/tsconfig.json @@ -2,19 +2,17 @@ "include": ["src", "vite.config.ts"], "compilerOptions": { "module": "ESNext", - "lib": ["ESNext", "DOM", "DOM.Iterable"], + "lib": ["ESNext", "DOM"], "target": "ESNext", "jsx": "react-jsx", "types": ["vite/client"], "noEmit": true, - "isolatedModules": true, + "verbatimModuleSyntax": true, "skipLibCheck": true, "moduleResolution": "bundler", "allowImportingTsExtensions": true, - "resolveJsonModule": true, /* Linting */ - "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "noFallthroughCasesInSwitch": true, diff --git a/packages/plugin-react-swc/playground/styled-components/tsconfig.json b/packages/plugin-react-swc/playground/styled-components/tsconfig.json index 6a2d67033..2ace40484 100644 --- a/packages/plugin-react-swc/playground/styled-components/tsconfig.json +++ b/packages/plugin-react-swc/playground/styled-components/tsconfig.json @@ -2,19 +2,17 @@ "include": ["src", "vite.config.ts"], "compilerOptions": { "module": "ESNext", - "lib": ["ESNext", "DOM", "DOM.Iterable"], + "lib": ["ESNext", "DOM"], "target": "ESNext", "jsx": "react-jsx", "types": ["vite/client"], "noEmit": true, - "isolatedModules": true, + "verbatimModuleSyntax": true, "skipLibCheck": true, "moduleResolution": "bundler", "allowImportingTsExtensions": true, - "resolveJsonModule": true, /* Linting */ - "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "noFallthroughCasesInSwitch": true, diff --git a/packages/plugin-react-swc/playground/ts-lib/tsconfig.json b/packages/plugin-react-swc/playground/ts-lib/tsconfig.json index 12ab2344b..c0643a840 100644 --- a/packages/plugin-react-swc/playground/ts-lib/tsconfig.json +++ b/packages/plugin-react-swc/playground/ts-lib/tsconfig.json @@ -2,24 +2,22 @@ "include": ["src", "vite.config.ts"], "compilerOptions": { "module": "ESNext", - "lib": ["ESNext", "DOM", "DOM.Iterable"], + "lib": ["ESNext", "DOM"], "target": "ESNext", "jsx": "react-jsx", "types": ["vite/client"], "noEmit": true, - "isolatedModules": true, + "verbatimModuleSyntax": true, "skipLibCheck": true, "moduleResolution": "bundler", "allowImportingTsExtensions": true, - "resolveJsonModule": true, - "noUncheckedIndexedAccess": true, - "noPropertyAccessFromIndexSignature": true, /* Linting */ - "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "noFallthroughCasesInSwitch": true, - "useUnknownInCatchVariables": true + "useUnknownInCatchVariables": true, + "noUncheckedIndexedAccess": true, + "noPropertyAccessFromIndexSignature": true } } diff --git a/packages/plugin-react-swc/playground/worker/tsconfig.json b/packages/plugin-react-swc/playground/worker/tsconfig.json index 6a2d67033..2ace40484 100644 --- a/packages/plugin-react-swc/playground/worker/tsconfig.json +++ b/packages/plugin-react-swc/playground/worker/tsconfig.json @@ -2,19 +2,17 @@ "include": ["src", "vite.config.ts"], "compilerOptions": { "module": "ESNext", - "lib": ["ESNext", "DOM", "DOM.Iterable"], + "lib": ["ESNext", "DOM"], "target": "ESNext", "jsx": "react-jsx", "types": ["vite/client"], "noEmit": true, - "isolatedModules": true, + "verbatimModuleSyntax": true, "skipLibCheck": true, "moduleResolution": "bundler", "allowImportingTsExtensions": true, - "resolveJsonModule": true, /* Linting */ - "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "noFallthroughCasesInSwitch": true, diff --git a/packages/plugin-react-swc/tsconfig.src.json b/packages/plugin-react-swc/tsconfig.src.json index 4194367e6..5128e4565 100644 --- a/packages/plugin-react-swc/tsconfig.src.json +++ b/packages/plugin-react-swc/tsconfig.src.json @@ -16,12 +16,10 @@ "isolatedDeclarations": true, /* Linting */ - "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "noFallthroughCasesInSwitch": true, "useUnknownInCatchVariables": true, - "noUncheckedSideEffectImports": true, "noPropertyAccessFromIndexSignature": true } } diff --git a/packages/plugin-react-swc/tsconfig.test.json b/packages/plugin-react-swc/tsconfig.test.json index 8bc9cb430..d5b19b027 100644 --- a/packages/plugin-react-swc/tsconfig.test.json +++ b/packages/plugin-react-swc/tsconfig.test.json @@ -14,12 +14,10 @@ "noEmit": true, /* Linting */ - "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "noFallthroughCasesInSwitch": true, "useUnknownInCatchVariables": true, - "noUncheckedSideEffectImports": true, "noPropertyAccessFromIndexSignature": true } } diff --git a/packages/plugin-react/tsconfig.json b/packages/plugin-react/tsconfig.json index 6c1094b2a..86fa5239c 100644 --- a/packages/plugin-react/tsconfig.json +++ b/packages/plugin-react/tsconfig.json @@ -5,12 +5,10 @@ "target": "es2023", "module": "preserve", "moduleResolution": "bundler", - "strict": true, "declaration": true, "sourceMap": true, "noEmit": true, "noUnusedLocals": true, - "esModuleInterop": true, "rootDir": ".", "skipLibCheck": true } diff --git a/packages/plugin-rsc/examples/basic/tsconfig.json b/packages/plugin-rsc/examples/basic/tsconfig.json index 77438d9db..42ce9773e 100644 --- a/packages/plugin-rsc/examples/basic/tsconfig.json +++ b/packages/plugin-rsc/examples/basic/tsconfig.json @@ -1,7 +1,6 @@ { "compilerOptions": { "allowImportingTsExtensions": true, - "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "skipLibCheck": true, @@ -10,7 +9,7 @@ "moduleResolution": "Bundler", "module": "ESNext", "target": "ESNext", - "lib": ["ESNext", "DOM", "DOM.Iterable"], + "lib": ["ESNext", "DOM"], "types": ["vite/client", "@vitejs/plugin-rsc/types"], "jsx": "react-jsx" } diff --git a/packages/plugin-rsc/examples/browser-mode/tsconfig.json b/packages/plugin-rsc/examples/browser-mode/tsconfig.json index 4c355ed3c..b212cd7a7 100644 --- a/packages/plugin-rsc/examples/browser-mode/tsconfig.json +++ b/packages/plugin-rsc/examples/browser-mode/tsconfig.json @@ -2,7 +2,6 @@ "compilerOptions": { "erasableSyntaxOnly": true, "allowImportingTsExtensions": true, - "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "skipLibCheck": true, @@ -11,7 +10,7 @@ "moduleResolution": "Bundler", "module": "ESNext", "target": "ESNext", - "lib": ["ESNext", "DOM", "DOM.Iterable"], + "lib": ["ESNext", "DOM"], "types": ["vite/client", "@vitejs/plugin-rsc/types"], "jsx": "react-jsx" } diff --git a/packages/plugin-rsc/examples/browser/tsconfig.json b/packages/plugin-rsc/examples/browser/tsconfig.json index 4c355ed3c..b212cd7a7 100644 --- a/packages/plugin-rsc/examples/browser/tsconfig.json +++ b/packages/plugin-rsc/examples/browser/tsconfig.json @@ -2,7 +2,6 @@ "compilerOptions": { "erasableSyntaxOnly": true, "allowImportingTsExtensions": true, - "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "skipLibCheck": true, @@ -11,7 +10,7 @@ "moduleResolution": "Bundler", "module": "ESNext", "target": "ESNext", - "lib": ["ESNext", "DOM", "DOM.Iterable"], + "lib": ["ESNext", "DOM"], "types": ["vite/client", "@vitejs/plugin-rsc/types"], "jsx": "react-jsx" } diff --git a/packages/plugin-rsc/examples/no-ssr/tsconfig.json b/packages/plugin-rsc/examples/no-ssr/tsconfig.json index 4c355ed3c..b212cd7a7 100644 --- a/packages/plugin-rsc/examples/no-ssr/tsconfig.json +++ b/packages/plugin-rsc/examples/no-ssr/tsconfig.json @@ -2,7 +2,6 @@ "compilerOptions": { "erasableSyntaxOnly": true, "allowImportingTsExtensions": true, - "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "skipLibCheck": true, @@ -11,7 +10,7 @@ "moduleResolution": "Bundler", "module": "ESNext", "target": "ESNext", - "lib": ["ESNext", "DOM", "DOM.Iterable"], + "lib": ["ESNext", "DOM"], "types": ["vite/client", "@vitejs/plugin-rsc/types"], "jsx": "react-jsx" } diff --git a/packages/plugin-rsc/examples/react-router/tsconfig.json b/packages/plugin-rsc/examples/react-router/tsconfig.json index 20b648a36..1950c5a23 100644 --- a/packages/plugin-rsc/examples/react-router/tsconfig.json +++ b/packages/plugin-rsc/examples/react-router/tsconfig.json @@ -1,7 +1,6 @@ { "compilerOptions": { "allowImportingTsExtensions": true, - "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "skipLibCheck": true, @@ -10,7 +9,7 @@ "moduleResolution": "Bundler", "module": "ESNext", "target": "ESNext", - "lib": ["ESNext", "DOM", "DOM.Iterable"], + "lib": ["ESNext", "DOM"], "jsx": "react-jsx" } } diff --git a/packages/plugin-rsc/examples/ssg/tsconfig.json b/packages/plugin-rsc/examples/ssg/tsconfig.json index 4c355ed3c..b212cd7a7 100644 --- a/packages/plugin-rsc/examples/ssg/tsconfig.json +++ b/packages/plugin-rsc/examples/ssg/tsconfig.json @@ -2,7 +2,6 @@ "compilerOptions": { "erasableSyntaxOnly": true, "allowImportingTsExtensions": true, - "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "skipLibCheck": true, @@ -11,7 +10,7 @@ "moduleResolution": "Bundler", "module": "ESNext", "target": "ESNext", - "lib": ["ESNext", "DOM", "DOM.Iterable"], + "lib": ["ESNext", "DOM"], "types": ["vite/client", "@vitejs/plugin-rsc/types"], "jsx": "react-jsx" } diff --git a/packages/plugin-rsc/examples/starter-cf-single/tsconfig.json b/packages/plugin-rsc/examples/starter-cf-single/tsconfig.json index 4c355ed3c..b212cd7a7 100644 --- a/packages/plugin-rsc/examples/starter-cf-single/tsconfig.json +++ b/packages/plugin-rsc/examples/starter-cf-single/tsconfig.json @@ -2,7 +2,6 @@ "compilerOptions": { "erasableSyntaxOnly": true, "allowImportingTsExtensions": true, - "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "skipLibCheck": true, @@ -11,7 +10,7 @@ "moduleResolution": "Bundler", "module": "ESNext", "target": "ESNext", - "lib": ["ESNext", "DOM", "DOM.Iterable"], + "lib": ["ESNext", "DOM"], "types": ["vite/client", "@vitejs/plugin-rsc/types"], "jsx": "react-jsx" } diff --git a/packages/plugin-rsc/examples/starter/tsconfig.json b/packages/plugin-rsc/examples/starter/tsconfig.json index 4c355ed3c..b212cd7a7 100644 --- a/packages/plugin-rsc/examples/starter/tsconfig.json +++ b/packages/plugin-rsc/examples/starter/tsconfig.json @@ -2,7 +2,6 @@ "compilerOptions": { "erasableSyntaxOnly": true, "allowImportingTsExtensions": true, - "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "skipLibCheck": true, @@ -11,7 +10,7 @@ "moduleResolution": "Bundler", "module": "ESNext", "target": "ESNext", - "lib": ["ESNext", "DOM", "DOM.Iterable"], + "lib": ["ESNext", "DOM"], "types": ["vite/client", "@vitejs/plugin-rsc/types"], "jsx": "react-jsx" } diff --git a/packages/plugin-rsc/tsconfig.base.json b/packages/plugin-rsc/tsconfig.base.json index e0ab8c298..83dd69ce6 100644 --- a/packages/plugin-rsc/tsconfig.base.json +++ b/packages/plugin-rsc/tsconfig.base.json @@ -11,6 +11,6 @@ "moduleResolution": "Bundler", "module": "ESNext", "target": "ESNext", - "lib": ["ESNext", "DOM", "DOM.Iterable", "DOM.AsyncIterable"] + "lib": ["ESNext", "DOM"] } } diff --git a/playground/class-components/tsconfig.json b/playground/class-components/tsconfig.json index c9e7d3d89..1c305de5c 100644 --- a/playground/class-components/tsconfig.json +++ b/playground/class-components/tsconfig.json @@ -2,19 +2,17 @@ "include": ["src"], "compilerOptions": { "module": "ESNext", - "lib": ["ESNext", "DOM", "DOM.Iterable"], + "lib": ["ESNext", "DOM"], "target": "ESNext", "jsx": "react-jsx", "types": ["vite/client"], "noEmit": true, - "isolatedModules": true, + "verbatimModuleSyntax": true, "skipLibCheck": true, "moduleResolution": "bundler", "allowImportingTsExtensions": true, - "resolveJsonModule": true, /* Linting */ - "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "noFallthroughCasesInSwitch": true, diff --git a/playground/compiler-react-18/package.json b/playground/compiler-react-18/package.json index 9d31574f5..d75c735d4 100644 --- a/playground/compiler-react-18/package.json +++ b/playground/compiler-react-18/package.json @@ -19,6 +19,6 @@ "@types/react-dom": "^18.3.7", "@vitejs/plugin-react": "workspace:*", "babel-plugin-react-compiler": "19.1.0-rc.3", - "typescript": "^5.9.3" + "typescript": "^6.0.2" } } diff --git a/playground/compiler-react-18/tsconfig.json b/playground/compiler-react-18/tsconfig.json index fac7d251f..195fe84e7 100644 --- a/playground/compiler-react-18/tsconfig.json +++ b/playground/compiler-react-18/tsconfig.json @@ -3,7 +3,7 @@ "compilerOptions": { "target": "ES2020", "useDefineForClassFields": true, - "lib": ["ES2020", "DOM", "DOM.Iterable"], + "lib": ["ES2020", "DOM"], "types": ["vite/client"], "module": "ESNext", "skipLibCheck": true, @@ -11,13 +11,11 @@ /* Bundler mode */ "moduleResolution": "bundler", "allowImportingTsExtensions": true, - "resolveJsonModule": true, - "isolatedModules": true, + "verbatimModuleSyntax": true, "noEmit": true, "jsx": "react-jsx", /* Linting */ - "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "noFallthroughCasesInSwitch": true diff --git a/playground/compiler/package.json b/playground/compiler/package.json index 438aabbe0..9ab48df70 100644 --- a/playground/compiler/package.json +++ b/playground/compiler/package.json @@ -18,6 +18,6 @@ "@types/react-dom": "^19.2.3", "@vitejs/plugin-react": "workspace:*", "babel-plugin-react-compiler": "19.1.0-rc.3", - "typescript": "^5.9.3" + "typescript": "^6.0.2" } } diff --git a/playground/compiler/tsconfig.json b/playground/compiler/tsconfig.json index fac7d251f..195fe84e7 100644 --- a/playground/compiler/tsconfig.json +++ b/playground/compiler/tsconfig.json @@ -3,7 +3,7 @@ "compilerOptions": { "target": "ES2020", "useDefineForClassFields": true, - "lib": ["ES2020", "DOM", "DOM.Iterable"], + "lib": ["ES2020", "DOM"], "types": ["vite/client"], "module": "ESNext", "skipLibCheck": true, @@ -11,13 +11,11 @@ /* Bundler mode */ "moduleResolution": "bundler", "allowImportingTsExtensions": true, - "resolveJsonModule": true, - "isolatedModules": true, + "verbatimModuleSyntax": true, "noEmit": true, "jsx": "react-jsx", /* Linting */ - "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "noFallthroughCasesInSwitch": true diff --git a/playground/hmr-false/tsconfig.json b/playground/hmr-false/tsconfig.json index fac7d251f..195fe84e7 100644 --- a/playground/hmr-false/tsconfig.json +++ b/playground/hmr-false/tsconfig.json @@ -3,7 +3,7 @@ "compilerOptions": { "target": "ES2020", "useDefineForClassFields": true, - "lib": ["ES2020", "DOM", "DOM.Iterable"], + "lib": ["ES2020", "DOM"], "types": ["vite/client"], "module": "ESNext", "skipLibCheck": true, @@ -11,13 +11,11 @@ /* Bundler mode */ "moduleResolution": "bundler", "allowImportingTsExtensions": true, - "resolveJsonModule": true, - "isolatedModules": true, + "verbatimModuleSyntax": true, "noEmit": true, "jsx": "react-jsx", /* Linting */ - "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "noFallthroughCasesInSwitch": true diff --git a/playground/hook-with-jsx/tsconfig.json b/playground/hook-with-jsx/tsconfig.json index c9e7d3d89..1c305de5c 100644 --- a/playground/hook-with-jsx/tsconfig.json +++ b/playground/hook-with-jsx/tsconfig.json @@ -2,19 +2,17 @@ "include": ["src"], "compilerOptions": { "module": "ESNext", - "lib": ["ESNext", "DOM", "DOM.Iterable"], + "lib": ["ESNext", "DOM"], "target": "ESNext", "jsx": "react-jsx", "types": ["vite/client"], "noEmit": true, - "isolatedModules": true, + "verbatimModuleSyntax": true, "skipLibCheck": true, "moduleResolution": "bundler", "allowImportingTsExtensions": true, - "resolveJsonModule": true, /* Linting */ - "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "noFallthroughCasesInSwitch": true, diff --git a/playground/mdx/tsconfig.json b/playground/mdx/tsconfig.json index 3d0a51a86..a026e5b04 100644 --- a/playground/mdx/tsconfig.json +++ b/playground/mdx/tsconfig.json @@ -1,18 +1,11 @@ { "compilerOptions": { "target": "ESNext", - "useDefineForClassFields": true, - "lib": ["DOM", "DOM.Iterable", "ESNext"], - "allowJs": false, + "lib": ["ESNext", "DOM"], "skipLibCheck": true, - "esModuleInterop": false, - "allowSyntheticDefaultImports": true, - "strict": true, - "forceConsistentCasingInFileNames": true, "module": "ESNext", "moduleResolution": "Node", - "resolveJsonModule": true, - "isolatedModules": true, + "verbatimModuleSyntax": true, "noEmit": true, "jsx": "react-jsx" }, diff --git a/playground/react-emotion/__tests__/react.spec.ts b/playground/react-emotion/__tests__/react.spec.ts index 943a1c89c..203befbc2 100644 --- a/playground/react-emotion/__tests__/react.spec.ts +++ b/playground/react-emotion/__tests__/react.spec.ts @@ -32,12 +32,12 @@ test.runIf(isServe)('should hmr', async () => { test('should update button style', async () => { function getButtonBorderStyle() { return page.evaluate(() => { - return window.getComputedStyle(document.querySelector('button')).border + return window.getComputedStyle(document.querySelector('button')!).border }) } await page.evaluate(() => { - return document.querySelector('button').style + return document.querySelector('button')!.style }) expect(await getButtonBorderStyle()).toMatch('2px solid rgb(0, 0, 0)') diff --git a/playground/react-emotion/tsconfig.json b/playground/react-emotion/tsconfig.json index 3801cb87d..afe69ee2e 100644 --- a/playground/react-emotion/tsconfig.json +++ b/playground/react-emotion/tsconfig.json @@ -3,7 +3,7 @@ "compilerOptions": { "target": "ES2020", "useDefineForClassFields": true, - "lib": ["ES2020", "DOM", "DOM.Iterable"], + "lib": ["ES2020", "DOM"], "types": ["vite/client"], "module": "ESNext", "skipLibCheck": true, @@ -11,14 +11,12 @@ /* Bundler mode */ "moduleResolution": "bundler", "allowImportingTsExtensions": true, - "resolveJsonModule": true, - "isolatedModules": true, + "verbatimModuleSyntax": true, "noEmit": true, "jsx": "react-jsx", "jsxImportSource": "@emotion/react", /* Linting */ - "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "noFallthroughCasesInSwitch": true diff --git a/playground/test-utils.ts b/playground/test-utils.ts index 558a4b30a..af62367bb 100644 --- a/playground/test-utils.ts +++ b/playground/test-utils.ts @@ -39,7 +39,7 @@ function rgbToHex(rgb: string): string { async function toEl(el: string | ElementHandle): Promise { if (typeof el === 'string') { - return await page.$(el) + return (await page.$(el))! } return el } @@ -117,14 +117,9 @@ async function untilBrowserLog( target?: string | RegExp | Array, expectOrder = true, ): Promise { - let resolve: () => void - let reject: (reason: any) => void - const promise = new Promise((_resolve, _reject) => { - resolve = _resolve - reject = _reject - }) + const { promise, resolve, reject } = promiseWithResolvers() - const logs = [] + const logs: string[] = [] try { const isMatch = (matcher: string | RegExp) => (text: string) => @@ -139,6 +134,9 @@ async function untilBrowserLog( const remainingTargets = [...target] processMsg = (text: string) => { const nextTarget = remainingTargets.shift() + if (!nextTarget) { + expect.fail('Received more logs than expected. Extra log: ' + text) + } expect(text).toMatch(nextTarget) return remainingTargets.length === 0 } @@ -186,6 +184,22 @@ export function escapeRegex(str: string): string { return str.replace(escapeRegexRE, '\\$&') } +// TODO: Replace with Promise.withResolvers when bumping to Node 22 +export interface PromiseWithResolvers { + promise: Promise + resolve: (value: T | PromiseLike) => void + reject: (reason?: any) => void +} +export function promiseWithResolvers(): PromiseWithResolvers { + let resolve: any + let reject: any + const promise = new Promise((_resolve, _reject) => { + resolve = _resolve + reject = _reject + }) + return { promise, resolve, reject } +} + /** * Before implementing a new util, check if it's not available in core https://github.com/vitejs/vite/blob/main/playground/test-utils.ts */ diff --git a/playground/tsconfig-jsx-preserve/tsconfig.json b/playground/tsconfig-jsx-preserve/tsconfig.json index 52a1eea02..9eed109c4 100644 --- a/playground/tsconfig-jsx-preserve/tsconfig.json +++ b/playground/tsconfig-jsx-preserve/tsconfig.json @@ -3,7 +3,7 @@ "compilerOptions": { "target": "ES2020", "useDefineForClassFields": true, - "lib": ["ES2020", "DOM", "DOM.Iterable"], + "lib": ["ES2020", "DOM"], "types": ["vite/client"], "module": "ESNext", "skipLibCheck": true, @@ -11,13 +11,11 @@ /* Bundler mode */ "moduleResolution": "bundler", "allowImportingTsExtensions": true, - "resolveJsonModule": true, - "isolatedModules": true, + "verbatimModuleSyntax": true, "noEmit": true, "jsx": "preserve", /* Linting */ - "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "noFallthroughCasesInSwitch": true diff --git a/playground/tsconfig.json b/playground/tsconfig.json index e7d00756b..8a61a189f 100644 --- a/playground/tsconfig.json +++ b/playground/tsconfig.json @@ -5,10 +5,7 @@ "target": "ES2023", "module": "preserve", "outDir": "dist", - "baseUrl": ".", "allowJs": true, - "esModuleInterop": true, - "resolveJsonModule": true, "moduleResolution": "bundler", "skipLibCheck": true, "noEmit": true, diff --git a/playground/vitestSetup.ts b/playground/vitestSetup.ts index cc2ad8cef..00f5aac63 100644 --- a/playground/vitestSetup.ts +++ b/playground/vitestSetup.ts @@ -81,9 +81,10 @@ export function setViteUrl(url: string): void { // eslint-disable-next-line no-empty-pattern beforeAll(async ({}, suite) => { testPath = suite.file.filepath! - testName = slash(testPath).match(/playground\/([\w-]+)\//)?.[1] + const playgroundDir = slash(testPath).match(/playground\/([\w-]+)\//)?.[1] testDir = dirname(testPath) - if (testName) { + if (playgroundDir) { + testName = playgroundDir testDir = path.resolve(workspaceRoot, 'playground-temp', testName) } @@ -231,7 +232,7 @@ export async function startDefaultServe(): Promise { const config = await loadConfig({ command: 'serve', mode: 'development' }) viteServer = server = await (await createServer(config)).listen() viteTestUrl = stripTrailingSlashIfNeeded( - server.resolvedUrls.local[0], + server.resolvedUrls!.local[0], server.config.base, ) await page.goto(viteTestUrl) @@ -277,7 +278,7 @@ export async function startDefaultServe(): Promise { // prevent preview change NODE_ENV process.env.NODE_ENV = _nodeEnv viteTestUrl = stripTrailingSlashIfNeeded( - previewServer.resolvedUrls.local[0], + previewServer.resolvedUrls!.local[0], previewServer.config.base, ) await page.goto(viteTestUrl) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3976cd760..e6cc8a55f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,6 +4,12 @@ settings: autoInstallPeers: false excludeLinksFromLockfile: false +catalogs: + rolldown-vite: + vite: + specifier: npm:rolldown-vite@^7.3.1 + version: 7.3.1 + overrides: '@types/estree': ^1.0.8 @@ -28,10 +34,10 @@ importers: version: 9.39.4(jiti@2.6.1) eslint-plugin-import-x: specifier: ^4.16.2 - version: 4.16.2(@typescript-eslint/utils@8.58.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3))(eslint@9.39.4(jiti@2.6.1)) + version: 4.16.2(@typescript-eslint/utils@8.58.0(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.2))(eslint@9.39.4(jiti@2.6.1)) eslint-plugin-n: specifier: ^17.24.0 - version: 17.24.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3) + version: 17.24.0(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.2) eslint-plugin-regexp: specifier: ^3.1.0 version: 3.1.0(eslint@9.39.4(jiti@2.6.1)) @@ -57,11 +63,11 @@ importers: specifier: ^2.13.1 version: 2.13.1 typescript: - specifier: ^5.9.3 - version: 5.9.3 + specifier: ^6.0.2 + version: 6.0.2 typescript-eslint: specifier: ^8.58.0 - version: 8.58.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3) + version: 8.58.0(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.2) vite: specifier: ^8.0.3 version: 8.0.5(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1)(@types/node@24.12.2)(esbuild@0.27.3)(jiti@2.6.1)(yaml@2.8.2) @@ -107,7 +113,7 @@ importers: version: 1.0.0-rc.13 tsdown: specifier: ^0.21.7 - version: 0.21.7(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1)(publint@0.3.12)(typescript@5.9.3) + version: 0.21.7(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1)(publint@0.3.12)(typescript@6.0.2) vite: specifier: ^8.0.3 version: 8.0.5(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1)(@types/node@24.12.2)(esbuild@0.27.3)(jiti@2.6.1)(yaml@2.8.2) @@ -123,10 +129,10 @@ importers: version: link:../common tsdown: specifier: ^0.21.7 - version: 0.21.7(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1)(publint@0.3.12)(typescript@5.9.3) + version: 0.21.7(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1)(publint@0.3.12)(typescript@6.0.2) vite: specifier: catalog:rolldown-vite - version: 8.0.5(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1)(@types/node@24.12.2)(esbuild@0.27.3)(jiti@2.6.1)(yaml@2.8.2) + version: rolldown-vite@7.3.1(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1)(@types/node@24.12.2)(esbuild@0.27.3)(jiti@2.6.1)(yaml@2.8.2) packages/plugin-react-swc: dependencies: @@ -157,10 +163,10 @@ importers: version: 3.6.2 tsdown: specifier: ^0.21.7 - version: 0.21.7(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1)(publint@0.3.12)(typescript@5.9.3) + version: 0.21.7(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1)(publint@0.3.12)(typescript@6.0.2) typescript: - specifier: ^5.9.3 - version: 5.9.3 + specifier: ^6.0.2 + version: 6.0.2 packages/plugin-react-swc/playground/base-path: dependencies: @@ -496,7 +502,7 @@ importers: version: 1.0.4 tsdown: specifier: ^0.21.7 - version: 0.21.7(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1)(publint@0.3.12)(typescript@5.9.3) + version: 0.21.7(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1)(publint@0.3.12)(typescript@6.0.2) packages/plugin-rsc/examples/basic: dependencies: @@ -856,8 +862,8 @@ importers: specifier: 19.1.0-rc.3 version: 19.1.0-rc.3 typescript: - specifier: ^5.9.3 - version: 5.9.3 + specifier: ^6.0.2 + version: 6.0.2 playground/compiler-react-18: dependencies: @@ -890,8 +896,8 @@ importers: specifier: 19.1.0-rc.3 version: 19.1.0-rc.3 typescript: - specifier: ^5.9.3 - version: 5.9.3 + specifier: ^6.0.2 + version: 6.0.2 playground/hmr-false: dependencies: @@ -1794,6 +1800,13 @@ packages: '@emnapi/core': ^1.7.1 '@emnapi/runtime': ^1.7.1 + '@oxc-project/runtime@0.101.0': + resolution: {integrity: sha512-t3qpfVZIqSiLQ5Kqt/MC4Ge/WCOGrrcagAdzTcDaggupjiGxUx4nJF2v6wUCXWSzWHn5Ns7XLv13fCJEwCOERQ==} + engines: {node: ^20.19.0 || >=22.12.0} + + '@oxc-project/types@0.101.0': + resolution: {integrity: sha512-nuFhqlUzJX+gVIPPfuE6xurd4lST3mdcWOhyK/rZO0B9XWMKm79SuszIQEnSMmmDhq1DC8WWVYGVd+6F93o1gQ==} + '@oxc-project/types@0.122.0': resolution: {integrity: sha512-oLAl5kBpV4w69UtFZ9xqcmTi+GENWOcPF7FCrczTiBbmC0ibXxCwyvZGbO39rCVEuLGAZM84DH0pUIyyv/YJzA==} @@ -1949,6 +1962,12 @@ packages: '@quansync/fs@1.0.0': resolution: {integrity: sha512-4TJ3DFtlf1L5LDMaM6CanJ/0lckGNtJcMjQ1NAV6zDmA0tEHKZtxNKin8EgPaVX1YzljbxckyT2tJrpQKAtngQ==} + '@rolldown/binding-android-arm64@1.0.0-beta.53': + resolution: {integrity: sha512-Ok9V8o7o6YfSdTTYA/uHH30r3YtOxLD6G3wih/U9DO0ucBBFq8WPt/DslU53OgfteLRHITZny9N/qCUxMf9kjQ==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [android] + '@rolldown/binding-android-arm64@1.0.0-rc.12': resolution: {integrity: sha512-pv1y2Fv0JybcykuiiD3qBOBdz6RteYojRFY1d+b95WVuzx211CRh+ytI/+9iVyWQ6koTh5dawe4S/yRfOFjgaA==} engines: {node: ^20.19.0 || >=22.12.0} @@ -1961,6 +1980,12 @@ packages: cpu: [arm64] os: [android] + '@rolldown/binding-darwin-arm64@1.0.0-beta.53': + resolution: {integrity: sha512-yIsKqMz0CtRnVa6x3Pa+mzTihr4Ty+Z6HfPbZ7RVbk1Uxnco4+CUn7Qbm/5SBol1JD/7nvY8rphAgyAi7Lj6Vg==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [darwin] + '@rolldown/binding-darwin-arm64@1.0.0-rc.12': resolution: {integrity: sha512-cFYr6zTG/3PXXF3pUO+umXxt1wkRK/0AYT8lDwuqvRC+LuKYWSAQAQZjCWDQpAH172ZV6ieYrNnFzVVcnSflAg==} engines: {node: ^20.19.0 || >=22.12.0} @@ -1973,6 +1998,12 @@ packages: cpu: [arm64] os: [darwin] + '@rolldown/binding-darwin-x64@1.0.0-beta.53': + resolution: {integrity: sha512-GTXe+mxsCGUnJOFMhfGWmefP7Q9TpYUseHvhAhr21nCTgdS8jPsvirb0tJwM3lN0/u/cg7bpFNa16fQrjKrCjQ==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [darwin] + '@rolldown/binding-darwin-x64@1.0.0-rc.12': resolution: {integrity: sha512-ZCsYknnHzeXYps0lGBz8JrF37GpE9bFVefrlmDrAQhOEi4IOIlcoU1+FwHEtyXGx2VkYAvhu7dyBf75EJQffBw==} engines: {node: ^20.19.0 || >=22.12.0} @@ -1985,6 +2016,12 @@ packages: cpu: [x64] os: [darwin] + '@rolldown/binding-freebsd-x64@1.0.0-beta.53': + resolution: {integrity: sha512-9Tmp7bBvKqyDkMcL4e089pH3RsjD3SUungjmqWtyhNOxoQMh0fSmINTyYV8KXtE+JkxYMPWvnEt+/mfpVCkk8w==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [freebsd] + '@rolldown/binding-freebsd-x64@1.0.0-rc.12': resolution: {integrity: sha512-dMLeprcVsyJsKolRXyoTH3NL6qtsT0Y2xeuEA8WQJquWFXkEC4bcu1rLZZSnZRMtAqwtrF/Ib9Ddtpa/Gkge9Q==} engines: {node: ^20.19.0 || >=22.12.0} @@ -1997,6 +2034,12 @@ packages: cpu: [x64] os: [freebsd] + '@rolldown/binding-linux-arm-gnueabihf@1.0.0-beta.53': + resolution: {integrity: sha512-a1y5fiB0iovuzdbjUxa7+Zcvgv+mTmlGGC4XydVIsyl48eoxgaYkA3l9079hyTyhECsPq+mbr0gVQsFU11OJAQ==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm] + os: [linux] + '@rolldown/binding-linux-arm-gnueabihf@1.0.0-rc.12': resolution: {integrity: sha512-YqWjAgGC/9M1lz3GR1r1rP79nMgo3mQiiA+Hfo+pvKFK1fAJ1bCi0ZQVh8noOqNacuY1qIcfyVfP6HoyBRZ85Q==} engines: {node: ^20.19.0 || >=22.12.0} @@ -2009,6 +2052,13 @@ packages: cpu: [arm] os: [linux] + '@rolldown/binding-linux-arm64-gnu@1.0.0-beta.53': + resolution: {integrity: sha512-bpIGX+ov9PhJYV+wHNXl9rzq4F0QvILiURn0y0oepbQx+7stmQsKA0DhPGwmhfvF856wq+gbM8L92SAa/CBcLg==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [linux] + libc: [glibc] + '@rolldown/binding-linux-arm64-gnu@1.0.0-rc.12': resolution: {integrity: sha512-/I5AS4cIroLpslsmzXfwbe5OmWvSsrFuEw3mwvbQ1kDxJ822hFHIx+vsN/TAzNVyepI/j/GSzrtCIwQPeKCLIg==} engines: {node: ^20.19.0 || >=22.12.0} @@ -2023,6 +2073,13 @@ packages: os: [linux] libc: [glibc] + '@rolldown/binding-linux-arm64-musl@1.0.0-beta.53': + resolution: {integrity: sha512-bGe5EBB8FVjHBR1mOLOPEFg1Lp3//7geqWkU5NIhxe+yH0W8FVrQ6WRYOap4SUTKdklD/dC4qPLREkMMQ855FA==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [linux] + libc: [musl] + '@rolldown/binding-linux-arm64-musl@1.0.0-rc.12': resolution: {integrity: sha512-V6/wZztnBqlx5hJQqNWwFdxIKN0m38p8Jas+VoSfgH54HSj9tKTt1dZvG6JRHcjh6D7TvrJPWFGaY9UBVOaWPw==} engines: {node: ^20.19.0 || >=22.12.0} @@ -2065,6 +2122,13 @@ packages: os: [linux] libc: [glibc] + '@rolldown/binding-linux-x64-gnu@1.0.0-beta.53': + resolution: {integrity: sha512-qL+63WKVQs1CMvFedlPt0U9PiEKJOAL/bsHMKUDS6Vp2Q+YAv/QLPu8rcvkfIMvQ0FPU2WL0aX4eWwF6e/GAnA==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [linux] + libc: [glibc] + '@rolldown/binding-linux-x64-gnu@1.0.0-rc.12': resolution: {integrity: sha512-RNrafz5bcwRy+O9e6P8Z/OCAJW/A+qtBczIqVYwTs14pf4iV1/+eKEjdOUta93q2TsT/FI0XYDP3TCky38LMAg==} engines: {node: ^20.19.0 || >=22.12.0} @@ -2079,6 +2143,13 @@ packages: os: [linux] libc: [glibc] + '@rolldown/binding-linux-x64-musl@1.0.0-beta.53': + resolution: {integrity: sha512-VGl9JIGjoJh3H8Mb+7xnVqODajBmrdOOb9lxWXdcmxyI+zjB2sux69br0hZJDTyLJfvBoYm439zPACYbCjGRmw==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [linux] + libc: [musl] + '@rolldown/binding-linux-x64-musl@1.0.0-rc.12': resolution: {integrity: sha512-Jpw/0iwoKWx3LJ2rc1yjFrj+T7iHZn2JDg1Yny1ma0luviFS4mhAIcd1LFNxK3EYu3DHWCps0ydXQ5i/rrJ2ig==} engines: {node: ^20.19.0 || >=22.12.0} @@ -2093,6 +2164,12 @@ packages: os: [linux] libc: [musl] + '@rolldown/binding-openharmony-arm64@1.0.0-beta.53': + resolution: {integrity: sha512-B4iIserJXuSnNzA5xBLFUIjTfhNy7d9sq4FUMQY3GhQWGVhS2RWWzzDnkSU6MUt7/aHUrep0CdQfXUJI9D3W7A==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [openharmony] + '@rolldown/binding-openharmony-arm64@1.0.0-rc.12': resolution: {integrity: sha512-vRugONE4yMfVn0+7lUKdKvN4D5YusEiPilaoO2sgUWpCvrncvWgPMzK00ZFFJuiPgLwgFNP5eSiUlv2tfc+lpA==} engines: {node: ^20.19.0 || >=22.12.0} @@ -2105,6 +2182,11 @@ packages: cpu: [arm64] os: [openharmony] + '@rolldown/binding-wasm32-wasi@1.0.0-beta.53': + resolution: {integrity: sha512-BUjAEgpABEJXilGq/BPh7jeU3WAJ5o15c1ZEgHaDWSz3LB881LQZnbNJHmUiM4d1JQWMYYyR1Y490IBHi2FPJg==} + engines: {node: '>=14.0.0'} + cpu: [wasm32] + '@rolldown/binding-wasm32-wasi@1.0.0-rc.12': resolution: {integrity: sha512-ykGiLr/6kkiHc0XnBfmFJuCjr5ZYKKofkx+chJWDjitX+KsJuAmrzWhwyOMSHzPhzOHOy7u9HlFoa5MoAOJ/Zg==} engines: {node: '>=14.0.0'} @@ -2115,6 +2197,12 @@ packages: engines: {node: '>=14.0.0'} cpu: [wasm32] + '@rolldown/binding-win32-arm64-msvc@1.0.0-beta.53': + resolution: {integrity: sha512-s27uU7tpCWSjHBnxyVXHt3rMrQdJq5MHNv3BzsewCIroIw3DJFjMH1dzCPPMUFxnh1r52Nf9IJ/eWp6LDoyGcw==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [win32] + '@rolldown/binding-win32-arm64-msvc@1.0.0-rc.12': resolution: {integrity: sha512-5eOND4duWkwx1AzCxadcOrNeighiLwMInEADT0YM7xeEOOFcovWZCq8dadXgcRHSf3Ulh1kFo/qvzoFiCLOL1Q==} engines: {node: ^20.19.0 || >=22.12.0} @@ -2127,6 +2215,12 @@ packages: cpu: [arm64] os: [win32] + '@rolldown/binding-win32-x64-msvc@1.0.0-beta.53': + resolution: {integrity: sha512-cjWL/USPJ1g0en2htb4ssMjIycc36RvdQAx1WlXnS6DpULswiUTVXPDesTifSKYSyvx24E0YqQkEm0K/M2Z/AA==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [win32] + '@rolldown/binding-win32-x64-msvc@1.0.0-rc.12': resolution: {integrity: sha512-PyqoipaswDLAZtot351MLhrlrh6lcZPo2LSYE+VDxbVk24LVKAGOuE4hb8xZQmrPAuEtTZW8E6D2zc5EUZX4Lw==} engines: {node: ^20.19.0 || >=22.12.0} @@ -2156,6 +2250,9 @@ packages: vite: optional: true + '@rolldown/pluginutils@1.0.0-beta.53': + resolution: {integrity: sha512-vENRlFU4YbrwVqNDZ7fLvy+JR1CRkyr01jhSiDpE1u6py3OMzQfztQU2jxykW3ALNxO4kSlqIDeYyD0Y9RcQeQ==} + '@rolldown/pluginutils@1.0.0-rc.12': resolution: {integrity: sha512-HHMwmarRKvoFsJorqYlFeFRzXZqCt2ETQlEDOb9aqssrnVBB1/+xgTGtuTrIk5vzLNX1MjMtTf7W9z3tsSbrxw==} @@ -4107,6 +4204,52 @@ packages: vue-tsc: optional: true + rolldown-vite@7.3.1: + resolution: {integrity: sha512-LYzdNAjRHhF2yA4JUQm/QyARyi216N2rpJ0lJZb8E9FU2y5v6Vk+xq/U4XBOxMefpWixT5H3TslmAHm1rqIq2w==} + engines: {node: ^20.19.0 || >=22.12.0} + deprecated: Use this package to migrate from Vite 7 to Vite 8. For the most recent updates, migrate to Vite 8 once you're ready. + hasBin: true + peerDependencies: + '@types/node': ^20.19.0 || >=22.12.0 + esbuild: ^0.27.0 + jiti: '>=1.21.0' + less: ^4.0.0 + sass: ^1.70.0 + sass-embedded: ^1.70.0 + stylus: '>=0.54.8' + sugarss: ^5.0.0 + terser: ^5.16.0 + tsx: ^4.8.1 + yaml: ^2.4.2 + peerDependenciesMeta: + '@types/node': + optional: true + esbuild: + optional: true + jiti: + optional: true + less: + optional: true + sass: + optional: true + sass-embedded: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + tsx: + optional: true + yaml: + optional: true + + rolldown@1.0.0-beta.53: + resolution: {integrity: sha512-Qd9c2p0XKZdgT5AYd+KgAMggJ8ZmCs3JnS9PTMWkyUfteKlfmKtxJbWTHkVakxwXs1Ub7jrRYVeFeF7N0sQxyw==} + engines: {node: ^20.19.0 || >=22.12.0} + hasBin: true + rolldown@1.0.0-rc.12: resolution: {integrity: sha512-yP4USLIMYrwpPHEFB5JGH1uxhcslv6/hL0OyvTuY+3qlOSJvZ7ntYnoWpehBxufkgN0cvXxppuTu5hHa/zPh+A==} engines: {node: ^20.19.0 || >=22.12.0} @@ -4414,8 +4557,8 @@ packages: eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 typescript: '>=4.8.4 <6.1.0' - typescript@5.9.3: - resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==} + typescript@6.0.2: + resolution: {integrity: sha512-bGdAIrZ0wiGDo5l8c++HWtbaNCWTS4UTv7RaTH/ThVIgjkveJt83m74bBHMJkuCbslY8ixgLBVZJIOiQlQTjfQ==} engines: {node: '>=14.17'} hasBin: true @@ -5372,6 +5515,10 @@ snapshots: '@tybys/wasm-util': 0.10.1 optional: true + '@oxc-project/runtime@0.101.0': {} + + '@oxc-project/types@0.101.0': {} + '@oxc-project/types@0.122.0': {} '@oxc-project/types@0.123.0': {} @@ -5459,42 +5606,63 @@ snapshots: dependencies: quansync: 1.0.0 + '@rolldown/binding-android-arm64@1.0.0-beta.53': + optional: true + '@rolldown/binding-android-arm64@1.0.0-rc.12': optional: true '@rolldown/binding-android-arm64@1.0.0-rc.13': optional: true + '@rolldown/binding-darwin-arm64@1.0.0-beta.53': + optional: true + '@rolldown/binding-darwin-arm64@1.0.0-rc.12': optional: true '@rolldown/binding-darwin-arm64@1.0.0-rc.13': optional: true + '@rolldown/binding-darwin-x64@1.0.0-beta.53': + optional: true + '@rolldown/binding-darwin-x64@1.0.0-rc.12': optional: true '@rolldown/binding-darwin-x64@1.0.0-rc.13': optional: true + '@rolldown/binding-freebsd-x64@1.0.0-beta.53': + optional: true + '@rolldown/binding-freebsd-x64@1.0.0-rc.12': optional: true '@rolldown/binding-freebsd-x64@1.0.0-rc.13': optional: true + '@rolldown/binding-linux-arm-gnueabihf@1.0.0-beta.53': + optional: true + '@rolldown/binding-linux-arm-gnueabihf@1.0.0-rc.12': optional: true '@rolldown/binding-linux-arm-gnueabihf@1.0.0-rc.13': optional: true + '@rolldown/binding-linux-arm64-gnu@1.0.0-beta.53': + optional: true + '@rolldown/binding-linux-arm64-gnu@1.0.0-rc.12': optional: true '@rolldown/binding-linux-arm64-gnu@1.0.0-rc.13': optional: true + '@rolldown/binding-linux-arm64-musl@1.0.0-beta.53': + optional: true + '@rolldown/binding-linux-arm64-musl@1.0.0-rc.12': optional: true @@ -5513,24 +5681,41 @@ snapshots: '@rolldown/binding-linux-s390x-gnu@1.0.0-rc.13': optional: true + '@rolldown/binding-linux-x64-gnu@1.0.0-beta.53': + optional: true + '@rolldown/binding-linux-x64-gnu@1.0.0-rc.12': optional: true '@rolldown/binding-linux-x64-gnu@1.0.0-rc.13': optional: true + '@rolldown/binding-linux-x64-musl@1.0.0-beta.53': + optional: true + '@rolldown/binding-linux-x64-musl@1.0.0-rc.12': optional: true '@rolldown/binding-linux-x64-musl@1.0.0-rc.13': optional: true + '@rolldown/binding-openharmony-arm64@1.0.0-beta.53': + optional: true + '@rolldown/binding-openharmony-arm64@1.0.0-rc.12': optional: true '@rolldown/binding-openharmony-arm64@1.0.0-rc.13': optional: true + '@rolldown/binding-wasm32-wasi@1.0.0-beta.53(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1)': + dependencies: + '@napi-rs/wasm-runtime': 1.1.2(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1) + transitivePeerDependencies: + - '@emnapi/core' + - '@emnapi/runtime' + optional: true + '@rolldown/binding-wasm32-wasi@1.0.0-rc.12(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1)': dependencies: '@napi-rs/wasm-runtime': 1.1.2(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1) @@ -5546,12 +5731,18 @@ snapshots: '@napi-rs/wasm-runtime': 1.1.2(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1) optional: true + '@rolldown/binding-win32-arm64-msvc@1.0.0-beta.53': + optional: true + '@rolldown/binding-win32-arm64-msvc@1.0.0-rc.12': optional: true '@rolldown/binding-win32-arm64-msvc@1.0.0-rc.13': optional: true + '@rolldown/binding-win32-x64-msvc@1.0.0-beta.53': + optional: true + '@rolldown/binding-win32-x64-msvc@1.0.0-rc.12': optional: true @@ -5574,6 +5765,8 @@ snapshots: optionalDependencies: vite: 8.0.5(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1)(@types/node@24.12.2)(esbuild@0.27.3)(jiti@2.6.1)(yaml@2.8.2) + '@rolldown/pluginutils@1.0.0-beta.53': {} + '@rolldown/pluginutils@1.0.0-rc.12': {} '@rolldown/pluginutils@1.0.0-rc.13': {} @@ -5855,40 +6048,40 @@ snapshots: '@types/unist@3.0.2': {} - '@typescript-eslint/eslint-plugin@8.58.0(@typescript-eslint/parser@8.58.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3))(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3)': + '@typescript-eslint/eslint-plugin@8.58.0(@typescript-eslint/parser@8.58.0(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.2))(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.2)': dependencies: '@eslint-community/regexpp': 4.12.2 - '@typescript-eslint/parser': 8.58.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3) + '@typescript-eslint/parser': 8.58.0(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.2) '@typescript-eslint/scope-manager': 8.58.0 - '@typescript-eslint/type-utils': 8.58.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3) - '@typescript-eslint/utils': 8.58.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3) + '@typescript-eslint/type-utils': 8.58.0(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.2) + '@typescript-eslint/utils': 8.58.0(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.2) '@typescript-eslint/visitor-keys': 8.58.0 eslint: 9.39.4(jiti@2.6.1) ignore: 7.0.5 natural-compare: 1.4.0 - ts-api-utils: 2.5.0(typescript@5.9.3) - typescript: 5.9.3 + ts-api-utils: 2.5.0(typescript@6.0.2) + typescript: 6.0.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.58.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3)': + '@typescript-eslint/parser@8.58.0(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.2)': dependencies: '@typescript-eslint/scope-manager': 8.58.0 '@typescript-eslint/types': 8.58.0 - '@typescript-eslint/typescript-estree': 8.58.0(typescript@5.9.3) + '@typescript-eslint/typescript-estree': 8.58.0(typescript@6.0.2) '@typescript-eslint/visitor-keys': 8.58.0 debug: 4.4.3 eslint: 9.39.4(jiti@2.6.1) - typescript: 5.9.3 + typescript: 6.0.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/project-service@8.58.0(typescript@5.9.3)': + '@typescript-eslint/project-service@8.58.0(typescript@6.0.2)': dependencies: - '@typescript-eslint/tsconfig-utils': 8.58.0(typescript@5.9.3) + '@typescript-eslint/tsconfig-utils': 8.58.0(typescript@6.0.2) '@typescript-eslint/types': 8.58.0 debug: 4.4.3 - typescript: 5.9.3 + typescript: 6.0.2 transitivePeerDependencies: - supports-color @@ -5897,19 +6090,19 @@ snapshots: '@typescript-eslint/types': 8.58.0 '@typescript-eslint/visitor-keys': 8.58.0 - '@typescript-eslint/tsconfig-utils@8.58.0(typescript@5.9.3)': + '@typescript-eslint/tsconfig-utils@8.58.0(typescript@6.0.2)': dependencies: - typescript: 5.9.3 + typescript: 6.0.2 - '@typescript-eslint/type-utils@8.58.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3)': + '@typescript-eslint/type-utils@8.58.0(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.2)': dependencies: '@typescript-eslint/types': 8.58.0 - '@typescript-eslint/typescript-estree': 8.58.0(typescript@5.9.3) - '@typescript-eslint/utils': 8.58.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3) + '@typescript-eslint/typescript-estree': 8.58.0(typescript@6.0.2) + '@typescript-eslint/utils': 8.58.0(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.2) debug: 4.4.3 eslint: 9.39.4(jiti@2.6.1) - ts-api-utils: 2.5.0(typescript@5.9.3) - typescript: 5.9.3 + ts-api-utils: 2.5.0(typescript@6.0.2) + typescript: 6.0.2 transitivePeerDependencies: - supports-color @@ -5917,29 +6110,29 @@ snapshots: '@typescript-eslint/types@8.58.0': {} - '@typescript-eslint/typescript-estree@8.58.0(typescript@5.9.3)': + '@typescript-eslint/typescript-estree@8.58.0(typescript@6.0.2)': dependencies: - '@typescript-eslint/project-service': 8.58.0(typescript@5.9.3) - '@typescript-eslint/tsconfig-utils': 8.58.0(typescript@5.9.3) + '@typescript-eslint/project-service': 8.58.0(typescript@6.0.2) + '@typescript-eslint/tsconfig-utils': 8.58.0(typescript@6.0.2) '@typescript-eslint/types': 8.58.0 '@typescript-eslint/visitor-keys': 8.58.0 debug: 4.4.3 minimatch: 10.2.2 semver: 7.7.4 tinyglobby: 0.2.15 - ts-api-utils: 2.5.0(typescript@5.9.3) - typescript: 5.9.3 + ts-api-utils: 2.5.0(typescript@6.0.2) + typescript: 6.0.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.58.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3)': + '@typescript-eslint/utils@8.58.0(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.2)': dependencies: '@eslint-community/eslint-utils': 4.9.1(eslint@9.39.4(jiti@2.6.1)) '@typescript-eslint/scope-manager': 8.58.0 '@typescript-eslint/types': 8.58.0 - '@typescript-eslint/typescript-estree': 8.58.0(typescript@5.9.3) + '@typescript-eslint/typescript-estree': 8.58.0(typescript@6.0.2) eslint: 9.39.4(jiti@2.6.1) - typescript: 5.9.3 + typescript: 6.0.2 transitivePeerDependencies: - supports-color @@ -6452,7 +6645,7 @@ snapshots: eslint: 9.39.4(jiti@2.6.1) eslint-compat-utils: 0.5.1(eslint@9.39.4(jiti@2.6.1)) - eslint-plugin-import-x@4.16.2(@typescript-eslint/utils@8.58.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3))(eslint@9.39.4(jiti@2.6.1)): + eslint-plugin-import-x@4.16.2(@typescript-eslint/utils@8.58.0(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.2))(eslint@9.39.4(jiti@2.6.1)): dependencies: '@package-json/types': 0.0.12 '@typescript-eslint/types': 8.56.1 @@ -6466,11 +6659,11 @@ snapshots: stable-hash-x: 0.2.0 unrs-resolver: 1.9.2 optionalDependencies: - '@typescript-eslint/utils': 8.58.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3) + '@typescript-eslint/utils': 8.58.0(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.2) transitivePeerDependencies: - supports-color - eslint-plugin-n@17.24.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3): + eslint-plugin-n@17.24.0(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.2): dependencies: '@eslint-community/eslint-utils': 4.9.1(eslint@9.39.4(jiti@2.6.1)) enhanced-resolve: 5.18.3 @@ -6481,7 +6674,7 @@ snapshots: globrex: 0.1.2 ignore: 5.3.2 semver: 7.7.3 - ts-declaration-location: 1.0.7(typescript@5.9.3) + ts-declaration-location: 1.0.7(typescript@6.0.2) transitivePeerDependencies: - typescript @@ -7650,7 +7843,7 @@ snapshots: rfdc@1.4.1: {} - rolldown-plugin-dts@0.23.2(rolldown@1.0.0-rc.12(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1))(typescript@5.9.3): + rolldown-plugin-dts@0.23.2(rolldown@1.0.0-rc.12(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1))(typescript@6.0.2): dependencies: '@babel/generator': 8.0.0-rc.3 '@babel/helper-validator-identifier': 8.0.0-rc.3 @@ -7664,10 +7857,51 @@ snapshots: picomatch: 4.0.4 rolldown: 1.0.0-rc.12(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1) optionalDependencies: - typescript: 5.9.3 + typescript: 6.0.2 transitivePeerDependencies: - oxc-resolver + rolldown-vite@7.3.1(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1)(@types/node@24.12.2)(esbuild@0.27.3)(jiti@2.6.1)(yaml@2.8.2): + dependencies: + '@oxc-project/runtime': 0.101.0 + fdir: 6.5.0(picomatch@4.0.4) + lightningcss: 1.32.0 + picomatch: 4.0.4 + postcss: 8.5.8 + rolldown: 1.0.0-beta.53(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1) + tinyglobby: 0.2.15 + optionalDependencies: + '@types/node': 24.12.2 + esbuild: 0.27.3 + fsevents: 2.3.3 + jiti: 2.6.1 + yaml: 2.8.2 + transitivePeerDependencies: + - '@emnapi/core' + - '@emnapi/runtime' + + rolldown@1.0.0-beta.53(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1): + dependencies: + '@oxc-project/types': 0.101.0 + '@rolldown/pluginutils': 1.0.0-beta.53 + optionalDependencies: + '@rolldown/binding-android-arm64': 1.0.0-beta.53 + '@rolldown/binding-darwin-arm64': 1.0.0-beta.53 + '@rolldown/binding-darwin-x64': 1.0.0-beta.53 + '@rolldown/binding-freebsd-x64': 1.0.0-beta.53 + '@rolldown/binding-linux-arm-gnueabihf': 1.0.0-beta.53 + '@rolldown/binding-linux-arm64-gnu': 1.0.0-beta.53 + '@rolldown/binding-linux-arm64-musl': 1.0.0-beta.53 + '@rolldown/binding-linux-x64-gnu': 1.0.0-beta.53 + '@rolldown/binding-linux-x64-musl': 1.0.0-beta.53 + '@rolldown/binding-openharmony-arm64': 1.0.0-beta.53 + '@rolldown/binding-wasm32-wasi': 1.0.0-beta.53(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1) + '@rolldown/binding-win32-arm64-msvc': 1.0.0-beta.53 + '@rolldown/binding-win32-x64-msvc': 1.0.0-beta.53 + transitivePeerDependencies: + - '@emnapi/core' + - '@emnapi/runtime' + rolldown@1.0.0-rc.12(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1): dependencies: '@oxc-project/types': 0.122.0 @@ -7931,16 +8165,16 @@ snapshots: trough@2.1.0: {} - ts-api-utils@2.5.0(typescript@5.9.3): + ts-api-utils@2.5.0(typescript@6.0.2): dependencies: - typescript: 5.9.3 + typescript: 6.0.2 - ts-declaration-location@1.0.7(typescript@5.9.3): + ts-declaration-location@1.0.7(typescript@6.0.2): dependencies: - picomatch: 4.0.4 - typescript: 5.9.3 + picomatch: 4.0.3 + typescript: 6.0.2 - tsdown@0.21.7(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1)(publint@0.3.12)(typescript@5.9.3): + tsdown@0.21.7(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1)(publint@0.3.12)(typescript@6.0.2): dependencies: ansis: 4.2.0 cac: 7.0.0 @@ -7951,7 +8185,7 @@ snapshots: obug: 2.1.1 picomatch: 4.0.4 rolldown: 1.0.0-rc.12(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1) - rolldown-plugin-dts: 0.23.2(rolldown@1.0.0-rc.12(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1))(typescript@5.9.3) + rolldown-plugin-dts: 0.23.2(rolldown@1.0.0-rc.12(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1))(typescript@6.0.2) semver: 7.7.4 tinyexec: 1.0.4 tinyglobby: 0.2.15 @@ -7960,7 +8194,7 @@ snapshots: unrun: 0.2.34(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1) optionalDependencies: publint: 0.3.12 - typescript: 5.9.3 + typescript: 6.0.2 transitivePeerDependencies: - '@emnapi/core' - '@emnapi/runtime' @@ -7978,18 +8212,18 @@ snapshots: dependencies: prelude-ls: 1.2.1 - typescript-eslint@8.58.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3): + typescript-eslint@8.58.0(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.2): dependencies: - '@typescript-eslint/eslint-plugin': 8.58.0(@typescript-eslint/parser@8.58.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3))(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3) - '@typescript-eslint/parser': 8.58.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3) - '@typescript-eslint/typescript-estree': 8.58.0(typescript@5.9.3) - '@typescript-eslint/utils': 8.58.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3) + '@typescript-eslint/eslint-plugin': 8.58.0(@typescript-eslint/parser@8.58.0(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.2))(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.2) + '@typescript-eslint/parser': 8.58.0(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.2) + '@typescript-eslint/typescript-estree': 8.58.0(typescript@6.0.2) + '@typescript-eslint/utils': 8.58.0(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.2) eslint: 9.39.4(jiti@2.6.1) - typescript: 5.9.3 + typescript: 6.0.2 transitivePeerDependencies: - supports-color - typescript@5.9.3: {} + typescript@6.0.2: {} uglify-js@3.19.3: optional: true diff --git a/scripts/tsconfig.json b/scripts/tsconfig.json index 95bb724b5..6d4d7aaf9 100644 --- a/scripts/tsconfig.json +++ b/scripts/tsconfig.json @@ -2,16 +2,14 @@ "$schema": "https://json.schemastore.org/tsconfig", "include": ["."], "compilerOptions": { + "types": ["node"], "target": "esnext", "module": "nodenext", "allowImportingTsExtensions": true, "erasableSyntaxOnly": true, "verbatimModuleSyntax": true, "noEmit": true, - "strict": true, - "esModuleInterop": true, "skipLibCheck": true, - "noUnusedLocals": true, - "forceConsistentCasingInFileNames": true + "noUnusedLocals": true } }