Skip to content

refactor: extract core utilities in preparation for fontless #627

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 14, 2025

Conversation

danielroe
Copy link
Member

🔗 Linked issue

📚 Description

this extracts quite a few key utilities into a folder pending extraction into a separate library - fontless - destined for https://github.com/unjs/fontaine.

this is based on the work of Damián, Jack + Giorgio in https://github.com/QwikDev/fontless ❤️

Copy link

cloudflare-workers-and-pages bot commented May 14, 2025

Deploying fonts with  Cloudflare Pages  Cloudflare Pages

Latest commit: fdb09df
Status: ✅  Deploy successful!
Preview URL: https://556ca7a2.fonts-dsw.pages.dev
Branch Preview URL: https://refactor-fontless.fonts-dsw.pages.dev

View logs

Copy link

pkg-pr-new bot commented May 14, 2025

Open in StackBlitz

npm i https://pkg.pr.new/@nuxt/fonts@627

commit: fdb09df

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 84.90566% with 8 lines in your changes missing coverage. Please review.

Project coverage is 78.94%. Comparing base (5948182) to head (fdb09df).

Files with missing lines Patch % Lines
src/assets.ts 66.66% 5 Missing and 1 partial ⚠️
src/devtools.ts 0.00% 1 Missing ⚠️
src/providers/local.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #627      +/-   ##
==========================================
- Coverage   83.79%   78.94%   -4.85%     
==========================================
  Files          13       11       -2     
  Lines        1080      570     -510     
  Branches      305      118     -187     
==========================================
- Hits          905      450     -455     
+ Misses        166      116      -50     
+ Partials        9        4       -5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@danielroe danielroe merged commit 0c04238 into main May 14, 2025
6 checks passed
@danielroe danielroe deleted the refactor/fontless branch May 14, 2025 21:50
@github-actions github-actions bot mentioned this pull request May 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants