-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
We’re looking to modernize our TypeScript setup by switching from ts-node (and tsc) to Node.js’s native TypeScript support, as outlined in the official guide:
🔗 https://nodejs.org/en/learn/typescript/run-natively
Goals
- Remove dependency on
ts-nodeandtypescriptas a build step - Use
.tsfiles directly with Node.js runtime - Simplify dev tooling and startup scripts
Tasks
- Remove
ts-node,typescript, and any related dependencies (unless still needed for type-checking or other tooling) - Update
package.jsonscripts to usenode --loader tsxor similar - Refactor imports (e.g., ensure use of file extensions like
.jsif needed) - Ensure compatibility with ESM (if the project uses it)
- Update documentation (
README.md, contributing guides, etc.) - Test dev and prod workflows
References
- [Node.js Native TypeScript Docs](https://nodejs.org/en/learn/typescript/run-natively)
- [tsx loader](https://github.com/esbuild-kit/tsx) (commonly used for fast native support)
Why?
- Native TypeScript support improves cold start performance
- Reduces dependency surface
- Aligns with evolving Node.js ecosystem
If you’re interested in helping with this migration, feel free to comment or open a PR!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed