@bettercms-ai/convert 0.18.0 → 0.18.1
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/CHANGELOG.md +9 -0
- package/README.md +4 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @bettercms-ai/convert
|
|
2
2
|
|
|
3
|
+
## 0.18.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 293ebd3: `wireForms` counts a `<form>` whose `data-bcms-form` is the form's id and whose controls post under an expression `name={…}` as already wired, so a component that renders its controls with `{fields.map(…)}` is no longer `FORM_NOT_IN_SOURCE`.
|
|
8
|
+
- 1a1d864: A path whose exact field path is declared on an element rendering its value is `declared`, and no longer goes `AMBIGUOUS_LITERAL` because another path shares the same value (`Home` in the nav and the footer). Every other path resolves as before, and an unmarked occurrence nobody owns still surfaces.
|
|
9
|
+
- da1a08c: The `--xray` measurement counts text under `data-bcms-form-part` (a declared form's label, help, option and submit text) as owned, matching the release pass. The README defines `readsFromCms`.
|
|
10
|
+
- 2f0f92f: `isSourceCandidate` keeps a root `astro.config.*`, the one config the canvas pass reads, so a server-rendered Astro site mounting `<BcmsLive>` gets the `draft-route` lane without a duplicate evidence file.
|
|
11
|
+
|
|
3
12
|
## 0.18.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -266,6 +266,10 @@ through the committed helper. Those land in `alreadyDeclared` with a receipt row
|
|
|
266
266
|
"kind": "text", "file": "src/pages/index.astro", "readsFromCms": false }]
|
|
267
267
|
```
|
|
268
268
|
|
|
269
|
+
`readsFromCms` is `true` only when the declaring element reads its value through this package's
|
|
270
|
+
helper (`bcms(…)` and friends); `false` is not proof the site does not read from the CMS — a
|
|
271
|
+
snapshot read through the project's own helper is `false` too.
|
|
272
|
+
|
|
269
273
|
The evidence may never be ANOTHER ROUTE'S PAGE FILE — one the brief itself names, since
|
|
270
274
|
`routeOfFile` reads the repository's convention and the two legitimately disagree about a dynamic
|
|
271
275
|
route — and it may never be an element two routes both claim. The same rule gates a declaration
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bettercms-ai/convert",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Deterministic codemod that turns an imported site's text-matched bindings into declared ones — parser offsets in, one magic-string pass out, plus a receipt of everything it could not do.",
|
|
6
6
|
"bin": {
|