Oleg Isonen 05ea26f6a6 fix: block publish when JSON prop value is missing (#6507)
## What failed
A JSON prop can be saved without a `value`. The publish runner then
rejects the build, but the Builder was starting the publish request
before its best-effort diagnostics completed, so the user could miss the
cause in the Builder.

## Fix
- Add a pre-publish audit finding for JSON props without a value, linked
to the affected element.
- Block cloud and static publish requests when local publish audit
errors are present, so the Builder shows the diagnostic before any build
starts.
- Keep the CLI diagnostic as a fallback for builds published through
older clients or direct API flows.

## Verification
- Project-build pre-publish audit tests pass (11 tests).
- Project-build and Builder typechecks pass.
- Oxlint passes for the changed files.
2026-10-06 01:48:33 +02:00
2026-07-12 11:27:58 +02:00
2026-09-02 22:25:11 +02:00
2026-02-05 10:25:17 +01:00
2026-03-20 21:09:47 +01:00
…
2026-09-02 22:25:11 +02:00

builder-screenshot

Webstudio is an Open Source Visual Development Platform for developers, designers, and cross-functional teams. You own the data, components, and infrastructure. You can use the hosted version or roll out your own.


Learning Resources

Social Media

License

  • Webstudio core (all functionality in this repository) is free/open-source under AGPL-3.0-or-later.
  • sdk-components-animation package (optional) is proprietary. You must accept the Webstudio, Inc. EULA located in sdk-components-animation/LICENSE before using it.
Languages
TypeScript 98.9%
PLpgSQL 0.5%
CSS 0.3%
Shell 0.2%
JavaScript 0.1%