Closed angeloashmore closed 11 months ago
All modified lines are covered by tests :white_check_mark:
Comparison is base (
b43557d
) 99.96% compared to head (f63f65e
) 99.97%.:exclamation: Current head f63f65e differs from pull request most recent head f166735. Consider uploading reports for the commit f166735 to get more accurate results
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Types of changes
Description
This PR adds a new
@prismicio/client/richtext
entry.It ports all of
@prismicio/richtext
to@prismicio/client
as an isolated entry. An isolated entry was selected over exporting it adjacent to all other helpers to minimize accidental usage; rich text helpers are low-level functions to be used primarily in high-level framework SDKs, like@prismicio/react
and@prismicio/vue
.@prismicio/richtext
will be deprecated once this PR is published. All packages dependent on@prismicio/richtext
should be upgraded to@prismicio/client/richtext
.For more details behind this PR's motivation, see this thread: https://github.com/prismicio/prismic-richtext/pull/63#discussion_r1296975156
Migration guide
Update to the latest version of
@prismicio/client
:Replace all
@prismicio/richtext
imports with@prismicio/client/richtext
:Uninstall
@prismicio/richtext
:Checklist:
🦕