Post

What's the minimum feasible number transitive dependencies for maintaining and publishing a small JavaScript library with types? Assume: unit tests, bundle .ts sources to .js and .d.ts, and maybe shared lint-and-format settings.

Currently I'm using: biome, ava, c8, microbundle, and typescript. But even that short list gets a pretty regular stream of small updates and dependabot 'vulnerabilities' requiring updates across various repositories.

Vite+ (source-available, free for OSS) would presumably do all of that in one dependency? Though I haven't found Vite (have not tried Vite+) to be as good for bundling libraries as for building applications, so far.

0 reposts1 like