build: type defs only emit for a single package's code (#5665)

This commit is contained in:
Nick Perez 2024-09-26 14:51:00 +02:00 committed by GitHub
parent b2598dc2c2
commit 6834a7f7d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
65 changed files with 367 additions and 282 deletions

View File

@ -0,0 +1,59 @@
---
"@tiptap/extension-collaboration-cursor": minor
"@tiptap/extension-code-block-lowlight": minor
"@tiptap/extension-character-count": minor
"@tiptap/extension-horizontal-rule": minor
"@tiptap/extension-collaboration": minor
"@tiptap/extension-floating-menu": minor
"@tiptap/extension-ordered-list": minor
"@tiptap/extension-table-header": minor
"@tiptap/extension-bubble-menu": minor
"@tiptap/extension-bullet-list": minor
"@tiptap/extension-font-family": minor
"@tiptap/extension-list-keymap": minor
"@tiptap/extension-placeholder": minor
"@tiptap/extension-superscript": minor
"@tiptap/extension-blockquote": minor
"@tiptap/extension-code-block": minor
"@tiptap/extension-dropcursor": minor
"@tiptap/extension-hard-break": minor
"@tiptap/extension-table-cell": minor
"@tiptap/extension-text-align": minor
"@tiptap/extension-text-style": minor
"@tiptap/extension-typography": minor
"@tiptap/extension-gapcursor": minor
"@tiptap/extension-highlight": minor
"@tiptap/extension-list-item": minor
"@tiptap/extension-paragraph": minor
"@tiptap/extension-subscript": minor
"@tiptap/extension-table-row": minor
"@tiptap/extension-task-item": minor
"@tiptap/extension-task-list": minor
"@tiptap/extension-underline": minor
"@tiptap/extension-document": minor
"@tiptap/extension-heading": minor
"@tiptap/extension-history": minor
"@tiptap/extension-mention": minor
"@tiptap/extension-youtube": minor
"@tiptap/extension-italic": minor
"@tiptap/extension-strike": minor
"@tiptap/extension-color": minor
"@tiptap/extension-focus": minor
"@tiptap/extension-image": minor
"@tiptap/extension-table": minor
"@tiptap/extension-bold": minor
"@tiptap/extension-code": minor
"@tiptap/extension-link": minor
"@tiptap/extension-text": minor
"@tiptap/starter-kit": minor
"@tiptap/suggestion": minor
"@tiptap/react": minor
"@tiptap/vue-2": minor
"@tiptap/vue-3": minor
"@tiptap/core": minor
"@tiptap/html": minor
"@tiptap/pm": minor
"tiptap-demos": minor
---
Bundling of packages no longer includes tiptap dependency type definitions

View File

@ -55,6 +55,7 @@ jobs:
with:
createGithubReleases: false
publish: npm run publish
version: npm run version
title: ${{ github.ref_name == 'main' && 'Publish a new stable version' || 'Publish a new pre-release version' }}
commit: >-
${{ github.ref_name == 'main' && 'chore(release): publish a new release version' || 'chore(release): publish a new pre-release version' }}

View File

