improve types

This commit is contained in:
Philipp Kühn 2020-11-10 23:13:27 +01:00
parent 5dbbfaf46a
commit 01e81752f5
36 changed files with 33 additions and 36 deletions

View File

@ -1,7 +1,6 @@
{
"name": "@tiptap/core",
"version": "2.0.0",
"source": "index.ts",
"main": "dist/tiptap-core.cjs.js",
"umd": "dist/tiptap-core.umd.js",
"module": "dist/tiptap-core.esm.js",

View File

@ -1,11 +1,11 @@
{
"name": "@tiptap/extension-blockquote",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-extension-blockquote.cjs.js",
"umd": "dist/tiptap-extension-blockquote.umd.js",
"module": "dist/tiptap-extension-blockquote.esm.js",
"unpkg": "dist/tiptap-extension-blockquote.bundle.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -1,11 +1,11 @@
{
"name": "@tiptap/extension-bold",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-extension-bold.cjs.js",
"umd": "dist/tiptap-extension-bold.umd.js",
"module": "dist/tiptap-extension-bold.esm.js",
"unpkg": "dist/tiptap-extension-bold.bundle.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -1,11 +1,11 @@
{
"name": "@tiptap/extension-bullet-list",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-extension-bullet-list.cjs.js",
"umd": "dist/tiptap-extension-bullet-list.umd.js",
"module": "dist/tiptap-extension-bullet-list.esm.js",
"unpkg": "dist/tiptap-extension-bullet-list.bundle.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -1,11 +1,11 @@
{
"name": "@tiptap/extension-code-block",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-extension-code-block.cjs.js",
"umd": "dist/tiptap-extension-code-block.umd.js",
"module": "dist/tiptap-extension-code-block.esm.js",
"unpkg": "dist/tiptap-extension-code-block.bundle.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -1,7 +1,6 @@
{
"name": "@tiptap/extension-code",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-extension-code.cjs.js",
"umd": "dist/tiptap-extension-code.umd.js",
"module": "dist/tiptap-extension-code.esm.js",

View File

@ -1,11 +1,11 @@
{
"name": "@tiptap/extension-collaboration-cursor",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-extension-collaboration-cursor.cjs.js",
"umd": "dist/tiptap-extension-collaboration-cursor.umd.js",
"module": "dist/tiptap-extension-collaboration-cursor.esm.js",
"unpkg": "dist/tiptap-extension-collaboration-cursor.bundle.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -1,11 +1,11 @@
{
"name": "@tiptap/extension-collaboration",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-extension-collaboration.cjs.js",
"umd": "dist/tiptap-extension-collaboration.umd.js",
"module": "dist/tiptap-extension-collaboration.esm.js",
"unpkg": "dist/tiptap-extension-collaboration.bundle.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -1,11 +1,11 @@
{
"name": "@tiptap/extension-document",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-extension-document.cjs.js",
"umd": "dist/tiptap-extension-document.umd.js",
"module": "dist/tiptap-extension-document.esm.js",
"unpkg": "dist/tiptap-extension-document.bundle.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -1,11 +1,11 @@
{
"name": "@tiptap/extension-dropcursor",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-extension-dropcursor.cjs.js",
"umd": "dist/tiptap-extension-dropcursor.umd.js",
"module": "dist/tiptap-extension-dropcursor.esm.js",
"unpkg": "dist/tiptap-extension-dropcursor.bundle.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -1,11 +1,11 @@
{
"name": "@tiptap/extension-focus",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-extension-focus.cjs.js",
"umd": "dist/tiptap-extension-focus.umd.js",
"module": "dist/tiptap-extension-focus.esm.js",
"unpkg": "dist/tiptap-extension-focus.bundle.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -1,11 +1,11 @@
{
"name": "@tiptap/extension-font-family",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-extension-font-family.cjs.js",
"umd": "dist/tiptap-extension-font-family.umd.js",
"module": "dist/tiptap-extension-font-family.esm.js",
"unpkg": "dist/tiptap-extension-font-family.bundle.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -1,11 +1,11 @@
{
"name": "@tiptap/extension-gapcursor",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-extension-gapcursor.cjs.js",
"umd": "dist/tiptap-extension-gapcursor.umd.js",
"module": "dist/tiptap-extension-gapcursor.esm.js",
"unpkg": "dist/tiptap-extension-gapcursor.bundle.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -1,11 +1,11 @@
{
"name": "@tiptap/extension-hard-break",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-extension-hard-break.cjs.js",
"umd": "dist/tiptap-extension-hard-break.umd.js",
"module": "dist/tiptap-extension-hard-break.esm.js",
"unpkg": "dist/tiptap-extension-hard-break.bundle.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -1,11 +1,11 @@
{
"name": "@tiptap/extension-heading",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-extension-heading.cjs.js",
"umd": "dist/tiptap-extension-heading.umd.js",
"module": "dist/tiptap-extension-heading.esm.js",
"unpkg": "dist/tiptap-extension-heading.bundle.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -1,7 +1,6 @@
{
"name": "@tiptap/extension-highlight",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-extension-highlight.cjs.js",
"umd": "dist/tiptap-extension-highlight.umd.js",
"module": "dist/tiptap-extension-highlight.esm.js",

View File

@ -1,11 +1,11 @@
{
"name": "@tiptap/extension-history",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-extension-history.cjs.js",
"umd": "dist/tiptap-extension-history.umd.js",
"module": "dist/tiptap-extension-history.esm.js",
"unpkg": "dist/tiptap-extension-history.bundle.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -1,11 +1,11 @@
{
"name": "@tiptap/extension-horizontal-rule",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-extension-horizontal-rule.cjs.js",
"umd": "dist/tiptap-extension-horizontal-rule.umd.js",
"module": "dist/tiptap-extension-horizontal-rule.esm.js",
"unpkg": "dist/tiptap-extension-horizontal-rule.bundle.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -1,11 +1,11 @@
{
"name": "@tiptap/extension-image",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-extension-image.cjs.js",
"umd": "dist/tiptap-extension-image.umd.js",
"module": "dist/tiptap-extension-image.esm.js",
"unpkg": "dist/tiptap-extension-image.bundle.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -1,11 +1,11 @@
{
"name": "@tiptap/extension-italic",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-extension-italic.cjs.js",
"umd": "dist/tiptap-extension-italic.umd.js",
"module": "dist/tiptap-extension-italic.esm.js",
"unpkg": "dist/tiptap-extension-italic.bundle.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -1,11 +1,11 @@
{
"name": "@tiptap/extension-link",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-extension-link.cjs.js",
"umd": "dist/tiptap-extension-link.umd.js",
"module": "dist/tiptap-extension-link.esm.js",
"unpkg": "dist/tiptap-extension-link.bundle.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -1,11 +1,11 @@
{
"name": "@tiptap/extension-list-item",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-extension-list-item.cjs.js",
"umd": "dist/tiptap-extension-list-item.umd.js",
"module": "dist/tiptap-extension-list-item.esm.js",
"unpkg": "dist/tiptap-extension-list-item.bundle.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -1,11 +1,11 @@
{
"name": "@tiptap/extension-ordered-list",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-extension-ordered-list.cjs.js",
"umd": "dist/tiptap-extension-ordered-list.umd.js",
"module": "dist/tiptap-extension-ordered-list.esm.js",
"unpkg": "dist/tiptap-extension-ordered-list.bundle.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -1,11 +1,11 @@
{
"name": "@tiptap/extension-paragraph",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-extension-paragraph.cjs.js",
"umd": "dist/tiptap-extension-paragraph.umd.js",
"module": "dist/tiptap-extension-paragraph.esm.js",
"unpkg": "dist/tiptap-extension-paragraph.bundle.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -1,11 +1,11 @@
{
"name": "@tiptap/extension-strike",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-extension-strike.cjs.js",
"umd": "dist/tiptap-extension-strike.umd.js",
"module": "dist/tiptap-extension-strike.esm.js",
"unpkg": "dist/tiptap-extension-strike.bundle.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -1,11 +1,11 @@
{
"name": "@tiptap/extension-task-item",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-extension-task-item.cjs.js",
"umd": "dist/tiptap-extension-task-item.umd.js",
"module": "dist/tiptap-extension-task-item.esm.js",
"unpkg": "dist/tiptap-extension-task-item.bundle.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -1,11 +1,11 @@
{
"name": "@tiptap/extension-task-list",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-extension-task-list.cjs.js",
"umd": "dist/tiptap-extension-task-list.umd.js",
"module": "dist/tiptap-extension-task-list.esm.js",
"unpkg": "dist/tiptap-extension-task-list.bundle.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -1,11 +1,11 @@
{
"name": "@tiptap/extension-text-align",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-extension-text-align.cjs.js",
"umd": "dist/tiptap-extension-text-align.umd.js",
"module": "dist/tiptap-extension-text-align.esm.js",
"unpkg": "dist/tiptap-extension-text-align.bundle.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -1,11 +1,11 @@
{
"name": "@tiptap/extension-text-style",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-extension-text-style.cjs.js",
"umd": "dist/tiptap-extension-text-style.umd.js",
"module": "dist/tiptap-extension-text-style.esm.js",
"unpkg": "dist/tiptap-extension-text-style.bundle.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -1,11 +1,11 @@
{
"name": "@tiptap/extension-text",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-extension-text.cjs.js",
"umd": "dist/tiptap-extension-text.umd.js",
"module": "dist/tiptap-extension-text.esm.js",
"unpkg": "dist/tiptap-extension-text.bundle.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -1,11 +1,11 @@
{
"name": "@tiptap/extension-typography",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-extension-typography.cjs.js",
"umd": "dist/tiptap-extension-typography.umd.js",
"module": "dist/tiptap-extension-typography.esm.js",
"unpkg": "dist/tiptap-extension-typography.bundle.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -1,11 +1,11 @@
{
"name": "@tiptap/extension-underline",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-extension-underline.cjs.js",
"umd": "dist/tiptap-extension-underline.umd.js",
"module": "dist/tiptap-extension-underline.esm.js",
"unpkg": "dist/tiptap-extension-underline.bundle.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -1,11 +1,11 @@
{
"name": "@tiptap/html",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-html.cjs.js",
"umd": "dist/tiptap-html.umd.js",
"module": "dist/tiptap-html.esm.js",
"unpkg": "dist/tiptap-html.bundle.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -1,11 +1,11 @@
{
"name": "@tiptap/starter-kit",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-starter-kit.cjs.js",
"umd": "dist/tiptap-starter-kit.umd.js",
"module": "dist/tiptap-starter-kit.esm.js",
"unpkg": "dist/tiptap-starter-kit.bundle.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -1,11 +1,11 @@
{
"name": "@tiptap/vue-starter-kit",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-vue-starter-kit.cjs.js",
"umd": "dist/tiptap-vue-starter-kit.umd.js",
"module": "dist/tiptap-vue-starter-kit.esm.js",
"unpkg": "dist/tiptap-vue-starter-kit.bundle.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -1,11 +1,11 @@
{
"name": "@tiptap/vue",
"version": "1.0.0",
"source": "index.ts",
"main": "dist/tiptap-vue.cjs.js",
"umd": "dist/tiptap-vue.umd.js",
"module": "dist/tiptap-vue.esm.js",
"unpkg": "dist/tiptap-vue.bundle.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"