@lexical/yjs 0.23.2-nightly.20250116.0 → 0.23.2-nightly.20250120.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/LexicalYjs.js +1 -1
- package/LexicalYjs.mjs +1 -1
- package/LexicalYjs.node.mjs +1 -1
- package/package.json +4 -4
package/LexicalYjs.js
CHANGED
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
'use strict'
|
|
10
|
-
const LexicalYjs = process.env.NODE_ENV
|
|
10
|
+
const LexicalYjs = process.env.NODE_ENV !== 'production' ? require('./LexicalYjs.dev.js') : require('./LexicalYjs.prod.js');
|
|
11
11
|
module.exports = LexicalYjs;
|
package/LexicalYjs.mjs
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
import * as modDev from './LexicalYjs.dev.mjs';
|
|
10
10
|
import * as modProd from './LexicalYjs.prod.mjs';
|
|
11
|
-
const mod = process.env.NODE_ENV
|
|
11
|
+
const mod = process.env.NODE_ENV !== 'production' ? modDev : modProd;
|
|
12
12
|
export const CONNECTED_COMMAND = mod.CONNECTED_COMMAND;
|
|
13
13
|
export const TOGGLE_CONNECT_COMMAND = mod.TOGGLE_CONNECT_COMMAND;
|
|
14
14
|
export const createBinding = mod.createBinding;
|
package/LexicalYjs.node.mjs
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
const mod = await (process.env.NODE_ENV
|
|
9
|
+
const mod = await (process.env.NODE_ENV !== 'production' ? import('./LexicalYjs.dev.mjs') : import('./LexicalYjs.prod.mjs'));
|
|
10
10
|
export const CONNECTED_COMMAND = mod.CONNECTED_COMMAND;
|
|
11
11
|
export const TOGGLE_CONNECT_COMMAND = mod.TOGGLE_CONNECT_COMMAND;
|
|
12
12
|
export const createBinding = mod.createBinding;
|
package/package.json
CHANGED
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
"crdt"
|
|
12
12
|
],
|
|
13
13
|
"license": "MIT",
|
|
14
|
-
"version": "0.23.2-nightly.
|
|
14
|
+
"version": "0.23.2-nightly.20250120.0",
|
|
15
15
|
"main": "LexicalYjs.js",
|
|
16
16
|
"types": "index.d.ts",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@lexical/offset": "0.23.2-nightly.
|
|
19
|
-
"@lexical/selection": "0.23.2-nightly.
|
|
20
|
-
"lexical": "0.23.2-nightly.
|
|
18
|
+
"@lexical/offset": "0.23.2-nightly.20250120.0",
|
|
19
|
+
"@lexical/selection": "0.23.2-nightly.20250120.0",
|
|
20
|
+
"lexical": "0.23.2-nightly.20250120.0"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"yjs": ">=13.5.22"
|