Skip to content
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

feat(shorebird_cli): add ShorebirdYamlAssetValidator #1907

Merged

Conversation

borjandev
Copy link
Contributor

Description

Includes a validator, doctor, and doctor fix integration for :

flutter:
  assets:
    - shorebird.yaml

Attempts to handle most common, as well as not so common edge cases, includes tests.

Resolves #1888

Screenshot 2024-04-16 at 19 07 35
Screenshot 2024-04-16 at 19 08 02

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

Copy link
Contributor

@felangel felangel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution! I left some comments, let me know what you think.

Copy link
Contributor

@bryanoltman bryanoltman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple minor comments, but otherwise looking good!

Copy link
Contributor

@felangel felangel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks so much for the contribution! 💙

Copy link
Contributor

@felangel felangel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Going to clean up one more test before merging.

@felangel felangel changed the title feat(shorebird_cli): shorebird.yaml validator for pubspec.yaml, integration with doctor and doctor --fix feat(shorebird_cli): add ShorebirdYamlAssetValidator Apr 23, 2024
@felangel felangel enabled auto-merge (squash) April 23, 2024 20:47
@felangel felangel merged commit 5ab5b2c into shorebirdtech:main Apr 23, 2024
9 checks passed
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.

feat: shorebird doctor --fix should fix the pubspec.yaml file
3 participants