-
Notifications
You must be signed in to change notification settings - Fork 432
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(cli): use @sanity/template-validator
package
#8014
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
New dependencies detected. Learn more about Socket for GitHub ↗︎
|
No changes to documentation |
Component Testing Report Updated Dec 13, 2024 11:51 AM (UTC) ❌ Failed Tests (6) -- expand for details
|
⚡️ Editor Performance ReportUpdated Fri, 13 Dec 2024 11:52:27 GMT
Detailed information🏠 Reference resultThe performance result of
🧪 Experiment resultThe performance result of this branch
📚 Glossary
|
const headers: Record<string, string> = {} | ||
if (bearerToken) { | ||
headers.Authorization = `Bearer ${bearerToken}` | ||
} | ||
|
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.
Just want to verify - this is mostly just a copy/paste across to here? - https://github.com/sanity-io/template-validator/blob/main/src/validator.ts
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.
Yes, correct 👍
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.
Neat!
081f819
to
67cba3d
Compare
Description
@sanity/template-validator
package for validatingyaml
dependencyFixes GRO-3004
What to review
The lock file diff seems very large for some reason. Am I doing something wrong?
Testing
N/A
Notes for release
N/A