github.com/AlDanial/cloc v 1.98 T=0.01 s (1216.9 files/s, 67572.7 lines/s)
Language | files | blank | comment | code |
---|---|---|---|---|
JSON | 5 | 0 | 0 | 8237 |
JavaScript | 19 | 179 | 31 | 791 |
Markdown | 2 | 71 | 0 | 221 |
INI | 1 | 4 | 0 | 10 |
-------- | -------- | -------- | -------- | -------- |
SUM: | 27 | 254 | 31 | 9259 |
$ du -sh lib/
65K lib/
31 vulnerabilities (16 moderate, 13 high, 2 critical)
github.com/AlDanial/cloc v 1.98 T=0.44 s (54.0 files/s, 29070.7 lines/s)
Language | files | blank | comment | code |
---|---|---|---|---|
JSON | 4 | 0 | 0 | 11386 |
JavaScript | 17 | 183 | 36 | 1003 |
Markdown | 2 | 71 | 0 | 221 |
INI | 1 | 4 | 0 | 10 |
-------- | -------- | -------- | -------- | -------- |
SUM: | 24 | 258 | 36 | 12620 |
$ du -sh lib/
62K lib/
5 moderate severity vulnerabilities
Even though I added 300 lines of JS according to cloc, if you take out the lines added by my reducing printWidth to 80 and updating eslint/prettier to modern versions, it's neglegible. I also made a neglegible reduction in bundle size despite adding functionality.
The codebase is cleaner and simpler now, with fewer dependencies. yargs has not navigated the ESM transition well, so commander is a good replacement imo. Rollup will have a much longer life than Gulp at this point. The eslint config of the previous repo was years out of date. There is also a new feature to choose the latest semver-stable release instead of the latest version when making each upgrade choice.