prismicio / prismic-ts-codegen

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

feat!: update `@prismicio/types` to `v0.2.0` #23

Closed angeloashmore closed 2 years ago

angeloashmore commented 2 years ago

Types of changes

Description

This PR upgrades @prismicio/types to v0.2.0.

Important: Developers using prismic-ts-codegen should also upgrade @prismicio/types to v0.2.0 in their projects.

Checklist:

🦁

codecov-commenter commented 2 years ago

Codecov Report

Merging #23 (0f49924) into main (97ecabd) will decrease coverage by 4.80%. The diff coverage is 73.43%.

@@            Coverage Diff             @@
##             main      #23      +/-   ##
==========================================
- Coverage   95.31%   90.50%   -4.81%     
==========================================
  Files          20       21       +1     
  Lines         320      337      +17     
  Branches       67       82      +15     
==========================================
  Hits          305      305              
- Misses          2        4       +2     
- Partials       13       28      +15     
Impacted Files Coverage Δ
src/constants.ts 100.00% <ø> (ø)
src/lib/getHumanReadableModelName.ts 66.66% <37.50%> (-33.34%) :arrow_down:
src/lib/getHumanReadableFieldType.ts 81.25% <40.00%> (-18.75%) :arrow_down:
src/lib/addInterfacePropertiesForFields.ts 86.91% <74.28%> (-7.09%) :arrow_down:
src/lib/addTypeAliasForSharedSlice.ts 100.00% <100.00%> (ø)
src/lib/buildFieldDocs.ts 100.00% <100.00%> (ø)
src/lib/getFieldDocumentationURL.ts 100.00% <100.00%> (ø)
src/lib/hasOwnProperty.ts 100.00% <100.00%> (ø)
src/lib/isCustomTypeModelField.ts 100.00% <100.00%> (ø)
src/lib/isCustomTypeModelSlice.ts 100.00% <100.00%> (ø)
... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 97ecabd...0f49924. Read the comment docs.

github-actions[bot] commented 2 years ago

size-limit report 📦

Path Size
dist/index.js 1.07 MB (+0.02% 🔺)
dist/index.cjs 1.08 MB (+0.01% 🔺)