@prosekit/extensions
Advanced tools
Comparing version 0.7.10 to 0.7.11
import { Attrs } from '@prosekit/pm/model'; | ||
import { Attrs as Attrs_2 } from 'prosemirror-model'; | ||
import { Awareness } from 'y-protocols/awareness'; | ||
import type { Awareness } from 'y-protocols/awareness'; | ||
import { BaseCommandsExtension } from '@prosekit/core'; | ||
@@ -27,3 +27,3 @@ import { BundledLanguage } from 'shiki'; | ||
import type { IsEqual } from 'type-fest'; | ||
import type { ListAttributes } from 'prosemirror-flat-list'; | ||
import { ListAttributes } from 'prosemirror-flat-list'; | ||
import { ListDOMSerializer } from 'prosemirror-flat-list'; | ||
@@ -35,3 +35,3 @@ import { MarkType } from '@prosekit/pm/model'; | ||
import { NodeJSON } from '@prosekit/core'; | ||
import { NodeType } from '@prosekit/pm/model'; | ||
import type { NodeType } from '@prosekit/pm/model'; | ||
import { Options } from 'tsup'; | ||
@@ -54,3 +54,3 @@ import { Parser } from 'prosemirror-highlight'; | ||
import { WrapInListGetAttrs } from 'prosemirror-flat-list'; | ||
import * as Y from 'yjs'; | ||
import type * as Y from 'yjs'; | ||
import { yCursorPlugin } from 'y-prosemirror'; | ||
@@ -57,0 +57,0 @@ import { ySyncPlugin } from 'y-prosemirror'; |
@@ -14,4 +14,5 @@ // src/autocomplete/index.ts | ||
// src/autocomplete/helpers.ts | ||
import "@prosekit/pm/model"; | ||
import { PluginKey } from "@prosekit/pm/state"; | ||
import { | ||
PluginKey | ||
} from "@prosekit/pm/state"; | ||
function defaultCanMatch({ state }) { | ||
@@ -18,0 +19,0 @@ return state.selection.empty && !isInsideCode(state.selection.$from); |
import { | ||
defineWrappingInputRule | ||
} from "./chunk-J57QWYYX.js"; | ||
} from "./chunk-LAQZC3ZM.js"; | ||
@@ -5,0 +5,0 @@ // src/blockquote/index.ts |
import { | ||
defineMarkInputRule | ||
} from "./chunk-J57QWYYX.js"; | ||
} from "./chunk-LAQZC3ZM.js"; | ||
@@ -5,0 +5,0 @@ // src/bold/index.ts |
@@ -6,3 +6,3 @@ import { | ||
defineTextBlockInputRule | ||
} from "./chunk-J57QWYYX.js"; | ||
} from "./chunk-LAQZC3ZM.js"; | ||
@@ -9,0 +9,0 @@ // src/code-block/code-block.ts |
import { | ||
defineMarkInputRule | ||
} from "./chunk-J57QWYYX.js"; | ||
} from "./chunk-LAQZC3ZM.js"; | ||
@@ -5,0 +5,0 @@ // src/code/index.ts |
@@ -14,3 +14,6 @@ // src/commit/index.ts | ||
} from "@prosekit/pm/model"; | ||
import { PluginKey, ProseMirrorPlugin } from "@prosekit/pm/state"; | ||
import { | ||
PluginKey, | ||
ProseMirrorPlugin | ||
} from "@prosekit/pm/state"; | ||
import { Step } from "@prosekit/pm/transform"; | ||
@@ -17,0 +20,0 @@ import { Decoration, DecorationSet } from "@prosekit/pm/view"; |
@@ -7,4 +7,4 @@ export { defineHeading } from './_tsup-dts-rollup'; | ||
export { defineHeadingSpec } from './_tsup-dts-rollup'; | ||
export { HeadingAttrs } from './_tsup-dts-rollup'; | ||
export { HeadingCommandsExtension_alias_1 as HeadingCommandsExtension } from './_tsup-dts-rollup'; | ||
export { HeadingSpecExtension } from './_tsup-dts-rollup'; | ||
export { HeadingAttrs } from './_tsup-dts-rollup'; |
import { | ||
defineTextBlockInputRule | ||
} from "./chunk-J57QWYYX.js"; | ||
} from "./chunk-LAQZC3ZM.js"; | ||
@@ -5,0 +5,0 @@ // src/heading/index.ts |
@@ -7,3 +7,3 @@ import { | ||
defineWrappingInputRule | ||
} from "./chunk-J57QWYYX.js"; | ||
} from "./chunk-LAQZC3ZM.js"; | ||
export { | ||
@@ -10,0 +10,0 @@ createMarkInputRule, |
import { | ||
defineMarkInputRule | ||
} from "./chunk-J57QWYYX.js"; | ||
} from "./chunk-LAQZC3ZM.js"; | ||
@@ -5,0 +5,0 @@ // src/italic/index.ts |
import { | ||
defineMarkRule | ||
} from "./chunk-GPSAJOJA.js"; | ||
} from "./chunk-GITDYNLT.js"; | ||
import { | ||
@@ -9,3 +9,3 @@ defineEnterRule | ||
defineInputRule | ||
} from "./chunk-J57QWYYX.js"; | ||
} from "./chunk-LAQZC3ZM.js"; | ||
@@ -12,0 +12,0 @@ // src/link/index.ts |
import { | ||
defineInputRule | ||
} from "./chunk-J57QWYYX.js"; | ||
} from "./chunk-LAQZC3ZM.js"; | ||
@@ -5,0 +5,0 @@ // src/list/index.ts |
import { | ||
defineMarkRule | ||
} from "./chunk-GPSAJOJA.js"; | ||
} from "./chunk-GITDYNLT.js"; | ||
export { | ||
defineMarkRule | ||
}; |
// src/placeholder/index.ts | ||
import { definePlugin, isInCodeBlock } from "@prosekit/core"; | ||
import "@prosekit/pm/model"; | ||
import { Plugin, PluginKey } from "@prosekit/pm/state"; | ||
@@ -5,0 +4,0 @@ import { Decoration, DecorationSet } from "@prosekit/pm/view"; |
import { | ||
defineMarkInputRule | ||
} from "./chunk-J57QWYYX.js"; | ||
} from "./chunk-LAQZC3ZM.js"; | ||
@@ -5,0 +5,0 @@ // src/strike/index.ts |
@@ -8,8 +8,2 @@ // src/yjs/index.ts | ||
// ../../node_modules/.pnpm/y-protocols@1.0.6_yjs@13.6.18/node_modules/y-protocols/awareness.js | ||
import * as Y from "yjs"; | ||
// src/yjs/index.ts | ||
import "yjs"; | ||
// src/yjs/commands.ts | ||
@@ -122,3 +116,2 @@ import { defineCommands } from "@prosekit/core"; | ||
import { ySyncPlugin } from "y-prosemirror"; | ||
import "yjs"; | ||
function defineYjsSyncPlugin(options) { | ||
@@ -125,0 +118,0 @@ const { fragment, ...rest } = options; |
{ | ||
"name": "@prosekit/extensions", | ||
"type": "module", | ||
"version": "0.7.10", | ||
"version": "0.7.11", | ||
"private": false, | ||
@@ -204,4 +204,4 @@ "author": { | ||
"prosemirror-tables": "^1.4.0", | ||
"shiki": "^1.12.1", | ||
"@prosekit/core": "^0.7.8", | ||
"shiki": "^1.14.1", | ||
"@prosekit/core": "^0.7.9", | ||
"@prosekit/pm": "^0.1.8" | ||
@@ -224,6 +224,6 @@ }, | ||
"tsup": "^8.2.4", | ||
"type-fest": "^4.23.0", | ||
"type-fest": "^4.25.0", | ||
"typescript": "^5.5.4", | ||
"vitest": "^2.0.5", | ||
"y-prosemirror": "^1.2.9", | ||
"y-prosemirror": "^1.2.12", | ||
"y-protocols": "^1.0.6", | ||
@@ -230,0 +230,0 @@ "yjs": "^13.6.18", |
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
144200
4431
Updated@prosekit/core@^0.7.9
Updatedshiki@^1.14.1