connorjs / css-typed

TypeScript declaration generator for CSS files
https://npmjs.com/package/css-typed
MIT License
4 stars 1 forks source link

✨ Support configuration file #28

Closed connorjs closed 1 month ago

connorjs commented 1 month ago

Adds support for specifying options via a configuration file instead of command line arguments. Uses lilconfig and js-yaml under the hood.

Before After Diff
packed 4.4 kB 5.5 kB +25%
unpacked 9.5 kB 12.6 kB +33%

The increase in download size brings the package back to pre-bundling size. Note: This includes increased README documentation size.

dist/main.js: 3.2kb

Improves pipeline tests with bash unofficial strict mode, which fixes potential for false positives. Removes -latest from OS variable in test matrix.

+semver:minor

connorjs commented 1 month ago

Contributes to closing #26