Skip to content

Commit

Permalink
fix: add exports to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
philippkuehn committed May 6, 2021
1 parent 78b336d commit 1277fa4
Show file tree
Hide file tree
Showing 48 changed files with 384 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@
"umd": "dist/tiptap-core.umd.js",
"module": "dist/tiptap-core.esm.js",
"types": "dist/packages/core/src/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/tiptap-core.esm.js",
"require": "./dist/tiptap-core.cjs.js",
"default": "./dist/tiptap-core.esm.js"
}
},
"files": [
"src",
"dist"
Expand Down
8 changes: 8 additions & 0 deletions packages/extension-blockquote/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
"umd": "dist/tiptap-extension-blockquote.umd.js",
"module": "dist/tiptap-extension-blockquote.esm.js",
"types": "dist/packages/extension-blockquote/src/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/tiptap-extension-blockquote.esm.js",
"require": "./dist/tiptap-extension-blockquote.cjs.js",
"default": "./dist/tiptap-extension-blockquote.esm.js"
}
},
"files": [
"src",
"dist"
Expand Down
8 changes: 8 additions & 0 deletions packages/extension-bold/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
"umd": "dist/tiptap-extension-bold.umd.js",
"module": "dist/tiptap-extension-bold.esm.js",
"types": "dist/packages/extension-bold/src/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/tiptap-extension-bold.esm.js",
"require": "./dist/tiptap-extension-bold.cjs.js",
"default": "./dist/tiptap-extension-bold.esm.js"
}
},
"files": [
"src",
"dist"
Expand Down
8 changes: 8 additions & 0 deletions packages/extension-bubble-menu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
"umd": "dist/tiptap-extension-bubble-menu.umd.js",
"module": "dist/tiptap-extension-bubble-menu.esm.js",
"types": "dist/packages/extension-bubble-menu/src/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/tiptap-extension-bubble-menu.esm.js",
"require": "./dist/tiptap-extension-bubble-menu.cjs.js",
"default": "./dist/tiptap-extension-bubble-menu.esm.js"
}
},
"files": [
"src",
"dist"
Expand Down
8 changes: 8 additions & 0 deletions packages/extension-bullet-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
"umd": "dist/tiptap-extension-bullet-list.umd.js",
"module": "dist/tiptap-extension-bullet-list.esm.js",
"types": "dist/packages/extension-bullet-list/src/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/tiptap-extension-bullet-list.esm.js",
"require": "./dist/tiptap-extension-bullet-list.cjs.js",
"default": "./dist/tiptap-extension-bullet-list.esm.js"
}
},
"files": [
"src",
"dist"
Expand Down
8 changes: 8 additions & 0 deletions packages/extension-character-count/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
"umd": "dist/tiptap-extension-character-count.umd.js",
"module": "dist/tiptap-extension-character-count.esm.js",
"types": "dist/packages/extension-character-count/src/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/tiptap-extension-character-count.esm.js",
"require": "./dist/tiptap-extension-character-count.cjs.js",
"default": "./dist/tiptap-extension-character-count.esm.js"
}
},
"files": [
"src",
"dist"
Expand Down
8 changes: 8 additions & 0 deletions packages/extension-code-block-lowlight/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
"umd": "dist/tiptap-extension-code-block-lowlight.umd.js",
"module": "dist/tiptap-extension-code-block-lowlight.esm.js",
"types": "dist/packages/extension-code-block-lowlight/src/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/tiptap-extension-code-block-lowlight.esm.js",
"require": "./dist/tiptap-extension-code-block-lowlight.cjs.js",
"default": "./dist/tiptap-extension-code-block-lowlight.esm.js"
}
},
"files": [
"src",
"dist"
Expand Down
8 changes: 8 additions & 0 deletions packages/extension-code-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
"umd": "dist/tiptap-extension-code-block.umd.js",
"module": "dist/tiptap-extension-code-block.esm.js",
"types": "dist/packages/extension-code-block/src/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/tiptap-extension-code-block.esm.js",
"require": "./dist/tiptap-extension-code-block.cjs.js",
"default": "./dist/tiptap-extension-code-block.esm.js"
}
},
"files": [
"src",
"dist"
Expand Down
8 changes: 8 additions & 0 deletions packages/extension-code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
"umd": "dist/tiptap-extension-code.umd.js",
"module": "dist/tiptap-extension-code.esm.js",
"types": "dist/packages/extension-code/src/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/tiptap-extension-code.esm.js",
"require": "./dist/tiptap-extension-code.cjs.js",
"default": "./dist/tiptap-extension-code.esm.js"
}
},
"files": [
"src",
"dist"
Expand Down
8 changes: 8 additions & 0 deletions packages/extension-collaboration-cursor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
"umd": "dist/tiptap-extension-collaboration-cursor.umd.js",
"module": "dist/tiptap-extension-collaboration-cursor.esm.js",
"types": "dist/packages/extension-collaboration-cursor/src/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/tiptap-extension-collaboration-cursor.esm.js",
"require": "./dist/tiptap-extension-collaboration-cursor.cjs.js",
"default": "./dist/tiptap-extension-collaboration-cursor.esm.js"
}
},
"files": [
"src",
"dist"
Expand Down
8 changes: 8 additions & 0 deletions packages/extension-collaboration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
"umd": "dist/tiptap-extension-collaboration.umd.js",
"module": "dist/tiptap-extension-collaboration.esm.js",
"types": "dist/packages/extension-collaboration/src/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/tiptap-extension-collaboration.esm.js",
"require": "./dist/tiptap-extension-collaboration.cjs.js",
"default": "./dist/tiptap-extension-collaboration.esm.js"
}
},
"files": [
"src",
"dist"
Expand Down
8 changes: 8 additions & 0 deletions packages/extension-document/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
"umd": "dist/tiptap-extension-document.umd.js",
"module": "dist/tiptap-extension-document.esm.js",
"types": "dist/packages/extension-document/src/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/tiptap-extension-document.esm.js",
"require": "./dist/tiptap-extension-document.cjs.js",
"default": "./dist/tiptap-extension-document.esm.js"
}
},
"files": [
"src",
"dist"
Expand Down
8 changes: 8 additions & 0 deletions packages/extension-dropcursor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
"umd": "dist/tiptap-extension-dropcursor.umd.js",
"module": "dist/tiptap-extension-dropcursor.esm.js",
"types": "dist/packages/extension-dropcursor/src/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/tiptap-extension-dropcursor.esm.js",
"require": "./dist/tiptap-extension-dropcursor.cjs.js",
"default": "./dist/tiptap-extension-dropcursor.esm.js"
}
},
"files": [
"src",
"dist"
Expand Down
8 changes: 8 additions & 0 deletions packages/extension-floating-menu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
"umd": "dist/tiptap-extension-floating-menu.umd.js",
"module": "dist/tiptap-extension-floating-menu.esm.js",
"types": "dist/packages/extension-floating-menu/src/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/tiptap-extension-floating-menu.esm.js",
"require": "./dist/tiptap-extension-floating-menu.cjs.js",
"default": "./dist/tiptap-extension-floating-menu.esm.js"
}
},
"files": [
"src",
"dist"
Expand Down
8 changes: 8 additions & 0 deletions packages/extension-focus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
"umd": "dist/tiptap-extension-focus.umd.js",
"module": "dist/tiptap-extension-focus.esm.js",
"types": "dist/packages/extension-focus/src/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/tiptap-extension-focus.esm.js",
"require": "./dist/tiptap-extension-focus.cjs.js",
"default": "./dist/tiptap-extension-focus.esm.js"
}
},
"files": [
"src",
"dist"
Expand Down
8 changes: 8 additions & 0 deletions packages/extension-font-family/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
"umd": "dist/tiptap-extension-font-family.umd.js",
"module": "dist/tiptap-extension-font-family.esm.js",
"types": "dist/packages/extension-font-family/src/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/tiptap-extension-font-family.esm.js",
"require": "./dist/tiptap-extension-font-family.cjs.js",
"default": "./dist/tiptap-extension-font-family.esm.js"
}
},
"files": [
"src",
"dist"
Expand Down
8 changes: 8 additions & 0 deletions packages/extension-gapcursor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
"umd": "dist/tiptap-extension-gapcursor.umd.js",
"module": "dist/tiptap-extension-gapcursor.esm.js",
"types": "dist/packages/extension-gapcursor/src/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/tiptap-extension-gapcursor.esm.js",
"require": "./dist/tiptap-extension-gapcursor.cjs.js",
"default": "./dist/tiptap-extension-gapcursor.esm.js"
}
},
"files": [
"src",
"dist"
Expand Down
8 changes: 8 additions & 0 deletions packages/extension-hard-break/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
"umd": "dist/tiptap-extension-hard-break.umd.js",
"module": "dist/tiptap-extension-hard-break.esm.js",
"types": "dist/packages/extension-hard-break/src/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/tiptap-extension-hard-break.esm.js",
"require": "./dist/tiptap-extension-hard-break.cjs.js",
"default": "./dist/tiptap-extension-hard-break.esm.js"
}
},
"files": [
"src",
"dist"
Expand Down
8 changes: 8 additions & 0 deletions packages/extension-heading/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
"umd": "dist/tiptap-extension-heading.umd.js",
"module": "dist/tiptap-extension-heading.esm.js",
"types": "dist/packages/extension-heading/src/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/tiptap-extension-heading.esm.js",
"require": "./dist/tiptap-extension-heading.cjs.js",
"default": "./dist/tiptap-extension-heading.esm.js"
}
},
"files": [
"src",
"dist"
Expand Down
8 changes: 8 additions & 0 deletions packages/extension-highlight/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
"umd": "dist/tiptap-extension-highlight.umd.js",
"module": "dist/tiptap-extension-highlight.esm.js",
"types": "dist/packages/extension-highlight/src/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/tiptap-extension-highlight.esm.js",
"require": "./dist/tiptap-extension-highlight.cjs.js",
"default": "./dist/tiptap-extension-highlight.esm.js"
}
},
"files": [
"src",
"dist"
Expand Down
8 changes: 8 additions & 0 deletions packages/extension-history/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
"umd": "dist/tiptap-extension-history.umd.js",
"module": "dist/tiptap-extension-history.esm.js",
"types": "dist/packages/extension-history/src/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/tiptap-extension-history.esm.js",
"require": "./dist/tiptap-extension-history.cjs.js",
"default": "./dist/tiptap-extension-history.esm.js"
}
},
"files": [
"src",
"dist"
Expand Down
8 changes: 8 additions & 0 deletions packages/extension-horizontal-rule/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
"umd": "dist/tiptap-extension-horizontal-rule.umd.js",
"module": "dist/tiptap-extension-horizontal-rule.esm.js",
"types": "dist/packages/extension-horizontal-rule/src/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/tiptap-extension-horizontal-rule.esm.js",
"require": "./dist/tiptap-extension-horizontal-rule.cjs.js",
"default": "./dist/tiptap-extension-horizontal-rule.esm.js"
}
},
"files": [
"src",
"dist"
Expand Down
8 changes: 8 additions & 0 deletions packages/extension-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
"umd": "dist/tiptap-extension-image.umd.js",
"module": "dist/tiptap-extension-image.esm.js",
"types": "dist/packages/extension-image/src/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/tiptap-extension-image.esm.js",
"require": "./dist/tiptap-extension-image.cjs.js",
"default": "./dist/tiptap-extension-image.esm.js"
}
},
"files": [
"src",
"dist"
Expand Down
8 changes: 8 additions & 0 deletions packages/extension-italic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
"umd": "dist/tiptap-extension-italic.umd.js",
"module": "dist/tiptap-extension-italic.esm.js",
"types": "dist/packages/extension-italic/src/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/tiptap-extension-italic.esm.js",
"require": "./dist/tiptap-extension-italic.cjs.js",
"default": "./dist/tiptap-extension-italic.esm.js"
}
},
"files": [
"src",
"dist"
Expand Down
8 changes: 8 additions & 0 deletions packages/extension-link/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
"umd": "dist/tiptap-extension-link.umd.js",
"module": "dist/tiptap-extension-link.esm.js",
"types": "dist/packages/extension-link/src/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/tiptap-extension-link.esm.js",
"require": "./dist/tiptap-extension-link.cjs.js",
"default": "./dist/tiptap-extension-link.esm.js"
}
},
"files": [
"src",
"dist"
Expand Down
8 changes: 8 additions & 0 deletions packages/extension-list-item/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
"umd": "dist/tiptap-extension-list-item.umd.js",
"module": "dist/tiptap-extension-list-item.esm.js",
"types": "dist/packages/extension-list-item/src/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/tiptap-extension-list-item.esm.js",
"require": "./dist/tiptap-extension-list-item.cjs.js",
"default": "./dist/tiptap-extension-list-item.esm.js"
}
},
"files": [
"src",
"dist"
Expand Down
Loading

0 comments on commit 1277fa4

Please sign in to comment.