Live data from Hacker News

Starting a TypeScript Project in 2021

metachris.com

1–10 of 190 posts

Re: Starting a TypeScript Project in 2021

#6
post #2

Nice article, you could also just use https://github.com/formium/tsdx

I just tried out tsdx. The node_modules folder took ~180MB of space in a fresh project. I don't know if I am doing or judging things wrong, but this seems to be way too much if someone just wants to write some hobby project exploratory code.

I am probably not the target demographic for tsdx or other bootstrap libraries in the ecosystem but I would love to have something "simple" with good defaults which I can debug if something breaks to make CLI scripts to familiarise myself with the language and ecosystem.

Currently the best option for me is to manually setup the directory structure and build commands which is not fun for mostly simple throwaway code.

golang and rust seem to have things right in this regard though rust build artifacts can get quite big.

Re: Starting a TypeScript Project in 2021

#10

I’m curious about the value of eslint for TypeScript. I’ve not really found myself wanting from the coverage provided by tsc.

To be honest, I was really happy with TSLint. The amount of configuration and scaffolding around ESLint is a big turnoff from me compared to how easy it was to get TSLint going.
Post reply on HN