Skip to content

feat(json): add JSON generators - #1079

Open
avivkeller wants to merge 1 commit into
mainfrom
json-generators
Open

avivkeller wants to merge 1 commit into
mainfrom
json-generators

feat(json): add JSON generators

a00a55a
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Sep 21, 2026 in 0s

91.37% (target 80.00%)

View this Pull Request on Codecov

91.37% (target 80.00%)

Details

Codecov Report

❌ Patch coverage is 96.71287% with 83 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.37%. Comparing base (2611469) to head (a00a55a).

Files with missing lines Patch % Lines
packages/core/src/generators/json/generate.mjs 38.46% 40 Missing ⚠️
www/doc-kit.config.mjs 0.00% 14 Missing ⚠️
packages/react/src/jsx-ast/utils/buildContent.mjs 33.33% 6 Missing ⚠️
...ckages/core/src/generators/json/utils/document.mjs 91.37% 4 Missing and 1 partial ⚠️
scripts/generate-json-types.mjs 90.19% 5 Missing ⚠️
packages/core/src/generators/json-all/generate.mjs 91.42% 3 Missing ⚠️
...kages/core/src/generators/json/utils/signature.mjs 98.91% 1 Missing and 1 partial ⚠️
...kages/core/src/generators/json-simple/generate.mjs 50.00% 1 Missing ⚠️
...kages/core/src/generators/json/utils/lifecycle.mjs 98.36% 1 Missing ⚠️
...ckages/core/src/generators/json/utils/markdown.mjs 98.24% 0 Missing and 1 partial ⚠️
... and 5 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1079      +/-   ##
==========================================
+ Coverage   90.77%   91.37%   +0.60%     
==========================================
  Files         221      249      +28     
  Lines       21267    23255    +1988     
  Branches     2003     2244     +241     
==========================================
+ Hits        19305    21250    +1945     
- Misses       1956     1996      +40     
- Partials        6        9       +3     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.