Skip to content

build(deps-dev): migrate from ts-node to tsx#344

Draft
caugner wants to merge 1 commit into
mainfrom
tsx
Draft

build(deps-dev): migrate from ts-node to tsx#344
caugner wants to merge 1 commit into
mainfrom
tsx

Conversation

@caugner

@caugner caugner commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Description

Replace ts-node with tsx in the api package for running cli.ts via the generate script.

Motivation

Make it easier to maintain the dev toolchain: tsx is actively maintained and starts faster than ts-node, which is effectively in maintenance mode.

Additional details

  • api/package.json: generate script now runs tsx cli.ts; ts-node ^10.9.1 devDependency replaced with tsx ^4.23.1.
  • tsx handles the extensionless ./index import and the ./package.json JSON import without extra configuration, so no source changes were needed.
  • Verified with npm test (runs npm run generate && rm -r out), which completes without errors.

Related issues and pull requests

Replace `ts-node` with `tsx` for running `cli.ts` via the `generate`
script. `tsx` is actively maintained and starts faster; it handles the
extensionless `./index` import and the `./package.json` JSON import
without extra configuration.
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.

2 participants