Skip to content

Conversation

ItsHarper
Copy link
Contributor

@ItsHarper ItsHarper commented Aug 14, 2025

Context

Step 3 for #928. View isolated diff and CI results here: ItsHarper#6

At time of writing, the isolated diff has +157, -143 lines added/removed, almost all of which are in the lockfile. As always, I recommend verifying that I did not make any hand-edits.

This change is ready-to-go, but I'm marking it as a draft until #929 has been merged, as it is relatively difficult to review in this context until that happens.

Description

Updates Typescript to the latest version (5.9.2).

Only minimal changes were required to fix the build after the typescript update.

Unfortunately, @types/node releases target specific typescript versions as much as they do node versions, so I updated all the way to the latest version instead of picking one that matches the minimum target node version.

Even just this version bump without any configuration changes makes a repeat build with no changes made take just 1.8 seconds on my machine, compared to 2.4 seconds for #930.

@ItsHarper ItsHarper mentioned this pull request Aug 14, 2025
9 tasks
While jest can run a package and its tests without needing a full build
step, it will use the last-built version of the other packages for its
dependencies, so we're not actually guaranteed to be testing the latest
state unless we build all of a package's local dependencies before we
start testing it.

The `test:watch` scripts have been removed, as a watch mode that tests
without building the dependencies is not reliable.

I don't think any local packages are getting injected, but I added
`syncInjectedDepsAfterScripts` to `pnpm-workspace.yaml` to be safe.

Since we're running tests in parallel, individual tests run slower, so
I had to increase some timeouts.
Replaces `codemod-dev` shell script with a new `cli` pnpm script in
the top-level package
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant