Skip to content

fix: drop ts-node, which breaks on typescript 7 - #116

Merged
catinspace-au merged 1 commit into
mainfrom
fix/drop-ts-node
Oct 7, 2026
Merged

catinspace-au merged 1 commit into
mainfrom
fix/drop-ts-node

Conversation

@catinspace-au

Copy link
Copy Markdown
Contributor

ts-node crashes on startup whenever the global typescript is 7. TypeScript 7.0, latest on npm since 2026-07-08 and now 7.0.2, removed the compiler API that ts-node calls. ts-node's last release is 10.9.2, from 2023-12-08. tsx (4.23.15, 2026-09-20) runs the same files without that API.

  • developer-typescript installs typescript and tsx only.
  • --tags removals removes the ts-node pnpm global the role used to install, on Linux. It skips a box with no pnpm, and treats "not installed" as nothing to do.
  • Install docs, install.sh help and the updater comments drop ts-node.

Tested in an ubuntu:24.04 container. With ts-node installed as a pnpm global, a removals run removed it and pnpm list -g came back empty. The play's second pass of the same task, which runs because of #92, reported ok. With pnpm removed, the task skipped and the run gave changed=0. hyperi-ci check passes.

Not run: macOS, where removals leave package-manager installs alone by design.

Done when no converge installs ts-node and --tags removals clears the old copy.

TypeScript 7.0 removed the compiler API ts-node calls, so ts-node crashes on start whenever the global typescript is 7 (latest since 2026-07-08). Its last release was 10.9.2 in 2023-12. tsx runs the same files without that API. developer-typescript now installs typescript and tsx only, and --tags removals removes the ts-node pnpm global the role used to install on Linux.
@catinspace-au
catinspace-au merged commit 4db8546 into main Oct 7, 2026
18 checks passed
@catinspace-au
catinspace-au deleted the fix/drop-ts-node branch October 7, 2026 01:29
@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

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