feat: bump typescript (#14507)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Chores**
  * Upgraded TypeScript toolchain to v5.9.3 across packages and tooling.
* Removed legacy ts-node and migrated developer tooling to newer
runtimes (tsx/SWC) where applicable.
* **Documentation**
* Updated developer CLI docs and runtime behavior notes to reflect the
new loader/runtime for running TypeScript files; no changes to public
APIs or end-user behavior.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
DarkSky
2026-02-24 13:22:46 +08:00
committed by GitHub
parent c2c7dde06c
commit 046e126054
48 changed files with 371 additions and 402 deletions

View File

@@ -40,6 +40,6 @@
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.2",
"cross-env": "^10.1.0",
"typescript": "^5.7.2"
"typescript": "^5.9.3"
}
}

View File

@@ -34,6 +34,6 @@
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.2",
"cross-env": "^10.1.0",
"typescript": "^5.7.2"
"typescript": "^5.9.3"
}
}

View File

@@ -72,7 +72,7 @@
"rxjs": "^7.8.2",
"semver": "^7.7.3",
"tree-kill": "^1.2.2",
"ts-node": "^10.9.2",
"typescript": "^5.9.3",
"uuid": "^13.0.0",
"vitest": "^3.2.4",
"zod": "^3.25.76"
@@ -94,8 +94,5 @@
]
}
]
},
"peerDependencies": {
"ts-node": "*"
}
}

View File

@@ -49,6 +49,6 @@
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.2",
"cross-env": "^10.1.0",
"typescript": "^5.7.2"
"typescript": "^5.9.3"
}
}

View File

@@ -13,7 +13,7 @@
"@capacitor/core": "^7.0.0"
},
"devDependencies": {
"typescript": "^5.7.2",
"typescript": "^5.9.3",
"vitest": "^3.2.4"
}
}

View File

@@ -27,6 +27,6 @@
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.2",
"cross-env": "^10.1.0",
"typescript": "^5.7.2"
"typescript": "^5.9.3"
}
}

View File

@@ -26,6 +26,6 @@
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.2",
"cross-env": "^10.1.0",
"typescript": "^5.7.2"
"typescript": "^5.9.3"
}
}

View File

@@ -83,7 +83,7 @@
"@types/react-dom": "^19.0.2",
"@vanilla-extract/css": "^1.17.0",
"storybook": "^10.1.5",
"typescript": "^5.7.2",
"typescript": "^5.9.3",
"unplugin-swc": "^1.5.9",
"vite": "^7.2.7",
"vitest": "^3.2.4"

View File

@@ -5,7 +5,7 @@
"version": "0.26.3",
"scripts": {
"dev:web": "vite",
"dev:server": "tsx --env-file=.env --watch server/main.ts"
"dev:server": "node --env-file-if-exists=.env --watch server/main.ts"
},
"dependencies": {
"@affine/native": "workspace:*",
@@ -30,7 +30,6 @@
"socket.io-client": "^4.8.3",
"swr": "^2.3.7",
"tailwindcss": "^4.1.17",
"tsx": "^4.19.2",
"vite": "^7.2.7"
},
"devDependencies": {

View File

@@ -30,8 +30,7 @@
"@types/node": "^22.0.0",
"ava": "^6.4.1",
"rxjs": "^7.8.2",
"ts-node": "^10.9.2",
"typescript": "^5.7.2"
"typescript": "^5.9.3"
},
"engines": {
"node": ">= 10"