es-tooling / ecosystem-cleanup

A place to keep track of ongoing efforts to clean up the JS ecosystem
393 stars 2 forks source link

Modernize `git-log-parser` #59

Open AbhiPrasad opened 4 months ago

AbhiPrasad commented 4 months ago

From examining semantic-release, I found that git-log-parser is a good opportunity for us to modernize.

https://npmgraph.js.org/?q=git-log-parser

Primarily it brings in traverse, which I think it doesn't need to, but there is also an opportunity to ESMify it and rely more on built-in Node APIs.

1.1 mil weekly downloads - great impact radius.

valadaptive commented 4 months ago

I've created https://github.com/bendrucker/git-log-parser/pull/7 which removes traverse. Modernizing it further will be a breaking change, but I think semantic-release is the only major package that depends on it.

AbhiPrasad commented 4 months ago

@valadaptive your changed updated semantic-release from:

110 MB / 493 dependencies

to

94 MB / 427 deps

still lot's to go, but amazing work!!!