From 93a6aef58f926bddf6519db42bb12a9c1b3ef0db Mon Sep 17 00:00:00 2001 From: "Km.Van" Date: Fri, 10 Jul 2026 15:37:25 +0800 Subject: [PATCH] update to typescript 7 --- package.json | 12 ++++++------ pnpm-workspace.yaml | 2 ++ tsconfig.json | 8 ++++---- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 31ffa90..a31bbec 100644 --- a/package.json +++ b/package.json @@ -19,28 +19,28 @@ "dependencies": { "copy-to-clipboard": "^4.0.2", "immer": "^11.1.11", - "lucide-react": "^1.23.0", + "lucide-react": "^1.24.0", "react": "^19.2.7", "react-dom": "^19.2.7", "zustand": "^5.0.14" }, "devDependencies": { "@biomejs/biome": "2.5.1", - "@types/node": "^26.1.0", + "@types/node": "^26.1.1", "@types/react": "^19.2.17", "@types/react-dom": "^19.2.3", "@vitejs/plugin-react": "^6.0.3", "css-loader": "^7.1.4", "deep-sort-object": "^1.0.2", - "gettext-parser": "^9.0.2", + "gettext-parser": "^9.1.1", "mini-css-extract-plugin": "^2.10.2", "sass": "^1.101.0", "sass-loader": "^17.0.0", "style-loader": "^4.0.0", - "typescript": "^6.0.3", - "ultracite": "^7.9.2", + "typescript": "^7.0.2", + "ultracite": "^7.9.3", "update-browserslist-db": "^1.2.3", - "vite": "^8.1.3", + "vite": "^8.1.4", "vite-plugin-dts": "^5.0.3" } } \ No newline at end of file diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 3fbfb93..9538ab1 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -4,3 +4,5 @@ allowBuilds: esbuild: true minimumReleaseAgeExclude: - ultracite@7.9.2 + - lucide-react@1.24.0 + - vite@8.1.4 diff --git a/tsconfig.json b/tsconfig.json index b5c1220..f13794e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,10 +9,10 @@ "allowJs": false, "allowSyntheticDefaultImports": true, "alwaysStrict": true, - "baseUrl": ".", + // "baseUrl": ".", "declaration": true, "diagnostics": true, - "downlevelIteration": true, + // "downlevelIteration": true, "emitBOM": false, "emitDecoratorMetadata": true, "esModuleInterop": true, @@ -25,8 +25,8 @@ "ESNext", "DOM" ], - "module": "ESNext", - "moduleResolution": "node", + "module": "nodenext", + "moduleResolution": "nodenext", "newLine": "LF", "noEmit": true, "noEmitOnError": true,