node_monorepo
tsconfig
node_monorepo | tsconfig | |
---|---|---|
2 | 1 | |
1 | 333 | |
- | - | |
4.5 | 4.8 | |
6 months ago | 5 months ago | |
JavaScript | ||
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
node_monorepo
tsconfig
-
Finally, a guide for Node.js and TypeScript and ESM that works
Many people in this thread are rightly complaining that this does not answer the "why does this work". Having a working example is a good start for that though as at least you have a known target and as you change things (and break things), you can see what those options did.
One problem with this guide that makes that trickier is that the tsconfig.json itself imports https://github.com/sindresorhus/tsconfig/blob/5c87dc118e057d... and overrides a bunch of values.
So if you really want to understand what it's doing, you need to get rid of that dependency and inline / merge that config file. That would also add stability to your project as it's one less upstream dependency out of your control (and a big one at that as it controls how you entire project is built!).
What are some alternatives?
bun - Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
esyes - Run your TypeScript files quickly and with more positivity
modglot - UMD-ESM polyglot
prepackage-checks
tsm - TypeScript Module Loader
tsx - ⚡️ TypeScript Execute: Node.js enhanced to run TypeScript & ESM
esno - Alias to `tsx`
template-typescript-monorepo - Template repo with the latest tech working together
documentation-framework - "The Grand Unified Theory of Documentation" (David Laing) - a popular and transformative documentation authoring framework