@byline/richtext-lexical 4.5.0 → 4.6.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/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"private": false,
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
|
-
"version": "4.
|
|
6
|
+
"version": "4.6.0",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=20.9.0"
|
|
9
9
|
},
|
|
@@ -73,10 +73,10 @@
|
|
|
73
73
|
"lexical": "0.48.0",
|
|
74
74
|
"npm-run-all": "^4.1.5",
|
|
75
75
|
"react-error-boundary": "^6.1.2",
|
|
76
|
-
"@byline/admin": "4.
|
|
77
|
-
"@byline/ui": "4.
|
|
78
|
-
"@byline/
|
|
79
|
-
"@byline/
|
|
76
|
+
"@byline/admin": "4.6.0",
|
|
77
|
+
"@byline/ui": "4.6.0",
|
|
78
|
+
"@byline/core": "4.6.0",
|
|
79
|
+
"@byline/client": "4.6.0"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
82
82
|
"react": "^19.0.0",
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
* Contract tests for the one-way Lexical → markdown export serializer.
|
|
11
11
|
* The expected strings below ARE the format contract — agents build on
|
|
12
12
|
* this shape, so a change here is a consumer-visible format change and
|
|
13
|
-
* should be deliberate (see
|
|
14
|
-
* surface").
|
|
13
|
+
* should be deliberate (see docs/05-reading-and-delivery/04-markdown-export.md →
|
|
14
|
+
* "The output is a contract surface").
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import { describe, expect, it } from 'vitest'
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* One-way Lexical → markdown serializer for the agent-readable export
|
|
11
|
-
* surface (`.md` routes, `llms.txt` — see
|
|
11
|
+
* surface (`.md` routes, `llms.txt` — see
|
|
12
|
+
* docs/05-reading-and-delivery/04-markdown-export.md).
|
|
12
13
|
*
|
|
13
14
|
* Walks the **stored** `SerializedEditorState` JSON directly — no
|
|
14
15
|
* `@lexical/headless`, no DOM, no node registration. Output is read-only
|