Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: upgrade TypeScript to 6.0.2

memoclaw6a03917f6e02
diff --git a/web/package.json b/web/package.json
index fdb5287c7..561114057 100644
--- a/web/package.json
+++ b/web/package.json
@@ -91,7 +91,7 @@
"long": "^5.3.2",
"terser": "^5.46.1",
"tw-animate-css": "^1.4.0",
- "typescript": "^5.9.3",
+ "typescript": "^6.0.2",
"vite": "^7.2.4"
},
"pnpm": {
diff --git a/web/pnpm-lock.yaml b/web/pnpm-lock.yaml
index cdab6ac8a..39a13a1f3 100644
--- a/web/pnpm-lock.yaml
+++ b/web/pnpm-lock.yaml
@@ -85,7 +85,7 @@ importers:
version: 11.11.1
i18next:
specifier: ^25.8.18
- version: 25.8.18([email protected])
+ version: 25.8.18([email protected])
katex:
specifier: ^0.16.38
version: 0.16.38
@@ -127,7 +127,7 @@ importers:
react-i18next:
specifier: ^15.7.4
react-leaflet:
specifier: ^4.2.1
@@ -238,8 +238,8 @@ importers:
specifier: ^1.4.0
version: 1.4.0
typescript:
- specifier: ^5.9.3
- version: 5.9.3
+ specifier: ^6.0.2
+ version: 6.0.2
vite:
specifier: ^7.2.4
@@ -2770,8 +2770,8 @@ packages:
resolution: {integrity: sha512-7bziOlRqH0hJx80h/3mbicLW7o8qLsH5+RaLR2t+OHM3D0JlWGODQKQ4cxbK7WlvmUxpcj6Kgu6EKqjrGFe3QQ==}
- resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==}
+ resolution: {integrity: sha512-bGdAIrZ0wiGDo5l8c++HWtbaNCWTS4UTv7RaTH/ThVIgjkveJt83m74bBHMJkuCbslY8ixgLBVZJIOiQlQTjfQ==}
engines: {node: '>=14.17'}
hasBin: true
@@ -4694,11 +4694,11 @@ snapshots:
dependencies:
'@babel/runtime': 7.28.6
optionalDependencies:
- typescript: 5.9.3
+ typescript: 6.0.2
dependencies:
@@ -5369,15 +5369,15 @@ snapshots:
react: 18.3.1
react-dom: 18.3.1([email protected])
dependencies:
'@babel/runtime': 7.28.4
html-parse-stringify: 3.0.1
- i18next: 25.8.18([email protected])
+ i18next: 25.8.18([email protected])
react: 18.3.1
optionalDependencies:
react-dom: 18.3.1([email protected])
- typescript: 5.9.3
+ typescript: 6.0.2
@@ -5711,7 +5711,7 @@ snapshots:
diff --git a/web/tsconfig.json b/web/tsconfig.json
index 44b35c12d..6dcf3c2cb 100644
--- a/web/tsconfig.json
+++ b/web/tsconfig.json
@@ -5,14 +5,13 @@
"types": ["vite/client"],
"allowJs": false,
"skipLibCheck": false,
- "esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"forceConsistentCasingInFileNames": true,
"module": "ESNext",
- "moduleResolution": "Node",
+ "moduleResolution": "Bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,