From 0fe0397f509c599d8af2dd3f1f42c002a6b9ea14 Mon Sep 17 00:00:00 2001 From: Bob Ippolito Date: Thu, 28 Mar 2024 09:16:24 -0700 Subject: [PATCH] npm run update-version --- packages/lexical-clipboard/package.json | 12 +++- packages/lexical-code/package.json | 12 +++- packages/lexical-dragon/package.json | 12 +++- packages/lexical-file/package.json | 12 +++- packages/lexical-hashtag/package.json | 12 +++- packages/lexical-headless/package.json | 12 +++- packages/lexical-history/package.json | 12 +++- packages/lexical-html/package.json | 12 +++- packages/lexical-link/package.json | 12 +++- packages/lexical-list/package.json | 12 +++- packages/lexical-mark/package.json | 12 +++- packages/lexical-markdown/package.json | 12 +++- packages/lexical-offset/package.json | 12 +++- packages/lexical-overflow/package.json | 12 +++- packages/lexical-plain-text/package.json | 12 +++- packages/lexical-react/package.json | 80 ++++++++++++++++++++++++ packages/lexical-rich-text/package.json | 12 +++- packages/lexical-selection/package.json | 12 +++- packages/lexical-table/package.json | 12 +++- packages/lexical-text/package.json | 12 +++- packages/lexical-utils/package.json | 12 +++- packages/lexical-yjs/package.json | 12 +++- packages/lexical/package.json | 12 +++- 23 files changed, 322 insertions(+), 22 deletions(-) diff --git a/packages/lexical-clipboard/package.json b/packages/lexical-clipboard/package.json index 02c6127da34b..6e127f8a5cbe 100644 --- a/packages/lexical-clipboard/package.json +++ b/packages/lexical-clipboard/package.json @@ -26,5 +26,15 @@ "directory": "packages/lexical-clipboard" }, "module": "LexicalClipboard.mjs", - "sideEffects": false + "sideEffects": false, + "exports": { + ".": { + "import": { + "types": "./index.d.ts", + "node": "./LexicalClipboard.node.mjs", + "default": "./LexicalClipboard.mjs" + }, + "require": "./LexicalClipboard.js" + } + } } diff --git a/packages/lexical-code/package.json b/packages/lexical-code/package.json index 4f692321ba8c..c4e03d35e537 100644 --- a/packages/lexical-code/package.json +++ b/packages/lexical-code/package.json @@ -26,5 +26,15 @@ "@types/prismjs": "^1.26.0" }, "module": "LexicalCode.mjs", - "sideEffects": false + "sideEffects": false, + "exports": { + ".": { + "import": { + "types": "./index.d.ts", + "node": "./LexicalCode.node.mjs", + "default": "./LexicalCode.mjs" + }, + "require": "./LexicalCode.js" + } + } } diff --git a/packages/lexical-dragon/package.json b/packages/lexical-dragon/package.json index b9a738f5712a..070a11f45c41 100644 --- a/packages/lexical-dragon/package.json +++ b/packages/lexical-dragon/package.json @@ -20,5 +20,15 @@ "directory": "packages/lexical-dragon" }, "module": "LexicalDragon.mjs", - "sideEffects": false + "sideEffects": false, + "exports": { + ".": { + "import": { + "types": "./index.d.ts", + "node": "./LexicalDragon.node.mjs", + "default": "./LexicalDragon.mjs" + }, + "require": "./LexicalDragon.js" + } + } } diff --git a/packages/lexical-file/package.json b/packages/lexical-file/package.json index e80c88d25cde..0e2f88a06887 100644 --- a/packages/lexical-file/package.json +++ b/packages/lexical-file/package.json @@ -21,5 +21,15 @@ "directory": "packages/lexical-file" }, "module": "LexicalFile.mjs", - "sideEffects": false + "sideEffects": false, + "exports": { + ".": { + "import": { + "types": "./index.d.ts", + "node": "./LexicalFile.node.mjs", + "default": "./LexicalFile.mjs" + }, + "require": "./LexicalFile.js" + } + } } diff --git a/packages/lexical-hashtag/package.json b/packages/lexical-hashtag/package.json index d55532211c48..acb7deeef4be 100644 --- a/packages/lexical-hashtag/package.json +++ b/packages/lexical-hashtag/package.json @@ -22,5 +22,15 @@ "directory": "packages/lexical-hashtag" }, "module": "LexicalHashtag.mjs", - "sideEffects": false + "sideEffects": false, + "exports": { + ".": { + "import": { + "types": "./index.d.ts", + "node": "./LexicalHashtag.node.mjs", + "default": "./LexicalHashtag.mjs" + }, + "require": "./LexicalHashtag.js" + } + } } diff --git a/packages/lexical-headless/package.json b/packages/lexical-headless/package.json index d88bfc353e89..d2392d315096 100644 --- a/packages/lexical-headless/package.json +++ b/packages/lexical-headless/package.json @@ -19,5 +19,15 @@ "directory": "packages/lexical-headless" }, "module": "LexicalHeadless.mjs", - "sideEffects": false + "sideEffects": false, + "exports": { + ".": { + "import": { + "types": "./index.d.ts", + "node": "./LexicalHeadless.node.mjs", + "default": "./LexicalHeadless.mjs" + }, + "require": "./LexicalHeadless.js" + } + } } diff --git a/packages/lexical-history/package.json b/packages/lexical-history/package.json index 6e666469479d..f8c5ce50cd7e 100644 --- a/packages/lexical-history/package.json +++ b/packages/lexical-history/package.json @@ -22,5 +22,15 @@ "directory": "packages/lexical-history" }, "module": "LexicalHistory.mjs", - "sideEffects": false + "sideEffects": false, + "exports": { + ".": { + "import": { + "types": "./index.d.ts", + "node": "./LexicalHistory.node.mjs", + "default": "./LexicalHistory.mjs" + }, + "require": "./LexicalHistory.js" + } + } } diff --git a/packages/lexical-html/package.json b/packages/lexical-html/package.json index 9843ae5e2d8e..a903ea26fd45 100644 --- a/packages/lexical-html/package.json +++ b/packages/lexical-html/package.json @@ -23,5 +23,15 @@ "@lexical/utils": "0.14.2" }, "module": "LexicalHtml.mjs", - "sideEffects": false + "sideEffects": false, + "exports": { + ".": { + "import": { + "types": "./index.d.ts", + "node": "./LexicalHtml.node.mjs", + "default": "./LexicalHtml.mjs" + }, + "require": "./LexicalHtml.js" + } + } } diff --git a/packages/lexical-link/package.json b/packages/lexical-link/package.json index caac6f8ff141..ec78c6c3e7f2 100644 --- a/packages/lexical-link/package.json +++ b/packages/lexical-link/package.json @@ -22,5 +22,15 @@ "directory": "packages/lexical-link" }, "module": "LexicalLink.mjs", - "sideEffects": false + "sideEffects": false, + "exports": { + ".": { + "import": { + "types": "./index.d.ts", + "node": "./LexicalLink.node.mjs", + "default": "./LexicalLink.mjs" + }, + "require": "./LexicalLink.js" + } + } } diff --git a/packages/lexical-list/package.json b/packages/lexical-list/package.json index da4507ad9f64..1139dc2ec2dd 100644 --- a/packages/lexical-list/package.json +++ b/packages/lexical-list/package.json @@ -22,5 +22,15 @@ "directory": "packages/lexical-list" }, "module": "LexicalList.mjs", - "sideEffects": false + "sideEffects": false, + "exports": { + ".": { + "import": { + "types": "./index.d.ts", + "node": "./LexicalList.node.mjs", + "default": "./LexicalList.mjs" + }, + "require": "./LexicalList.js" + } + } } diff --git a/packages/lexical-mark/package.json b/packages/lexical-mark/package.json index a3150928ffd8..9f556cc751e3 100644 --- a/packages/lexical-mark/package.json +++ b/packages/lexical-mark/package.json @@ -22,5 +22,15 @@ "directory": "packages/lexical-mark" }, "module": "LexicalMark.mjs", - "sideEffects": false + "sideEffects": false, + "exports": { + ".": { + "import": { + "types": "./index.d.ts", + "node": "./LexicalMark.node.mjs", + "default": "./LexicalMark.mjs" + }, + "require": "./LexicalMark.js" + } + } } diff --git a/packages/lexical-markdown/package.json b/packages/lexical-markdown/package.json index c33adfe8189d..7315f949a39b 100644 --- a/packages/lexical-markdown/package.json +++ b/packages/lexical-markdown/package.json @@ -27,5 +27,15 @@ "directory": "packages/lexical-markdown" }, "module": "LexicalMarkdown.mjs", - "sideEffects": false + "sideEffects": false, + "exports": { + ".": { + "import": { + "types": "./index.d.ts", + "node": "./LexicalMarkdown.node.mjs", + "default": "./LexicalMarkdown.mjs" + }, + "require": "./LexicalMarkdown.js" + } + } } diff --git a/packages/lexical-offset/package.json b/packages/lexical-offset/package.json index 788a4755095a..291af39548a6 100644 --- a/packages/lexical-offset/package.json +++ b/packages/lexical-offset/package.json @@ -19,5 +19,15 @@ "directory": "packages/lexical-offset" }, "module": "LexicalOffset.mjs", - "sideEffects": false + "sideEffects": false, + "exports": { + ".": { + "import": { + "types": "./index.d.ts", + "node": "./LexicalOffset.node.mjs", + "default": "./LexicalOffset.mjs" + }, + "require": "./LexicalOffset.js" + } + } } diff --git a/packages/lexical-overflow/package.json b/packages/lexical-overflow/package.json index b95addf1d668..3c0a3318415d 100644 --- a/packages/lexical-overflow/package.json +++ b/packages/lexical-overflow/package.json @@ -19,5 +19,15 @@ "directory": "packages/lexical-overflow" }, "module": "LexicalOverflow.mjs", - "sideEffects": false + "sideEffects": false, + "exports": { + ".": { + "import": { + "types": "./index.d.ts", + "node": "./LexicalOverflow.node.mjs", + "default": "./LexicalOverflow.mjs" + }, + "require": "./LexicalOverflow.js" + } + } } diff --git a/packages/lexical-plain-text/package.json b/packages/lexical-plain-text/package.json index d6e671ae9ccb..5e73fd26010d 100644 --- a/packages/lexical-plain-text/package.json +++ b/packages/lexical-plain-text/package.json @@ -21,5 +21,15 @@ "directory": "packages/lexical-plain-text" }, "module": "LexicalPlainText.mjs", - "sideEffects": false + "sideEffects": false, + "exports": { + ".": { + "import": { + "types": "./index.d.ts", + "node": "./LexicalPlainText.node.mjs", + "default": "./LexicalPlainText.mjs" + }, + "require": "./LexicalPlainText.js" + } + } } diff --git a/packages/lexical-react/package.json b/packages/lexical-react/package.json index 8674d20d33d6..f843938bffad 100644 --- a/packages/lexical-react/package.json +++ b/packages/lexical-react/package.json @@ -43,6 +43,7 @@ "./LexicalAutoEmbedPlugin": { "import": { "types": "./LexicalAutoEmbedPlugin.d.ts", + "node": "./LexicalAutoEmbedPlugin.node.mjs", "default": "./LexicalAutoEmbedPlugin.mjs" }, "require": "./LexicalAutoEmbedPlugin.js" @@ -50,6 +51,7 @@ "./LexicalAutoEmbedPlugin.js": { "import": { "types": "./LexicalAutoEmbedPlugin.d.ts", + "node": "./LexicalAutoEmbedPlugin.node.mjs", "default": "./LexicalAutoEmbedPlugin.mjs" }, "require": "./LexicalAutoEmbedPlugin.js" @@ -57,6 +59,7 @@ "./LexicalAutoFocusPlugin": { "import": { "types": "./LexicalAutoFocusPlugin.d.ts", + "node": "./LexicalAutoFocusPlugin.node.mjs", "default": "./LexicalAutoFocusPlugin.mjs" }, "require": "./LexicalAutoFocusPlugin.js" @@ -64,6 +67,7 @@ "./LexicalAutoFocusPlugin.js": { "import": { "types": "./LexicalAutoFocusPlugin.d.ts", + "node": "./LexicalAutoFocusPlugin.node.mjs", "default": "./LexicalAutoFocusPlugin.mjs" }, "require": "./LexicalAutoFocusPlugin.js" @@ -71,6 +75,7 @@ "./LexicalAutoLinkPlugin": { "import": { "types": "./LexicalAutoLinkPlugin.d.ts", + "node": "./LexicalAutoLinkPlugin.node.mjs", "default": "./LexicalAutoLinkPlugin.mjs" }, "require": "./LexicalAutoLinkPlugin.js" @@ -78,6 +83,7 @@ "./LexicalAutoLinkPlugin.js": { "import": { "types": "./LexicalAutoLinkPlugin.d.ts", + "node": "./LexicalAutoLinkPlugin.node.mjs", "default": "./LexicalAutoLinkPlugin.mjs" }, "require": "./LexicalAutoLinkPlugin.js" @@ -85,6 +91,7 @@ "./LexicalBlockWithAlignableContents": { "import": { "types": "./LexicalBlockWithAlignableContents.d.ts", + "node": "./LexicalBlockWithAlignableContents.node.mjs", "default": "./LexicalBlockWithAlignableContents.mjs" }, "require": "./LexicalBlockWithAlignableContents.js" @@ -92,6 +99,7 @@ "./LexicalBlockWithAlignableContents.js": { "import": { "types": "./LexicalBlockWithAlignableContents.d.ts", + "node": "./LexicalBlockWithAlignableContents.node.mjs", "default": "./LexicalBlockWithAlignableContents.mjs" }, "require": "./LexicalBlockWithAlignableContents.js" @@ -99,6 +107,7 @@ "./LexicalCharacterLimitPlugin": { "import": { "types": "./LexicalCharacterLimitPlugin.d.ts", + "node": "./LexicalCharacterLimitPlugin.node.mjs", "default": "./LexicalCharacterLimitPlugin.mjs" }, "require": "./LexicalCharacterLimitPlugin.js" @@ -106,6 +115,7 @@ "./LexicalCharacterLimitPlugin.js": { "import": { "types": "./LexicalCharacterLimitPlugin.d.ts", + "node": "./LexicalCharacterLimitPlugin.node.mjs", "default": "./LexicalCharacterLimitPlugin.mjs" }, "require": "./LexicalCharacterLimitPlugin.js" @@ -113,6 +123,7 @@ "./LexicalCheckListPlugin": { "import": { "types": "./LexicalCheckListPlugin.d.ts", + "node": "./LexicalCheckListPlugin.node.mjs", "default": "./LexicalCheckListPlugin.mjs" }, "require": "./LexicalCheckListPlugin.js" @@ -120,6 +131,7 @@ "./LexicalCheckListPlugin.js": { "import": { "types": "./LexicalCheckListPlugin.d.ts", + "node": "./LexicalCheckListPlugin.node.mjs", "default": "./LexicalCheckListPlugin.mjs" }, "require": "./LexicalCheckListPlugin.js" @@ -127,6 +139,7 @@ "./LexicalClearEditorPlugin": { "import": { "types": "./LexicalClearEditorPlugin.d.ts", + "node": "./LexicalClearEditorPlugin.node.mjs", "default": "./LexicalClearEditorPlugin.mjs" }, "require": "./LexicalClearEditorPlugin.js" @@ -134,6 +147,7 @@ "./LexicalClearEditorPlugin.js": { "import": { "types": "./LexicalClearEditorPlugin.d.ts", + "node": "./LexicalClearEditorPlugin.node.mjs", "default": "./LexicalClearEditorPlugin.mjs" }, "require": "./LexicalClearEditorPlugin.js" @@ -141,6 +155,7 @@ "./LexicalClickableLinkPlugin": { "import": { "types": "./LexicalClickableLinkPlugin.d.ts", + "node": "./LexicalClickableLinkPlugin.node.mjs", "default": "./LexicalClickableLinkPlugin.mjs" }, "require": "./LexicalClickableLinkPlugin.js" @@ -148,6 +163,7 @@ "./LexicalClickableLinkPlugin.js": { "import": { "types": "./LexicalClickableLinkPlugin.d.ts", + "node": "./LexicalClickableLinkPlugin.node.mjs", "default": "./LexicalClickableLinkPlugin.mjs" }, "require": "./LexicalClickableLinkPlugin.js" @@ -155,6 +171,7 @@ "./LexicalCollaborationContext": { "import": { "types": "./LexicalCollaborationContext.d.ts", + "node": "./LexicalCollaborationContext.node.mjs", "default": "./LexicalCollaborationContext.mjs" }, "require": "./LexicalCollaborationContext.js" @@ -162,6 +179,7 @@ "./LexicalCollaborationContext.js": { "import": { "types": "./LexicalCollaborationContext.d.ts", + "node": "./LexicalCollaborationContext.node.mjs", "default": "./LexicalCollaborationContext.mjs" }, "require": "./LexicalCollaborationContext.js" @@ -169,6 +187,7 @@ "./LexicalCollaborationPlugin": { "import": { "types": "./LexicalCollaborationPlugin.d.ts", + "node": "./LexicalCollaborationPlugin.node.mjs", "default": "./LexicalCollaborationPlugin.mjs" }, "require": "./LexicalCollaborationPlugin.js" @@ -176,6 +195,7 @@ "./LexicalCollaborationPlugin.js": { "import": { "types": "./LexicalCollaborationPlugin.d.ts", + "node": "./LexicalCollaborationPlugin.node.mjs", "default": "./LexicalCollaborationPlugin.mjs" }, "require": "./LexicalCollaborationPlugin.js" @@ -183,6 +203,7 @@ "./LexicalComposer": { "import": { "types": "./LexicalComposer.d.ts", + "node": "./LexicalComposer.node.mjs", "default": "./LexicalComposer.mjs" }, "require": "./LexicalComposer.js" @@ -190,6 +211,7 @@ "./LexicalComposer.js": { "import": { "types": "./LexicalComposer.d.ts", + "node": "./LexicalComposer.node.mjs", "default": "./LexicalComposer.mjs" }, "require": "./LexicalComposer.js" @@ -197,6 +219,7 @@ "./LexicalComposerContext": { "import": { "types": "./LexicalComposerContext.d.ts", + "node": "./LexicalComposerContext.node.mjs", "default": "./LexicalComposerContext.mjs" }, "require": "./LexicalComposerContext.js" @@ -204,6 +227,7 @@ "./LexicalComposerContext.js": { "import": { "types": "./LexicalComposerContext.d.ts", + "node": "./LexicalComposerContext.node.mjs", "default": "./LexicalComposerContext.mjs" }, "require": "./LexicalComposerContext.js" @@ -211,6 +235,7 @@ "./LexicalContentEditable": { "import": { "types": "./LexicalContentEditable.d.ts", + "node": "./LexicalContentEditable.node.mjs", "default": "./LexicalContentEditable.mjs" }, "require": "./LexicalContentEditable.js" @@ -218,6 +243,7 @@ "./LexicalContentEditable.js": { "import": { "types": "./LexicalContentEditable.d.ts", + "node": "./LexicalContentEditable.node.mjs", "default": "./LexicalContentEditable.mjs" }, "require": "./LexicalContentEditable.js" @@ -225,6 +251,7 @@ "./LexicalContextMenuPlugin": { "import": { "types": "./LexicalContextMenuPlugin.d.ts", + "node": "./LexicalContextMenuPlugin.node.mjs", "default": "./LexicalContextMenuPlugin.mjs" }, "require": "./LexicalContextMenuPlugin.js" @@ -232,6 +259,7 @@ "./LexicalContextMenuPlugin.js": { "import": { "types": "./LexicalContextMenuPlugin.d.ts", + "node": "./LexicalContextMenuPlugin.node.mjs", "default": "./LexicalContextMenuPlugin.mjs" }, "require": "./LexicalContextMenuPlugin.js" @@ -239,6 +267,7 @@ "./LexicalDecoratorBlockNode": { "import": { "types": "./LexicalDecoratorBlockNode.d.ts", + "node": "./LexicalDecoratorBlockNode.node.mjs", "default": "./LexicalDecoratorBlockNode.mjs" }, "require": "./LexicalDecoratorBlockNode.js" @@ -246,6 +275,7 @@ "./LexicalDecoratorBlockNode.js": { "import": { "types": "./LexicalDecoratorBlockNode.d.ts", + "node": "./LexicalDecoratorBlockNode.node.mjs", "default": "./LexicalDecoratorBlockNode.mjs" }, "require": "./LexicalDecoratorBlockNode.js" @@ -253,6 +283,7 @@ "./LexicalEditorRefPlugin": { "import": { "types": "./LexicalEditorRefPlugin.d.ts", + "node": "./LexicalEditorRefPlugin.node.mjs", "default": "./LexicalEditorRefPlugin.mjs" }, "require": "./LexicalEditorRefPlugin.js" @@ -260,6 +291,7 @@ "./LexicalEditorRefPlugin.js": { "import": { "types": "./LexicalEditorRefPlugin.d.ts", + "node": "./LexicalEditorRefPlugin.node.mjs", "default": "./LexicalEditorRefPlugin.mjs" }, "require": "./LexicalEditorRefPlugin.js" @@ -267,6 +299,7 @@ "./LexicalErrorBoundary": { "import": { "types": "./LexicalErrorBoundary.d.ts", + "node": "./LexicalErrorBoundary.node.mjs", "default": "./LexicalErrorBoundary.mjs" }, "require": "./LexicalErrorBoundary.js" @@ -274,6 +307,7 @@ "./LexicalErrorBoundary.js": { "import": { "types": "./LexicalErrorBoundary.d.ts", + "node": "./LexicalErrorBoundary.node.mjs", "default": "./LexicalErrorBoundary.mjs" }, "require": "./LexicalErrorBoundary.js" @@ -281,6 +315,7 @@ "./LexicalHashtagPlugin": { "import": { "types": "./LexicalHashtagPlugin.d.ts", + "node": "./LexicalHashtagPlugin.node.mjs", "default": "./LexicalHashtagPlugin.mjs" }, "require": "./LexicalHashtagPlugin.js" @@ -288,6 +323,7 @@ "./LexicalHashtagPlugin.js": { "import": { "types": "./LexicalHashtagPlugin.d.ts", + "node": "./LexicalHashtagPlugin.node.mjs", "default": "./LexicalHashtagPlugin.mjs" }, "require": "./LexicalHashtagPlugin.js" @@ -295,6 +331,7 @@ "./LexicalHistoryPlugin": { "import": { "types": "./LexicalHistoryPlugin.d.ts", + "node": "./LexicalHistoryPlugin.node.mjs", "default": "./LexicalHistoryPlugin.mjs" }, "require": "./LexicalHistoryPlugin.js" @@ -302,6 +339,7 @@ "./LexicalHistoryPlugin.js": { "import": { "types": "./LexicalHistoryPlugin.d.ts", + "node": "./LexicalHistoryPlugin.node.mjs", "default": "./LexicalHistoryPlugin.mjs" }, "require": "./LexicalHistoryPlugin.js" @@ -309,6 +347,7 @@ "./LexicalHorizontalRuleNode": { "import": { "types": "./LexicalHorizontalRuleNode.d.ts", + "node": "./LexicalHorizontalRuleNode.node.mjs", "default": "./LexicalHorizontalRuleNode.mjs" }, "require": "./LexicalHorizontalRuleNode.js" @@ -316,6 +355,7 @@ "./LexicalHorizontalRuleNode.js": { "import": { "types": "./LexicalHorizontalRuleNode.d.ts", + "node": "./LexicalHorizontalRuleNode.node.mjs", "default": "./LexicalHorizontalRuleNode.mjs" }, "require": "./LexicalHorizontalRuleNode.js" @@ -323,6 +363,7 @@ "./LexicalHorizontalRulePlugin": { "import": { "types": "./LexicalHorizontalRulePlugin.d.ts", + "node": "./LexicalHorizontalRulePlugin.node.mjs", "default": "./LexicalHorizontalRulePlugin.mjs" }, "require": "./LexicalHorizontalRulePlugin.js" @@ -330,6 +371,7 @@ "./LexicalHorizontalRulePlugin.js": { "import": { "types": "./LexicalHorizontalRulePlugin.d.ts", + "node": "./LexicalHorizontalRulePlugin.node.mjs", "default": "./LexicalHorizontalRulePlugin.mjs" }, "require": "./LexicalHorizontalRulePlugin.js" @@ -337,6 +379,7 @@ "./LexicalLinkPlugin": { "import": { "types": "./LexicalLinkPlugin.d.ts", + "node": "./LexicalLinkPlugin.node.mjs", "default": "./LexicalLinkPlugin.mjs" }, "require": "./LexicalLinkPlugin.js" @@ -344,6 +387,7 @@ "./LexicalLinkPlugin.js": { "import": { "types": "./LexicalLinkPlugin.d.ts", + "node": "./LexicalLinkPlugin.node.mjs", "default": "./LexicalLinkPlugin.mjs" }, "require": "./LexicalLinkPlugin.js" @@ -351,6 +395,7 @@ "./LexicalListPlugin": { "import": { "types": "./LexicalListPlugin.d.ts", + "node": "./LexicalListPlugin.node.mjs", "default": "./LexicalListPlugin.mjs" }, "require": "./LexicalListPlugin.js" @@ -358,6 +403,7 @@ "./LexicalListPlugin.js": { "import": { "types": "./LexicalListPlugin.d.ts", + "node": "./LexicalListPlugin.node.mjs", "default": "./LexicalListPlugin.mjs" }, "require": "./LexicalListPlugin.js" @@ -365,6 +411,7 @@ "./LexicalMarkdownShortcutPlugin": { "import": { "types": "./LexicalMarkdownShortcutPlugin.d.ts", + "node": "./LexicalMarkdownShortcutPlugin.node.mjs", "default": "./LexicalMarkdownShortcutPlugin.mjs" }, "require": "./LexicalMarkdownShortcutPlugin.js" @@ -372,6 +419,7 @@ "./LexicalMarkdownShortcutPlugin.js": { "import": { "types": "./LexicalMarkdownShortcutPlugin.d.ts", + "node": "./LexicalMarkdownShortcutPlugin.node.mjs", "default": "./LexicalMarkdownShortcutPlugin.mjs" }, "require": "./LexicalMarkdownShortcutPlugin.js" @@ -379,6 +427,7 @@ "./LexicalNestedComposer": { "import": { "types": "./LexicalNestedComposer.d.ts", + "node": "./LexicalNestedComposer.node.mjs", "default": "./LexicalNestedComposer.mjs" }, "require": "./LexicalNestedComposer.js" @@ -386,6 +435,7 @@ "./LexicalNestedComposer.js": { "import": { "types": "./LexicalNestedComposer.d.ts", + "node": "./LexicalNestedComposer.node.mjs", "default": "./LexicalNestedComposer.mjs" }, "require": "./LexicalNestedComposer.js" @@ -393,6 +443,7 @@ "./LexicalNodeEventPlugin": { "import": { "types": "./LexicalNodeEventPlugin.d.ts", + "node": "./LexicalNodeEventPlugin.node.mjs", "default": "./LexicalNodeEventPlugin.mjs" }, "require": "./LexicalNodeEventPlugin.js" @@ -400,6 +451,7 @@ "./LexicalNodeEventPlugin.js": { "import": { "types": "./LexicalNodeEventPlugin.d.ts", + "node": "./LexicalNodeEventPlugin.node.mjs", "default": "./LexicalNodeEventPlugin.mjs" }, "require": "./LexicalNodeEventPlugin.js" @@ -407,6 +459,7 @@ "./LexicalNodeMenuPlugin": { "import": { "types": "./LexicalNodeMenuPlugin.d.ts", + "node": "./LexicalNodeMenuPlugin.node.mjs", "default": "./LexicalNodeMenuPlugin.mjs" }, "require": "./LexicalNodeMenuPlugin.js" @@ -414,6 +467,7 @@ "./LexicalNodeMenuPlugin.js": { "import": { "types": "./LexicalNodeMenuPlugin.d.ts", + "node": "./LexicalNodeMenuPlugin.node.mjs", "default": "./LexicalNodeMenuPlugin.mjs" }, "require": "./LexicalNodeMenuPlugin.js" @@ -421,6 +475,7 @@ "./LexicalOnChangePlugin": { "import": { "types": "./LexicalOnChangePlugin.d.ts", + "node": "./LexicalOnChangePlugin.node.mjs", "default": "./LexicalOnChangePlugin.mjs" }, "require": "./LexicalOnChangePlugin.js" @@ -428,6 +483,7 @@ "./LexicalOnChangePlugin.js": { "import": { "types": "./LexicalOnChangePlugin.d.ts", + "node": "./LexicalOnChangePlugin.node.mjs", "default": "./LexicalOnChangePlugin.mjs" }, "require": "./LexicalOnChangePlugin.js" @@ -435,6 +491,7 @@ "./LexicalPlainTextPlugin": { "import": { "types": "./LexicalPlainTextPlugin.d.ts", + "node": "./LexicalPlainTextPlugin.node.mjs", "default": "./LexicalPlainTextPlugin.mjs" }, "require": "./LexicalPlainTextPlugin.js" @@ -442,6 +499,7 @@ "./LexicalPlainTextPlugin.js": { "import": { "types": "./LexicalPlainTextPlugin.d.ts", + "node": "./LexicalPlainTextPlugin.node.mjs", "default": "./LexicalPlainTextPlugin.mjs" }, "require": "./LexicalPlainTextPlugin.js" @@ -449,6 +507,7 @@ "./LexicalRichTextPlugin": { "import": { "types": "./LexicalRichTextPlugin.d.ts", + "node": "./LexicalRichTextPlugin.node.mjs", "default": "./LexicalRichTextPlugin.mjs" }, "require": "./LexicalRichTextPlugin.js" @@ -456,6 +515,7 @@ "./LexicalRichTextPlugin.js": { "import": { "types": "./LexicalRichTextPlugin.d.ts", + "node": "./LexicalRichTextPlugin.node.mjs", "default": "./LexicalRichTextPlugin.mjs" }, "require": "./LexicalRichTextPlugin.js" @@ -463,6 +523,7 @@ "./LexicalTabIndentationPlugin": { "import": { "types": "./LexicalTabIndentationPlugin.d.ts", + "node": "./LexicalTabIndentationPlugin.node.mjs", "default": "./LexicalTabIndentationPlugin.mjs" }, "require": "./LexicalTabIndentationPlugin.js" @@ -470,6 +531,7 @@ "./LexicalTabIndentationPlugin.js": { "import": { "types": "./LexicalTabIndentationPlugin.d.ts", + "node": "./LexicalTabIndentationPlugin.node.mjs", "default": "./LexicalTabIndentationPlugin.mjs" }, "require": "./LexicalTabIndentationPlugin.js" @@ -477,6 +539,7 @@ "./LexicalTableOfContents": { "import": { "types": "./LexicalTableOfContents.d.ts", + "node": "./LexicalTableOfContents.node.mjs", "default": "./LexicalTableOfContents.mjs" }, "require": "./LexicalTableOfContents.js" @@ -484,6 +547,7 @@ "./LexicalTableOfContents.js": { "import": { "types": "./LexicalTableOfContents.d.ts", + "node": "./LexicalTableOfContents.node.mjs", "default": "./LexicalTableOfContents.mjs" }, "require": "./LexicalTableOfContents.js" @@ -491,6 +555,7 @@ "./LexicalTablePlugin": { "import": { "types": "./LexicalTablePlugin.d.ts", + "node": "./LexicalTablePlugin.node.mjs", "default": "./LexicalTablePlugin.mjs" }, "require": "./LexicalTablePlugin.js" @@ -498,6 +563,7 @@ "./LexicalTablePlugin.js": { "import": { "types": "./LexicalTablePlugin.d.ts", + "node": "./LexicalTablePlugin.node.mjs", "default": "./LexicalTablePlugin.mjs" }, "require": "./LexicalTablePlugin.js" @@ -505,6 +571,7 @@ "./LexicalTreeView": { "import": { "types": "./LexicalTreeView.d.ts", + "node": "./LexicalTreeView.node.mjs", "default": "./LexicalTreeView.mjs" }, "require": "./LexicalTreeView.js" @@ -512,6 +579,7 @@ "./LexicalTreeView.js": { "import": { "types": "./LexicalTreeView.d.ts", + "node": "./LexicalTreeView.node.mjs", "default": "./LexicalTreeView.mjs" }, "require": "./LexicalTreeView.js" @@ -519,6 +587,7 @@ "./LexicalTypeaheadMenuPlugin": { "import": { "types": "./LexicalTypeaheadMenuPlugin.d.ts", + "node": "./LexicalTypeaheadMenuPlugin.node.mjs", "default": "./LexicalTypeaheadMenuPlugin.mjs" }, "require": "./LexicalTypeaheadMenuPlugin.js" @@ -526,6 +595,7 @@ "./LexicalTypeaheadMenuPlugin.js": { "import": { "types": "./LexicalTypeaheadMenuPlugin.d.ts", + "node": "./LexicalTypeaheadMenuPlugin.node.mjs", "default": "./LexicalTypeaheadMenuPlugin.mjs" }, "require": "./LexicalTypeaheadMenuPlugin.js" @@ -533,6 +603,7 @@ "./useLexicalEditable": { "import": { "types": "./useLexicalEditable.d.ts", + "node": "./useLexicalEditable.node.mjs", "default": "./useLexicalEditable.mjs" }, "require": "./useLexicalEditable.js" @@ -540,6 +611,7 @@ "./useLexicalEditable.js": { "import": { "types": "./useLexicalEditable.d.ts", + "node": "./useLexicalEditable.node.mjs", "default": "./useLexicalEditable.mjs" }, "require": "./useLexicalEditable.js" @@ -547,6 +619,7 @@ "./useLexicalIsTextContentEmpty": { "import": { "types": "./useLexicalIsTextContentEmpty.d.ts", + "node": "./useLexicalIsTextContentEmpty.node.mjs", "default": "./useLexicalIsTextContentEmpty.mjs" }, "require": "./useLexicalIsTextContentEmpty.js" @@ -554,6 +627,7 @@ "./useLexicalIsTextContentEmpty.js": { "import": { "types": "./useLexicalIsTextContentEmpty.d.ts", + "node": "./useLexicalIsTextContentEmpty.node.mjs", "default": "./useLexicalIsTextContentEmpty.mjs" }, "require": "./useLexicalIsTextContentEmpty.js" @@ -561,6 +635,7 @@ "./useLexicalNodeSelection": { "import": { "types": "./useLexicalNodeSelection.d.ts", + "node": "./useLexicalNodeSelection.node.mjs", "default": "./useLexicalNodeSelection.mjs" }, "require": "./useLexicalNodeSelection.js" @@ -568,6 +643,7 @@ "./useLexicalNodeSelection.js": { "import": { "types": "./useLexicalNodeSelection.d.ts", + "node": "./useLexicalNodeSelection.node.mjs", "default": "./useLexicalNodeSelection.mjs" }, "require": "./useLexicalNodeSelection.js" @@ -575,6 +651,7 @@ "./useLexicalSubscription": { "import": { "types": "./useLexicalSubscription.d.ts", + "node": "./useLexicalSubscription.node.mjs", "default": "./useLexicalSubscription.mjs" }, "require": "./useLexicalSubscription.js" @@ -582,6 +659,7 @@ "./useLexicalSubscription.js": { "import": { "types": "./useLexicalSubscription.d.ts", + "node": "./useLexicalSubscription.node.mjs", "default": "./useLexicalSubscription.mjs" }, "require": "./useLexicalSubscription.js" @@ -589,6 +667,7 @@ "./useLexicalTextEntity": { "import": { "types": "./useLexicalTextEntity.d.ts", + "node": "./useLexicalTextEntity.node.mjs", "default": "./useLexicalTextEntity.mjs" }, "require": "./useLexicalTextEntity.js" @@ -596,6 +675,7 @@ "./useLexicalTextEntity.js": { "import": { "types": "./useLexicalTextEntity.d.ts", + "node": "./useLexicalTextEntity.node.mjs", "default": "./useLexicalTextEntity.mjs" }, "require": "./useLexicalTextEntity.js" diff --git a/packages/lexical-rich-text/package.json b/packages/lexical-rich-text/package.json index 54fdc73b23df..317621323afd 100644 --- a/packages/lexical-rich-text/package.json +++ b/packages/lexical-rich-text/package.json @@ -21,5 +21,15 @@ "directory": "packages/lexical-rich-text" }, "module": "LexicalRichText.mjs", - "sideEffects": false + "sideEffects": false, + "exports": { + ".": { + "import": { + "types": "./index.d.ts", + "node": "./LexicalRichText.node.mjs", + "default": "./LexicalRichText.mjs" + }, + "require": "./LexicalRichText.js" + } + } } diff --git a/packages/lexical-selection/package.json b/packages/lexical-selection/package.json index 434e3cdbf106..96c67c23f528 100644 --- a/packages/lexical-selection/package.json +++ b/packages/lexical-selection/package.json @@ -20,5 +20,15 @@ "directory": "packages/lexical-selection" }, "module": "LexicalSelection.mjs", - "sideEffects": false + "sideEffects": false, + "exports": { + ".": { + "import": { + "types": "./index.d.ts", + "node": "./LexicalSelection.node.mjs", + "default": "./LexicalSelection.mjs" + }, + "require": "./LexicalSelection.js" + } + } } diff --git a/packages/lexical-table/package.json b/packages/lexical-table/package.json index 0efac840bace..eadfe4a6e942 100644 --- a/packages/lexical-table/package.json +++ b/packages/lexical-table/package.json @@ -22,5 +22,15 @@ "directory": "packages/lexical-table" }, "module": "LexicalTable.mjs", - "sideEffects": false + "sideEffects": false, + "exports": { + ".": { + "import": { + "types": "./index.d.ts", + "node": "./LexicalTable.node.mjs", + "default": "./LexicalTable.mjs" + }, + "require": "./LexicalTable.js" + } + } } diff --git a/packages/lexical-text/package.json b/packages/lexical-text/package.json index f7d0234385fd..4b26d77b43c7 100644 --- a/packages/lexical-text/package.json +++ b/packages/lexical-text/package.json @@ -20,5 +20,15 @@ "directory": "packages/lexical-text" }, "module": "LexicalText.mjs", - "sideEffects": false + "sideEffects": false, + "exports": { + ".": { + "import": { + "types": "./index.d.ts", + "node": "./LexicalText.node.mjs", + "default": "./LexicalText.mjs" + }, + "require": "./LexicalText.js" + } + } } diff --git a/packages/lexical-utils/package.json b/packages/lexical-utils/package.json index 8f4a70986d6d..4acede9a0921 100644 --- a/packages/lexical-utils/package.json +++ b/packages/lexical-utils/package.json @@ -24,5 +24,15 @@ "directory": "packages/lexical-utils" }, "module": "LexicalUtils.mjs", - "sideEffects": false + "sideEffects": false, + "exports": { + ".": { + "import": { + "types": "./index.d.ts", + "node": "./LexicalUtils.node.mjs", + "default": "./LexicalUtils.mjs" + }, + "require": "./LexicalUtils.js" + } + } } diff --git a/packages/lexical-yjs/package.json b/packages/lexical-yjs/package.json index a0d7cb4e1e48..8e5d327834e1 100644 --- a/packages/lexical-yjs/package.json +++ b/packages/lexical-yjs/package.json @@ -26,5 +26,15 @@ "directory": "packages/lexical-yjs" }, "module": "LexicalYjs.mjs", - "sideEffects": false + "sideEffects": false, + "exports": { + ".": { + "import": { + "types": "./index.d.ts", + "node": "./LexicalYjs.node.mjs", + "default": "./LexicalYjs.mjs" + }, + "require": "./LexicalYjs.js" + } + } } diff --git a/packages/lexical/package.json b/packages/lexical/package.json index 82c59a77b76c..18d046d26c1d 100644 --- a/packages/lexical/package.json +++ b/packages/lexical/package.json @@ -17,5 +17,15 @@ "directory": "packages/lexical" }, "module": "Lexical.mjs", - "sideEffects": false + "sideEffects": false, + "exports": { + ".": { + "import": { + "types": "./index.d.ts", + "node": "./Lexical.node.mjs", + "default": "./Lexical.mjs" + }, + "require": "./Lexical.js" + } + } }