Unitech / Unitech/pm2

Use tsx instead of ts-node for ts runtime

Open
#5,494 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
43.3k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

Hi, ts-node should not be used to run a ts server due to poor runtime performances caused by the compilation. Could it be possible to consider using tsx instead?

Related issue : #3199

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating PM2's current ts-node runtime integration and read the related issue #3199 for context. Confirm the scope for replacing ts-node with tsx and define done as the TypeScript server running through the proposed runtime with the reported performance concern addressed.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js, typescript
Domain
cli, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.