Hasn't Node been able to run TypeScript for a couple of versions? Why's the transpiler needed?
This looks to support both the built-in stripping as well as actual TypeScript.
61–70 of 85 posts
Hasn't Node been able to run TypeScript for a couple of versions? Why's the transpiler needed?
This looks to support both the built-in stripping as well as actual TypeScript.
Very smart. You can't lose all your customers for vibe-coding a migration to Rust if you are already written in Rust ;)
P.S. The entire Bun’s anti-AI hysteria makes me very sad, sometimes it feels like a directed campaign
Hasn't Node been able to run TypeScript for a couple of versions? Why's the transpiler needed?
Node's built-in Typescript support is just for type stripping. That works for a massive amount of TypeScript syntax, but not all of it. It also doesn't bother actually checking the types, just removing them so it runs. You also lose things like tsconfig. This looks to support both the built-in stripping as well as actual TypeScript.
I didn't even click on the link. I just came to give the author a hat-tip on the project name. Well played.
One suggestion, for package management you should just wrap pnpm, my desire to move to anything else is nil.
This looks fantastic. One suggestion, for package management you should just wrap pnpm, my desire to move to anything else is nil.
You can also move over to Nub from pnpm incrementally if you want the performance or security wins. It has complete pnpm compatibility: flag for flag identical CLI, reads and writes from your pnpm-lock.yaml, and respects your expecting configs completely. Nub and pnpm can be used simultaneously by different teammates without lockfile churn. This is a key design goal, and its what I mean by "incrementally adoptable". But yeah `nub install` will almost certainly work in your repo out of the box. (File an issue otherwise.)
https://nubjs.com/docs/install/pnpm
Same is true for npm, yarn, and bun as well. It detects your current package manager (based on package.json#packageManager or lockfile existence) and runs in "compatibility mode" for that specific package manager.
It feels like this is missing something or using a nonnative library as a supplemental addition.