prismatic-io / spectral

Prismatic's typescript library for custom components
https://prismatic.io/docs/spectral/custom-component-library
35 stars 2 forks source link

Component manifests - Escape input strings #265

Closed pattra closed 1 month ago

pattra commented 1 month ago

This PR addresses an issue where including /* doc blocks */ or `backticked` values in input fields would cause the component manifest generator to fail.

pattra commented 1 month ago

@jasoncomes Thanks for catching this. Just updated the regex to look for $ as well; then ran component-manifest on code and mysql and successfully built both manifests. Ready for re-review!