next.js
6357b548 - Bump `@capsizecss/metrics` to 3.4.0 for Geist Google Font (#72746)

Commit
1 year ago
Bump `@capsizecss/metrics` to 3.4.0 for Geist Google Font (#72746) ### Why? `next/font` depends on the Google Fonts metrics from the `@capsizecss/metrics`. Added support for Geist at https://github.com/seek-oss/capsize/pull/217, so we update version. ### How? - Bump `@capsizecss/metrics` to 3.4.0 - Update the test to match the metrics. #### Bonus - Modified the test to use `.toMatchInlineSnapshot` to identify and update future changes more easily. ### RFC The `@capsizecss` team is planning to [automate the updating process](https://github.com/seek-oss/capsize/pull/217#pullrequestreview-2431209858). Should we continue to depend on them or replace them with our custom script to fetch Google Font API (requires API key)? x-ref: https://github.com/vercel/next.js/issues/47115 x-ref: [Twitter Feedback](https://x.com/illyism/status/1855500917589602706)
Author
Parents
Loading