mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-30 00:29:46 +08:00
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:
+2
-2
@@ -40,9 +40,9 @@ yarn affine init
|
||||
|
||||
## Tricks
|
||||
|
||||
### Define scripts to run a .ts files without `--loader ts-node/esm/transpile-only`
|
||||
### Define scripts to run a .ts files without manually wiring a TypeScript loader
|
||||
|
||||
`affine run` will automatically inject `ts-node`'s transpile service(swc used) for your scripts
|
||||
`affine run` will automatically inject `tsx` for your scripts
|
||||
|
||||
```json
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user