@octanejs/lexical 0.1.5 → 0.1.9

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.
Files changed (2) hide show
  1. package/README.md +6 -0
  2. package/package.json +12 -4
package/README.md CHANGED
@@ -66,6 +66,12 @@ React hooks to octane's (1:1 in nearly all cases), `forwardRef` to octane's
66
66
  ref-as-prop, `@floating-ui/react` to `@floating-ui/dom`, and the class-based
67
67
  `LexicalErrorBoundary` to octane's `<ErrorBoundary>`.
68
68
 
69
+ Lexical node classes require one module-family identity. The package manifest marks
70
+ both `lexical` and the `@lexical/*` family as Vite prebundle exclusions. Octane expands
71
+ the family rule to the exact `@lexical` packages declared by the binding and app before
72
+ passing it to Vite, so a cold dependency crawl cannot mix optimizer generations as it
73
+ discovers additional Lexical modules.
74
+
69
75
  ## Status
70
76
 
71
77
  Current scope, known divergences, and verification status are tracked in the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octanejs/lexical",
3
- "version": "0.1.5",
3
+ "version": "0.1.9",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "engines": {
@@ -11,6 +11,14 @@
11
11
  "manual": [
12
12
  "src"
13
13
  ]
14
+ },
15
+ "vite": {
16
+ "optimizeDeps": {
17
+ "exclude": [
18
+ "@lexical/*",
19
+ "lexical"
20
+ ]
21
+ }
14
22
  }
15
23
  },
16
24
  "description": "Lexical bindings for the octane renderer — reuses the framework-agnostic @lexical/* core and reimplements the @lexical/react layer on octane's hooks.",
@@ -97,10 +105,10 @@
97
105
  "@lexical/yjs": "0.46.0",
98
106
  "lexical": "0.46.0",
99
107
  "yjs": "^13.6.0",
100
- "@octanejs/floating-ui": "0.1.5"
108
+ "@octanejs/floating-ui": "0.1.9"
101
109
  },
102
110
  "peerDependencies": {
103
- "octane": "0.1.6"
111
+ "octane": "0.1.10"
104
112
  },
105
113
  "devDependencies": {
106
114
  "@lexical/react": "0.46.0",
@@ -109,7 +117,7 @@
109
117
  "react": "^19.2.0",
110
118
  "react-dom": "^19.2.0",
111
119
  "vitest": "^4.1.9",
112
- "octane": "0.1.6"
120
+ "octane": "0.1.10"
113
121
  },
114
122
  "scripts": {
115
123
  "test": "vitest run"