loro-prosemirror
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "loro-prosemirror", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Prosemirror Binding for Loro", | ||
"type": "module", | ||
"main": "index.js", | ||
"main": "dist/index.js", | ||
"typings": "dist/loro.d.ts", | ||
"scripts": { | ||
"build": "tsc", | ||
"build": "rollup -c", | ||
"test": "vitest run", | ||
@@ -31,2 +32,3 @@ "coverage": "vitest run --coverage" | ||
"devDependencies": { | ||
"@rollup/plugin-node-resolve": "^15.0.1", | ||
"@typescript-eslint/parser": "^7.4.0", | ||
@@ -40,2 +42,5 @@ "@vitest/coverage-v8": "^1.4.0", | ||
"prosemirror-view": "^1.26.2", | ||
"rollup": "^3.29.4", | ||
"rollup-plugin-dts": "^5.3.1", | ||
"rollup-plugin-esbuild": "^5.0.0", | ||
"typescript": "^5.4.3", | ||
@@ -42,0 +47,0 @@ "vite": "^5.2.7", |
@@ -1,2 +0,3 @@ | ||
import { Awareness, Cursor, PeerID } from "loro-crdt"; | ||
import { Awareness, Cursor } from "loro-crdt"; | ||
import type { PeerID } from "loro-crdt"; | ||
@@ -3,0 +4,0 @@ export class CursorAwareness extends Awareness<{ |
import { simpleDiff } from "lib0/diff"; | ||
import { equalityDeep } from "lib0/function"; | ||
import type { ContainerID } from 'loro-crdt'; | ||
import { | ||
ContainerID, | ||
Delta, | ||
@@ -7,0 +7,0 @@ Loro, |
@@ -1,6 +0,5 @@ | ||
import { Loro, LoroEventBatch, LoroList, LoroMap, LoroText } from "loro-crdt"; | ||
import { Loro, LoroEventBatch } from "loro-crdt"; | ||
import { | ||
Plugin, | ||
PluginKey, | ||
TextSelection, | ||
StateField, | ||
@@ -12,7 +11,4 @@ EditorState, | ||
import { | ||
ATTRIBUTES_KEY, | ||
CHILDREN_KEY, | ||
LoroDocType, | ||
LoroNodeMapping, | ||
ROOT_DOC_KEY, | ||
clearChangedNodes, | ||
@@ -19,0 +15,0 @@ createNodeFromLoroObj, |
@@ -1,2 +0,3 @@ | ||
import { Cursor, Loro, UndoManager } from "loro-crdt"; | ||
import type { Cursor } from "loro-crdt"; | ||
import { Loro, UndoManager } from "loro-crdt"; | ||
import { | ||
@@ -3,0 +4,0 @@ EditorState, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
291932
23
3920
15