@ -28,7 +28,7 @@ export interface AnnotationOptions {
/**
* An event listener which receives annotations for the current selection.
*/
onUpdate: (items: [any?]) => {},
onUpdate: (items: any[]) => {},
/**
* An initialized Y.js document.
*/

326
package-lock.json generated
View File

@ -18849,10 +18849,10 @@
},
"packages/core": {
"name": "@tiptap/core",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/pm": "^2.7.3"
"@tiptap/pm": "^2.7.4"
},
"funding": {
"type": "github",
@ -18864,10 +18864,10 @@
},
"packages/extension-blockquote": {
"name": "@tiptap/extension-blockquote",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3"
"@tiptap/core": "^2.7.4"
},
"funding": {
"type": "github",
@ -18879,10 +18879,10 @@
},
"packages/extension-bold": {
"name": "@tiptap/extension-bold",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3"
"@tiptap/core": "^2.7.4"
},
"funding": {
"type": "github",
@ -18894,14 +18894,14 @@
},
"packages/extension-bubble-menu": {
"name": "@tiptap/extension-bubble-menu",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"dependencies": {
"tippy.js": "^6.3.7"
},
"devDependencies": {
"@tiptap/core": "^2.7.3",
"@tiptap/pm": "^2.7.3"
"@tiptap/core": "^2.7.4",
"@tiptap/pm": "^2.7.4"
},
"funding": {
"type": "github",
@ -18914,26 +18914,30 @@
},
"packages/extension-bullet-list": {
"name": "@tiptap/extension-bullet-list",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3"
"@tiptap/core": "^2.7.4",
"@tiptap/extension-list-item": "^2.7.4",
"@tiptap/extension-text-style": "^2.7.4"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
"@tiptap/core": "^2.7.0"
"@tiptap/core": "^2.7.0",
"@tiptap/extension-list-item": "^2.7.0",
"@tiptap/extension-text-style": "^2.7.0"
}
},
"packages/extension-character-count": {
"name": "@tiptap/extension-character-count",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3",
"@tiptap/pm": "^2.7.3"
"@tiptap/core": "^2.7.4",
"@tiptap/pm": "^2.7.4"
},
"funding": {
"type": "github",
@ -18946,10 +18950,10 @@
},
"packages/extension-code": {
"name": "@tiptap/extension-code",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3"
"@tiptap/core": "^2.7.4"
},
"funding": {
"type": "github",
@ -18961,11 +18965,11 @@
},
"packages/extension-code-block": {
"name": "@tiptap/extension-code-block",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3",
"@tiptap/pm": "^2.7.3"
"@tiptap/core": "^2.7.4",
"@tiptap/pm": "^2.7.4"
},
"funding": {
"type": "github",
@ -18978,12 +18982,12 @@
},
"packages/extension-code-block-lowlight": {
"name": "@tiptap/extension-code-block-lowlight",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3",
"@tiptap/extension-code-block": "^2.7.3",
"@tiptap/pm": "^2.7.3",
"@tiptap/core": "^2.7.4",
"@tiptap/extension-code-block": "^2.7.4",
"@tiptap/pm": "^2.7.4",
"lowlight": "^2 || ^3"
},
"funding": {
@ -19000,11 +19004,11 @@
},
"packages/extension-collaboration": {
"name": "@tiptap/extension-collaboration",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3",
"@tiptap/pm": "^2.7.3",
"@tiptap/core": "^2.7.4",
"@tiptap/pm": "^2.7.4",
"y-prosemirror": "^1.2.12"
},
"funding": {
@ -19019,10 +19023,10 @@
},
"packages/extension-collaboration-cursor": {
"name": "@tiptap/extension-collaboration-cursor",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3",
"@tiptap/core": "^2.7.4",
"y-prosemirror": "^1.2.12"
},
"funding": {
@ -19086,11 +19090,11 @@
},
"packages/extension-color": {
"name": "@tiptap/extension-color",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3",
"@tiptap/extension-text-style": "^2.7.3"
"@tiptap/core": "^2.7.4",
"@tiptap/extension-text-style": "^2.7.4"
},
"funding": {
"type": "github",
@ -19103,10 +19107,10 @@
},
"packages/extension-document": {
"name": "@tiptap/extension-document",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3"
"@tiptap/core": "^2.7.4"
},
"funding": {
"type": "github",
@ -19118,11 +19122,11 @@
},
"packages/extension-dropcursor": {
"name": "@tiptap/extension-dropcursor",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3",
"@tiptap/pm": "^2.7.3"
"@tiptap/core": "^2.7.4",
"@tiptap/pm": "^2.7.4"
},
"funding": {
"type": "github",
@ -19135,14 +19139,14 @@
},
"packages/extension-floating-menu": {
"name": "@tiptap/extension-floating-menu",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"dependencies": {
"tippy.js": "^6.3.7"
},
"devDependencies": {
"@tiptap/core": "^2.7.3",
"@tiptap/pm": "^2.7.3"
"@tiptap/core": "^2.7.4",
"@tiptap/pm": "^2.7.4"
},
"funding": {
"type": "github",
@ -19155,11 +19159,11 @@
},
"packages/extension-focus": {
"name": "@tiptap/extension-focus",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3",
"@tiptap/pm": "^2.7.3"
"@tiptap/core": "^2.7.4",
"@tiptap/pm": "^2.7.4"
},
"funding": {
"type": "github",
@ -19172,11 +19176,11 @@
},
"packages/extension-font-family": {
"name": "@tiptap/extension-font-family",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3",
"@tiptap/extension-text-style": "^2.7.3"
"@tiptap/core": "^2.7.4",
"@tiptap/extension-text-style": "^2.7.4"
},
"funding": {
"type": "github",
@ -19189,11 +19193,11 @@
},
"packages/extension-gapcursor": {
"name": "@tiptap/extension-gapcursor",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3",
"@tiptap/pm": "^2.7.3"
"@tiptap/core": "^2.7.4",
"@tiptap/pm": "^2.7.4"
},
"funding": {
"type": "github",
@ -19206,10 +19210,10 @@
},
"packages/extension-hard-break": {
"name": "@tiptap/extension-hard-break",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3"
"@tiptap/core": "^2.7.4"
},
"funding": {
"type": "github",
@ -19221,10 +19225,10 @@
},
"packages/extension-heading": {
"name": "@tiptap/extension-heading",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3"
"@tiptap/core": "^2.7.4"
},
"funding": {
"type": "github",
@ -19236,10 +19240,10 @@
},
"packages/extension-highlight": {
"name": "@tiptap/extension-highlight",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3"
"@tiptap/core": "^2.7.4"
},
"funding": {
"type": "github",
@ -19251,11 +19255,11 @@
},
"packages/extension-history": {
"name": "@tiptap/extension-history",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3",
"@tiptap/pm": "^2.7.3"
"@tiptap/core": "^2.7.4",
"@tiptap/pm": "^2.7.4"
},
"funding": {
"type": "github",
@ -19268,11 +19272,11 @@
},
"packages/extension-horizontal-rule": {
"name": "@tiptap/extension-horizontal-rule",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3",
"@tiptap/pm": "^2.7.3"
"@tiptap/core": "^2.7.4",
"@tiptap/pm": "^2.7.4"
},
"funding": {
"type": "github",
@ -19285,10 +19289,10 @@
},
"packages/extension-image": {
"name": "@tiptap/extension-image",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3"
"@tiptap/core": "^2.7.4"
},
"funding": {
"type": "github",
@ -19300,10 +19304,10 @@
},
"packages/extension-italic": {
"name": "@tiptap/extension-italic",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3"
"@tiptap/core": "^2.7.4"
},
"funding": {
"type": "github",
@ -19315,14 +19319,14 @@
},
"packages/extension-link": {
"name": "@tiptap/extension-link",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"dependencies": {
"linkifyjs": "^4.1.0"
},
"devDependencies": {
"@tiptap/core": "^2.7.3",
"@tiptap/pm": "^2.7.3"
"@tiptap/core": "^2.7.4",
"@tiptap/pm": "^2.7.4"
},
"funding": {
"type": "github",
@ -19335,10 +19339,10 @@
},
"packages/extension-list-item": {
"name": "@tiptap/extension-list-item",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3"
"@tiptap/core": "^2.7.4"
},
"funding": {
"type": "github",
@ -19350,10 +19354,10 @@
},
"packages/extension-list-keymap": {
"name": "@tiptap/extension-list-keymap",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3"
"@tiptap/core": "^2.7.4"
},
"funding": {
"type": "github",
@ -19365,12 +19369,12 @@
},
"packages/extension-mention": {
"name": "@tiptap/extension-mention",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3",
"@tiptap/pm": "^2.7.3",
"@tiptap/suggestion": "^2.7.3"
"@tiptap/core": "^2.7.4",
"@tiptap/pm": "^2.7.4",
"@tiptap/suggestion": "^2.7.4"
},
"funding": {
"type": "github",
@ -19384,25 +19388,29 @@
},
"packages/extension-ordered-list": {
"name": "@tiptap/extension-ordered-list",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3"
"@tiptap/core": "^2.7.4",
"@tiptap/extension-list-item": "^2.7.4",
"@tiptap/extension-text-style": "^2.7.4"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
"@tiptap/core": "^2.7.0"
"@tiptap/core": "^2.7.0",
"@tiptap/extension-list-item": "^2.7.0",
"@tiptap/extension-text-style": "^2.7.0"
}
},
"packages/extension-paragraph": {
"name": "@tiptap/extension-paragraph",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3"
"@tiptap/core": "^2.7.4"
},
"funding": {
"type": "github",
@ -19414,11 +19422,11 @@
},
"packages/extension-placeholder": {
"name": "@tiptap/extension-placeholder",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3",
"@tiptap/pm": "^2.7.3"
"@tiptap/core": "^2.7.4",
"@tiptap/pm": "^2.7.4"
},
"funding": {
"type": "github",
@ -19431,10 +19439,10 @@
},
"packages/extension-strike": {
"name": "@tiptap/extension-strike",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3"
"@tiptap/core": "^2.7.4"
},
"funding": {
"type": "github",
@ -19446,10 +19454,10 @@
},
"packages/extension-subscript": {
"name": "@tiptap/extension-subscript",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3"
"@tiptap/core": "^2.7.4"
},
"funding": {
"type": "github",
@ -19461,10 +19469,10 @@
},
"packages/extension-superscript": {
"name": "@tiptap/extension-superscript",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3"
"@tiptap/core": "^2.7.4"
},
"funding": {
"type": "github",
@ -19476,11 +19484,11 @@
},
"packages/extension-table": {
"name": "@tiptap/extension-table",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3",
"@tiptap/pm": "^2.7.3"
"@tiptap/core": "^2.7.4",
"@tiptap/pm": "^2.7.4"
},
"funding": {
"type": "github",
@ -19493,10 +19501,10 @@
},
"packages/extension-table-cell": {
"name": "@tiptap/extension-table-cell",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3"
"@tiptap/core": "^2.7.4"
},
"funding": {
"type": "github",
@ -19508,10 +19516,10 @@
},
"packages/extension-table-header": {
"name": "@tiptap/extension-table-header",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3"
"@tiptap/core": "^2.7.4"
},
"funding": {
"type": "github",
@ -19523,10 +19531,10 @@
},
"packages/extension-table-row": {
"name": "@tiptap/extension-table-row",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3"
"@tiptap/core": "^2.7.4"
},
"funding": {
"type": "github",
@ -19538,11 +19546,11 @@
},
"packages/extension-task-item": {
"name": "@tiptap/extension-task-item",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3",
"@tiptap/pm": "^2.7.3"
"@tiptap/core": "^2.7.4",
"@tiptap/pm": "^2.7.4"
},
"funding": {
"type": "github",
@ -19555,10 +19563,10 @@
},
"packages/extension-task-list": {
"name": "@tiptap/extension-task-list",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3"
"@tiptap/core": "^2.7.4"
},
"funding": {
"type": "github",
@ -19570,10 +19578,10 @@
},
"packages/extension-text": {
"name": "@tiptap/extension-text",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3"
"@tiptap/core": "^2.7.4"
},
"funding": {
"type": "github",
@ -19585,10 +19593,10 @@
},
"packages/extension-text-align": {
"name": "@tiptap/extension-text-align",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3"
"@tiptap/core": "^2.7.4"
},
"funding": {
"type": "github",
@ -19600,10 +19608,10 @@
},
"packages/extension-text-style": {
"name": "@tiptap/extension-text-style",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3"
"@tiptap/core": "^2.7.4"
},
"funding": {
"type": "github",
@ -19615,10 +19623,10 @@
},
"packages/extension-typography": {
"name": "@tiptap/extension-typography",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3"
"@tiptap/core": "^2.7.4"
},
"funding": {
"type": "github",
@ -19630,10 +19638,10 @@
},
"packages/extension-underline": {
"name": "@tiptap/extension-underline",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3"
"@tiptap/core": "^2.7.4"
},
"funding": {
"type": "github",
@ -19645,10 +19653,10 @@
},
"packages/extension-youtube": {
"name": "@tiptap/extension-youtube",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3"
"@tiptap/core": "^2.7.4"
},
"funding": {
"type": "github",
@ -19660,14 +19668,14 @@
},
"packages/html": {
"name": "@tiptap/html",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"dependencies": {
"zeed-dom": "^0.15.1"
},
"devDependencies": {
"@tiptap/core": "^2.7.3",
"@tiptap/pm": "^2.7.3"
"@tiptap/core": "^2.7.4",
"@tiptap/pm": "^2.7.4"
},
"funding": {
"type": "github",
@ -19709,7 +19717,7 @@
},
"packages/pm": {
"name": "@tiptap/pm",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"dependencies": {
"prosemirror-changeset": "^2.2.1",
@ -19738,18 +19746,18 @@
},
"packages/react": {
"name": "@tiptap/react",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"dependencies": {
"@tiptap/extension-bubble-menu": "^2.7.3",
"@tiptap/extension-floating-menu": "^2.7.3",
"@tiptap/extension-bubble-menu": "^2.7.4",
"@tiptap/extension-floating-menu": "^2.7.4",
"@types/use-sync-external-store": "^0.0.6",
"fast-deep-equal": "^3",
"use-sync-external-store": "^1.2.2"
},
"devDependencies": {
"@tiptap/core": "^2.7.3",
"@tiptap/pm": "^2.7.3",
"@tiptap/core": "^2.7.4",
"@tiptap/pm": "^2.7.4",
"@types/react": "^18.2.14",
"@types/react-dom": "^18.2.6",
"react": "^18.0.0",
@ -19768,29 +19776,29 @@
},
"packages/starter-kit": {
"name": "@tiptap/starter-kit",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"dependencies": {
"@tiptap/core": "^2.7.3",
"@tiptap/extension-blockquote": "^2.7.3",
"@tiptap/extension-bold": "^2.7.3",
"@tiptap/extension-bullet-list": "^2.7.3",
"@tiptap/extension-code": "^2.7.3",
"@tiptap/extension-code-block": "^2.7.3",
"@tiptap/extension-document": "^2.7.3",
"@tiptap/extension-dropcursor": "^2.7.3",
"@tiptap/extension-gapcursor": "^2.7.3",
"@tiptap/extension-hard-break": "^2.7.3",
"@tiptap/extension-heading": "^2.7.3",
"@tiptap/extension-history": "^2.7.3",
"@tiptap/extension-horizontal-rule": "^2.7.3",
"@tiptap/extension-italic": "^2.7.3",
"@tiptap/extension-list-item": "^2.7.3",
"@tiptap/extension-ordered-list": "^2.7.3",
"@tiptap/extension-paragraph": "^2.7.3",
"@tiptap/extension-strike": "^2.7.3",
"@tiptap/extension-text": "^2.7.3",
"@tiptap/pm": "^2.7.3"
"@tiptap/core": "^2.7.4",
"@tiptap/extension-blockquote": "^2.7.4",
"@tiptap/extension-bold": "^2.7.4",
"@tiptap/extension-bullet-list": "^2.7.4",
"@tiptap/extension-code": "^2.7.4",
"@tiptap/extension-code-block": "^2.7.4",
"@tiptap/extension-document": "^2.7.4",
"@tiptap/extension-dropcursor": "^2.7.4",
"@tiptap/extension-gapcursor": "^2.7.4",
"@tiptap/extension-hard-break": "^2.7.4",
"@tiptap/extension-heading": "^2.7.4",
"@tiptap/extension-history": "^2.7.4",
"@tiptap/extension-horizontal-rule": "^2.7.4",
"@tiptap/extension-italic": "^2.7.4",
"@tiptap/extension-list-item": "^2.7.4",
"@tiptap/extension-ordered-list": "^2.7.4",
"@tiptap/extension-paragraph": "^2.7.4",
"@tiptap/extension-strike": "^2.7.4",
"@tiptap/extension-text": "^2.7.4",
"@tiptap/pm": "^2.7.4"
},
"funding": {
"type": "github",
@ -19799,11 +19807,11 @@
},
"packages/suggestion": {
"name": "@tiptap/suggestion",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.7.3",
"@tiptap/pm": "^2.7.3"
"@tiptap/core": "^2.7.4",
"@tiptap/pm": "^2.7.4"
},
"funding": {
"type": "github",
@ -19816,16 +19824,16 @@
},
"packages/vue-2": {
"name": "@tiptap/vue-2",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"dependencies": {
"@tiptap/extension-bubble-menu": "^2.7.3",
"@tiptap/extension-floating-menu": "^2.7.3",
"@tiptap/extension-bubble-menu": "^2.7.4",
"@tiptap/extension-floating-menu": "^2.7.4",
"vue-ts-types": "^1.6.0"
},
"devDependencies": {
"@tiptap/core": "^2.7.3",
"@tiptap/pm": "^2.7.3",
"@tiptap/core": "^2.7.4",
"@tiptap/pm": "^2.7.4",
"vue": "^2.6.0"
},
"funding": {
@ -19876,15 +19884,15 @@
},
"packages/vue-3": {
"name": "@tiptap/vue-3",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"dependencies": {
"@tiptap/extension-bubble-menu": "^2.7.3",
"@tiptap/extension-floating-menu": "^2.7.3"
"@tiptap/extension-bubble-menu": "^2.7.4",
"@tiptap/extension-floating-menu": "^2.7.4"
},
"devDependencies": {
"@tiptap/core": "^2.7.3",
"@tiptap/pm": "^2.7.3",
"@tiptap/core": "^2.7.4",
"@tiptap/pm": "^2.7.4",
"vue": "^3.0.0"
},
"funding": {

View File

@ -31,7 +31,8 @@
"reset": "npm run clean:packages && npm run clean:packs && rm -rf ./**/.cache && rm -rf ./**/node_modules && rm -rf ./package-lock.json && npm install",
"prepare": "husky install",
"turbo": "turbo",
"changeset": "changeset"
"changeset": "changeset",
"version": "npm run changeset -- version && npm i"
},
"devDependencies": {
"@babel/core": "^7.24.7",

View File

@ -18,7 +18,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/core/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -26,7 +26,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/core/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -12,8 +12,9 @@ import { getSchemaByResolvedExtensions } from './helpers/getSchemaByResolvedExte
import { getSchemaTypeByName } from './helpers/getSchemaTypeByName.js'
import { isExtensionRulesEnabled } from './helpers/isExtensionRulesEnabled.js'
import { splitExtensions } from './helpers/splitExtensions.js'
import { Mark, NodeConfig } from './index.js'
import type { NodeConfig } from './index.js'
import { InputRule, inputRulesPlugin } from './InputRule.js'
import { Mark } from './Mark.js'
import { PasteRule, pasteRulesPlugin } from './PasteRule.js'
import { AnyConfig, Extensions, RawCommands } from './types.js'
import { callOrReturn } from './utilities/callOrReturn.js'

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-blockquote/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-blockquote/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-bold/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-bold/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-bubble-menu/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-bubble-menu/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-bullet-list/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,16 +23,20 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-bullet-list/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.7.4"
"@tiptap/core": "^2.7.4",
"@tiptap/extension-list-item": "^2.7.4",
"@tiptap/extension-text-style": "^2.7.4"
},
"peerDependencies": {
"@tiptap/core": "^2.7.0"
"@tiptap/core": "^2.7.0",
"@tiptap/extension-list-item": "^2.7.0",
"@tiptap/extension-text-style": "^2.7.0"
},
"repository": {
"type": "git",

View File

@ -1,7 +1,6 @@
import { mergeAttributes, Node, wrappingInputRule } from '@tiptap/core'
import ListItem from '../../extension-list-item/src/index.js'
import TextStyle from '../../extension-text-style/src/index.js'
import { ListItem } from '@tiptap/extension-list-item'
import { TextStyle } from '@tiptap/extension-text-style'
export interface BulletListOptions {
/**

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-character-count/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-character-count/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-code-block-lowlight/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-code-block-lowlight/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-code-block/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-code-block/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-code/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-code/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-collaboration-cursor/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-collaboration-cursor/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-collaboration/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-collaboration/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-color/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-color/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-document/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-document/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-dropcursor/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-dropcursor/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-floating-menu/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-floating-menu/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-focus/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-focus/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-font-family/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-font-family/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-gapcursor/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-gapcursor/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-hard-break/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-hard-break/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-heading/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-heading/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-highlight/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-highlight/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-history/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-history/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-horizontal-rule/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-horizontal-rule/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-image/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-image/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-italic/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-italic/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-link/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-link/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-list-item/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-list-item/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-list-keymap/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-list-keymap/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-mention/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-mention/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-ordered-list/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,16 +23,20 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-ordered-list/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.7.4"
"@tiptap/core": "^2.7.4",
"@tiptap/extension-list-item": "^2.7.4",
"@tiptap/extension-text-style": "^2.7.4"
},
"peerDependencies": {
"@tiptap/core": "^2.7.0"
"@tiptap/core": "^2.7.0",
"@tiptap/extension-list-item": "^2.7.0",
"@tiptap/extension-text-style": "^2.7.0"
},
"repository": {
"type": "git",

View File

@ -1,7 +1,6 @@
import { mergeAttributes, Node, wrappingInputRule } from '@tiptap/core'
import ListItem from '../../extension-list-item/src/index.js'
import TextStyle from '../../extension-text-style/src/index.js'
import { ListItem } from '@tiptap/extension-list-item'
import { TextStyle } from '@tiptap/extension-text-style'
export interface OrderedListOptions {
/**

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-paragraph/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-paragraph/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-placeholder/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-placeholder/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-strike/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-strike/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-subscript/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-subscript/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-superscript/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-superscript/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-table-cell/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-table-cell/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-table-header/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-table-header/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-table-row/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-table-row/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-table/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-table/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-task-item/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-task-item/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-task-list/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-task-list/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-text-align/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-text-align/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-text-style/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-text-style/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-text/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-text/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-typography/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-typography/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-underline/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-underline/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -15,7 +15,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-youtube/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -23,7 +23,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/extension-youtube/src/index.d.ts",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -14,7 +14,7 @@
},
"exports": {
".": {
"types": "./dist/packages/html/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -22,7 +22,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/html/src/index.d.ts",
"types": "dist/index.d.ts",
"type": "module",
"files": [
"src",

View File

@ -14,7 +14,7 @@
},
"exports": {
".": {
"types": "./dist/packages/react/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -22,7 +22,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/react/src/index.d.ts",
"types": "dist/index.d.ts",
"type": "module",
"files": [
"src",

View File

@ -14,7 +14,7 @@
},
"exports": {
".": {
"types": "./dist/packages/starter-kit/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -22,7 +22,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/starter-kit/src/index.d.ts",
"types": "dist/index.d.ts",
"type": "module",
"files": [
"src",

View File

@ -14,7 +14,7 @@
},
"exports": {
".": {
"types": "./dist/packages/suggestion/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -22,7 +22,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/suggestion/src/index.d.ts",
"types": "dist/index.d.ts",
"type": "module",
"files": [
"src",

View File

@ -14,7 +14,7 @@
},
"exports": {
".": {
"types": "./dist/packages/vue-2/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -22,7 +22,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/vue-2/src/index.d.ts",
"types": "dist/index.d.ts",
"type": "module",
"files": [
"src",

View File

@ -14,7 +14,7 @@
},
"exports": {
".": {
"types": "./dist/packages/vue-3/src/index.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
@ -22,7 +22,7 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"umd": "dist/index.umd.js",
"types": "dist/packages/vue-3/src/index.d.ts",
"types": "dist/index.d.ts",
"type": "module",
"files": [
"src",

View File

@ -51,9 +51,12 @@ export const baseConfig = ({
tsconfigOverride: {
compilerOptions: {
declaration: true,
rootDir: `./packages/${pkg.name.split('/')[1]}/src`,
declarationMap: true,
paths: {
'@tiptap/*': ['packages/*/src'],
'@tiptap/*': ['packages/*/dist', 'packages/*/src'],
},
noEmit: false,
},
include: null,
},

View File

@ -59,7 +59,7 @@ describe('mergeAttributes', () => {
})
it('should ignore falsy values', () => {
const value = mergeAttributes(undefined, { class: 'foo' })
const value = mergeAttributes(undefined as any, { class: 'foo' })
expect(value).to.deep.eq({
class: 'foo',

View File

@ -15,8 +15,9 @@
"rootDir": ".",
"allowJs": true,
"checkJs": false,
"noEmit": true,
"paths": {
"@tiptap/*": ["packages/*/dist", "packages/*/src"]
"@tiptap/*": ["packages/*/src", "packages/*/dist"]
},
"lib": [
"esnext",

View File

@ -2,7 +2,12 @@
"$schema": "https://turbo.build/schema.json",
"tasks": {
"build": {
"inputs": ["src/**", "rollup.config.js"],
"inputs": [
"src/**",
"rollup.config.js",
"../../tsconfig.json",
"../../shared/rollup-config/index.js"
],
"dependsOn": ["^build"],
"outputs": ["dist/**"]
},