dotcom-rendering
dotcom-rendering copied to clipboard
Bump `@guardian/source` library from v3 to v4
What does this change?
Bumps @guardian/source
library from v3 to v4
-
[email protected]
- https://github.com/guardian/csnx/commit/dc790482f6a822dfa569dff781a4f35c2f073c24: Adds Guardian Headline 64px typography presets and removes Guardian Headline 70px presets.
headlineBold64 headlineLight64 headlineLightItalic64 headlineMedium64 headlineMediumItalic64
- https://github.com/guardian/csnx/commit/490384d3696f99f64741428377f3b9dedd11b1f5: Now has a peer dependency of @emotion/react@^11.11.3 (from ^11.11.1).
Fixes conflicting types between Emotion's deps, as outlined in https://github.com/emotion-js/emotion/pull/3141.
Why?
We are several major versions behind in DCR and so are unable to use newer source features until we get up to date
This PR is a re-implementation of https://github.com/guardian/dotcom-rendering/pull/12063 to break it down into smaller chunks for review