• Will Chen's avatar
    Speed up TS checks (#2111) · c08b2311
    Will Chen 提交于
    <!-- CURSOR_SUMMARY -->
    > [!NOTE]
    > Improves TypeScript check performance and dev ergonomics.
    > 
    > - Switches `ts:main` from `tsc` to `tsgo` with `--incremental`; adds
    `--incremental` to `ts:workers`
    > - Adds `@typescript/native-preview` (and platform binaries) to dev
    deps/lockfile to support `tsgo`
    > - Moves lint-staged config from `package.json` to
    `lint-staged.config.js` and runs `npm run ts` on staged `*.ts,*.tsx`
    > - Updates TS configs to remove `baseUrl` and add catch‑all `paths`
    mapping (`"*": ["./*"]`) across `tsconfig*.json`
    > 
    > <sup>Written by [Cursor
    Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
    d25edc6782daf89b40d7c45c3ac25e6ad5bf5ee5. This will update automatically
    on new commits. Configure
    [here](https://cursor.com/dashboard?tab=bugbot).</sup>
    <!-- /CURSOR_SUMMARY -->
    c08b2311
lint-staged.config.js 194 Bytes