A risograph print in pink and blue: a small moving van with its back doors open, half loaded with cardboard boxes, a hand trolley and more boxes waiting beside it.

Move to TypeScript box by box.

Haul types one module at a time, runs your tests, and opens a small pull request for a person to review. Main keeps shipping the whole way.

Packs one module

Types come from how your code is called, not from guesses.

Checks nothing broke

Your own tests decide. The compiled output has to match main, byte for byte.

Opens a PR you can read

One box per pull request, routed to whoever owns the folder.

Runs inside the repo and CI you already have.

Why box by box

Big-bang rewrites stall. The branch drifts, the freeze slips from March to June to “after the launch”, and nobody can review a 900-file diff. Haul moves one module at a time, checks it with your tests, and leaves main green every night.

Three trips, no freeze. Survey the house, move it a box a night, then lock the old door.

  1. Trip 1

    Survey the house

    npx haul survey reads your import graph and packs modules into boxes, leaves first, so nothing gets typed before the code it depends on.

  2. Trip 2

    Move a box a night

    Haul runs as a step in your CI on the schedule you set. Each box is one pull request. A box that fails a test stays where it was, with a note.

  3. Trip 3

    Lock the old door

    When the last box is in, one final pull request turns off allowJs and turns on strict. No JavaScript can sneak back in.

A sample pull request

Delivered to your door. One box, one pull request, read in minutes.

  • Types inferred from real call sites, never invented.
  • Leftover any listed with a reason, not hidden.
  • One folder per PR. Your CODEOWNERS file picks the reviewer.
  • No runtime changes. If the emitted JavaScript differs, it doesn’t ship.

When a test fails

Your tests are the inspector. Fail one, and the box stays home.

  • Nothing half-typed ever reaches main.
  • Haul never edits a test without asking you first.
  • The note and a suggested fix go into MOVING.md.

Know what’s moved. Every module has an address, kept in MOVING.md.

Example repo: acme/storefront

Moved

247

  • src/utils/
  • src/money/
  • src/i18n/
  • src/api/client/
  • …16 more boxes

In the van

14

  • src/billing/ #418 approved
  • src/cart/ #421 tests running

At the old house

151

  • src/geo/ held, see note
  • src/admin/
  • src/legacy/
  • …13 more boxes

The moving contract

No customers to quote yet. So here is what we promise instead.

  1. No runtime changes

    Haul adds types and renames files. If the compiled JavaScript differs from main, the box doesn’t ship.

  2. No hidden any

    Every any and @ts-expect-error Haul leaves is listed in MOVING.md with the reason.

  3. Your code stays in your CI

    Haul runs as a step in your pipeline. The open-source CLI runs on your laptop.

  4. Stop on any night

    Cancel and you keep merged boxes and untouched JavaScript. Never a half-typed module.

Carry it yourself, or let us bring the van.

Same engine in both. Team adds the nightly runs, the board and the triage.

Open sourceMIT

Carry it yourself

$0

free, forever

Fromsrc/**/*.jsTosrc/**/*.ts
  • haul survey, pack and check on your machine
  • MOVING.md manifest and notes
  • You open the pull requests
Install the CLI
TeamBilled monthly

We bring the van

$40

per engineer, per month

Fromyour CI, nightlyToa PR per box
  • Nightly moves in your CI, at the pace you set
  • The move board, shared with the team
  • Reviewers picked from CODEOWNERS
  • Held boxes triaged with a suggested fix
Start a migration

Before the move.

Moving a monorepo?

Tell us the size and the test runner. An engineer replies, usually within a working day.

moves@haul.example
Does Haul change how my code runs?

No. It adds type annotations, type files and renames. Every box is compiled and compared with main; if the emitted JavaScript differs, the box is held.

Where do the types come from?

From the TypeScript compiler’s inference plus your call sites, tests and JSDoc. When a value genuinely has several shapes, Haul writes any and logs it instead of guessing.

What happens when a test fails?

The box stays as JavaScript, nothing is merged, and the failure and a suggested fix go into MOVING.md. The next night Haul moves on to the next box.

Does our code leave our infrastructure?

No. Team runs as a step inside your own CI runners; the open-source CLI runs locally. The hosted board only receives module paths and status.

Can we pause or set the pace?

Yes. Set how many boxes a night, which folders to skip, and which days to stay quiet, such as release weeks.

Start with one box.

Survey your repo in about a minute. Nothing changes until you merge a pull request.

Start a migration npx haul survey