-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
fix(plugin-manifest): Allow for all valid WebAppManifest properties #27951
Conversation
…evious unmerged PR
This should be good. I'll handle changing how defaults are handled in another PR so we can get this fix out ASAP. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nais 💜
@@ -47,4 +47,4 @@ | |||
"engines": { | |||
"node": ">=10.13.0" | |||
} | |||
} | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prettier should fix this (you could tune your editor ;) )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(won't show up in discussions but the line ending is missing here)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SO GOOD!!! Thank you so much for digging into this 💯
(ran formatter) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fantastic to me!
This is pending a review from docs before the bot will merge. |
…27951) * bring in complete(albeit outdated) WebAppManifest validation frrom previous unmerged PR * Cleanup Gatsby Plugin Options * update validation to match recent spec changes * update compatible gatsby version * reomve unused service worker object and fix numberic string * lint * add details from suplementry spec * final return * Prettify Co-authored-by: Max Stoiber <contact@mxstbr.com> (cherry picked from commit 88b990a)
Published in |
Description
Current Plugin Options Validator for
gatsby-plugin-manifest
is very incomplete. This PR implements a spec compliant validator.Documentation
I've added a not to docs about validation and the version of the spec it implements.
##TODO:
This is copied form the previous PR...testing and updates are needed.
Update to the latest spec - https://www.w3.org/TR/2020/WD-appmanifest-20201019/
Significant updates can now be made to how the plugin handles defaults, these can be done here or in a new PR.add Docs about feat(gatsby): add opt out flag SKIP_PLUGIN_OPTION_VALIDATION to bypass validation #27885Related Issues
fixes #27927