prismicio / prismic-ts-codegen

A Prismic model-to-TypeScript-type generator.
Apache License 2.0
18 stars 6 forks source link

chore: update package infrastructure #41

Closed angeloashmore closed 1 year ago

angeloashmore commented 1 year ago

Types of changes

Description

This PR updates the package's infrastructure, including:

Checklist:

codecov-commenter commented 1 year ago

Codecov Report

Merging #41 (2fd14f7) into main (0deb6a6) will increase coverage by 8.02%. The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##             main      #41      +/-   ##
==========================================
+ Coverage   90.72%   98.75%   +8.02%     
==========================================
  Files          22       22              
  Lines         345     1601    +1256     
  Branches       83      135      +52     
==========================================
+ Hits          313     1581    +1268     
- Misses          4       20      +16     
+ Partials       28        0      -28     
Impacted Files Coverage Δ
src/generateTypes.ts 100.00% <100.00%> (+2.63%) :arrow_up:
src/lib/addInterfacePropertiesForFields.ts 98.65% <100.00%> (+11.86%) :arrow_up:
src/lib/addTypeAliasForCustomType.ts 100.00% <100.00%> (ø)
src/lib/addTypeAliasForSharedSlice.ts 100.00% <100.00%> (ø)
src/lib/buildFieldDocs.ts 100.00% <100.00%> (ø)
src/lib/getAPIIDPath.ts 100.00% <100.00%> (+7.14%) :arrow_up:
src/lib/getHumanReadableFieldPath.ts 91.42% <100.00%> (+13.65%) :arrow_up:
src/lib/getSourceFileText.ts 100.00% <100.00%> (ø)

... and 14 files with indirect coverage changes