@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 +4 -4
- package/dist/cli.js +733 -0
- package/dist/cli.js.map +1 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +155 -19
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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 **
|
|
87
|
-
|
|
88
|
-
|
|
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
|