mirror of
https://github.com/penpot/penpot.git
synced 2026-10-29 22:10:34 +00:00
generate-add-new-property now validates the main instances and the variant container. Add a :skip-validation? option to it. generate-make-shapes-variant calls it several times before the new shapes become variants. Validating the container at that point reported :main-instance-not-a-variant on valid data, so it now passes :skip-validation? and will validate once the shapes are variants. Add tests that corrupt a main instance or the container and expect a validation error. Add a test that moves into a variant a component whose name needs more properties, which runs that intermediate path. Register variants-test in the runner so that it also runs on JS. AI-assisted-by: claude-opus-5-5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>