Skip to content

Conversation

@nikodembernat
Copy link

@nikodembernat nikodembernat commented Apr 8, 2025

Description

Added an alias for same-package fonts to support running golden tests in packages (e.g. design systems).

Fixes #142

The specified package:yaml lower version constraint is equal to package:yaml pinned in Flutter 3.16 (min. supported version) to avoid version conflicts.

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

@nikodembernat nikodembernat changed the title Add an alias for same-package fonts feat: Add an alias for same-package fonts Apr 8, 2025
@nikodembernat
Copy link
Author

Not a big fan of reading package name from pubspec.yaml, if you have a better solution then I'm open to suggestions

@jeroen-meijer
Copy link
Collaborator

@btrautmann Haven't touched our package or used it as intensely as you guys probably have. Can you verify the validity of the business logic here?

Code itself LGTM.

@nikodembernat
Copy link
Author

nikodembernat commented Apr 28, 2025

From what I see the new goldens are failing since they don't exist, someone with necessary permissions has to regenerate them if I understand the workflow correctly

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.

fix: snapshots unable to load fonts from same package

2 participants