Files
webstudio/packages/cli/src
Oleg Isonen 7767d281f3 fix: report missing JSON prop values during publish (#6506)
## What failed
The publish sync for build `41424aaa-6fdd-41b6-98cb-f444ba429654` fails
because `build.props[95]` is a JSON prop with no `value` field. The
failure was reproduced with the Webstudio CLI.

## Fix
The editor already stores `null` when a JSON binding is reset. For
previously saved malformed builds, the CLI now detects JSON props with
no value and reports the component label and prop name before schema
parsing fails. The user can correct the saved prop in the editor and
publish again; the CLI no longer silently rewrites the data.

## Verification
- HTTP client regression test verifies the malformed prop is identified
with its instance label and component.
- CLI sync test verifies the user-facing publish diagnostic.
- HTTP client and CLI typechecks pass.
- HTTP client tests pass (45 tests); CLI sync tests pass (17 tests).
- Oxlint passes for the changed files.
2026-10-06 00:40:21 +02:00
..
2023-09-06 21:43:29 +03:00
2026-07-12 11:27:58 +02:00
2026-07-12 11:27:58 +02:00