-
-
Notifications
You must be signed in to change notification settings - Fork 1
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: support more stencil.yaml paths, generate JSON schema #84
feat: support more stencil.yaml paths, generate JSON schema #84
Conversation
We now generate JSON schema files from the Go types directly for `manifest.yaml` and `stencil.yaml`. This allows us to be able to start validating the configuration for `stencil` in editors and provide a better user experience there. Eventually, this can cascade into other schemas being supported. I also added support for `.stencil.yaml` so we can match other configuration file formats and keep it hidden (which we opt to do here now).
Deploying stencil with Cloudflare Pages
|
Codecov ReportAll modified and coverable lines are covered by tests ✅ 📢 Thoughts on this report? Let us know! |
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.
general thing is approved, but as i mentioned offline, i don't agree with having a hidden .stencil.yaml file. it's not a hill i'll die on, i just won't use it for any projects here or at my company.
We now generate JSON schema files from the Go types directly for
manifest.yaml
andstencil.yaml
. This allows us to be able to startvalidating the configuration for
stencil
in editors and provide abetter user experience there. Eventually, this can cascade into other
schemas being supported.
I also added support for
.stencil.yaml
so we can match otherconfiguration file formats and keep it hidden (which we opt to do here
now).