feat: support package.json5 and package.yaml#234
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #234 +/- ##
==========================================
+ Coverage 89.40% 91.11% +1.71%
==========================================
Files 5 10 +5
Lines 434 315 -119
Branches 37 72 +35
==========================================
- Hits 388 287 -101
+ Misses 46 28 -18 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Thanks for PR! It would be nice if we could merge them also into one simple util like findPackage(), readPackage(), .. this way users can simply use one standard util to support all possible formats (bun for instance allows jsonc for package.json) |
|
If I understand correctly, merging the existing functions ( |
|
thats why i suggested to use new readPackage (vs current readPackageJSON) — also for new formats we could merge them directly to it to reduce confusion with many exported utils. |
|
I misunderstood you at first, feel free to review now |
package.json5 and package.yaml formats
package.json5 and package.yaml formatspackage.json5 and package.yaml
closes #227 :)