-
Notifications
You must be signed in to change notification settings - Fork 9
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
Validate showcase entries data format #121
Conversation
✅ Deploy Preview for openfisca-org ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
Haha, of course that was not true. This should be fixed now. |
Several currently failing tests should pass after a rebase on #118, since this changeset checks for metadata that will be added in there 🙂 |
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.
Great improvements! (and this one is very well catched ^^).
With `npx format-package`
Missing data is set to a default to enable marking the metadata as mandatory
This changeset enables automatic validation, locally and in CI, of showcase entries. Combined with #110, it will be an important asset in ensuring quality and trust in the contributed data, enabling faster review of contributions and sparing maintainers with manual checks.
Some features (top-level await) used for testing needed a switch to the
module
type. This should not have any consequence beyond cosmetic changes.I also used this PR to improve the readability of the
package.json
file in 676e03c and b9d8ed4. This is tangent to this changeset, so please let me know if you'd prefer me to split this PR in two to ease review 🙂