@bettercms-ai/codegen 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -83,10 +83,10 @@ import { bcms } from "./bettercms.bindings.generated";
83
83
  </article>
84
84
  ```
85
85
 
86
- The attributes are emitted **only** when the site is built with `BCMS_ANNOTATE` set (preview
87
- builds); a normal production build ships zero extra attributes (`bcmsField` returns `{}`). Same
88
- generated file for both no separate mode. Bindings follow the editor's one-level path grammar
89
- (`field`, `field[i]`, `field[i].sub`); non-repeatable zones and deeper nesting aren't
86
+ The attributes are emitted on **every** build two inert `data-*` attributes, the same way
87
+ Storyblok emits `data-blok-c` and Sanity emits `data-sanity` so a site is editable no matter
88
+ which pipeline built it. No build flag, no separate mode. Bindings follow the editor's one-level
89
+ path grammar (`field`, `field[i]`, `field[i].sub`); non-repeatable zones and deeper nesting aren't
90
90
  index-addressable yet, so they're omitted rather than emitted as paths that can't bind.
91
91
 
92
92
  ## Library API