Change Build Process to Lerna + tsup & prepare for prosemirror-meta package (#3555)

* chore:(core): migrate to tsup

* chore: migrate blockquote and bold to tsup

* chore: migrated bubble-menu and bullet-list to tsup

* chore: migrated more packages to tsup

* chore: migrate code and character extensions to tsup

* chore: update package.json to simplify build for all packages

* chore: move all packages to tsup as a build process

* chore: change ci build task

* chore: clean up and fix issues related to new build

* fix: fix demo build

* fix: fix demo build

* fix: fix tsconfig files to reference only one source

* fix: fix minor ts issues
This commit is contained in:
Dominik 2023-01-25 10:19:51 +01:00 committed by GitHub
parent cf47b2b08b
commit e46f8e3334
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
115 changed files with 2675 additions and 4057 deletions

4
.gitignore vendored
View File

@ -26,3 +26,7 @@ tests/cypress/videos
/tests/cypress/screenshots
# Ignore intellij project files
.idea
# packaged files
packages/**/*.tgz
demos/*.tgz

View File

@ -4,7 +4,7 @@
"private": true,
"scripts": {
"start": "vite --host",
"build": "npm run ts && vite build",
"build:demos": "npm run ts && vite build",
"preview": "vite preview",
"ts": "tsc --project tsconfig.base.json --noEmit && tsc --project tsconfig.react.json --noEmit && tsc --project tsconfig.vue-2.json --noEmit && tsc --project tsconfig.vue-3.json --noEmit"
},

4981
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -15,10 +15,9 @@
"lint:staged": "lint-staged",
"test:open": "cypress open --project tests",
"test": "cypress run --project tests",
"build:demos": "npm --prefix ./demos run build",
"build:ci": "npm run clean:packages && for dir in packages/*; do package=${dir#'packages/'}; rollup -c --ci --scope @tiptap/$package || exit 1; done",
"build:packages": "npm run clean:packages && lerna changed | while read package; do rollup -c --scope $package || exit 1; done",
"build:allpackages": "npm run clean:packages && for dir in packages/*; do package=${dir#'packages/'}; rollup -c --scope @tiptap/$package || exit 1; done",
"build": "npm run clean:packages && lerna run build",
"build:demos": "npm --prefix ./demos run build:demos",
"build:ci": "npm run build",
"release:major": "lerna version major --force-publish",
"release:major:pre": "lerna version premajor --force-publish",
"release:minor": "lerna version minor --force-publish",
@ -27,12 +26,12 @@
"release:patch:pre": "lerna version prepatch --force-publish",
"release:pre": "lerna version prerelease --force-publish",
"publish": "npm run build:packages && lerna exec --since --no-private -- npm publish --access public",
"pack": "lerna exec -- npm pack",
"clean:packages": "rm -rf ./packages/*/dist",
"reset": "npm run clean:packages && rm -rf ./**/.cache && rm -rf ./**/node_modules && rm -rf ./package-lock.json && npm install",
"prepare": "husky install"
},
"devDependencies": {
"@atomico/rollup-plugin-sizes": "^1.1.4",
"@babel/core": "^7.17.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7",
"@babel/plugin-proposal-optional-chaining": "^7.16.7",
@ -42,9 +41,6 @@
"@lerna/batch-packages": "^3.16.0",
"@lerna/filter-packages": "^5.0.0",
"@lerna/project": "^5.0.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^13.1.3",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"babel-loader": "^8.2.3",
@ -60,12 +56,9 @@
"lerna": "^5.5.1",
"lint-staged": "^13.0.3",
"minimist": "^1.2.5",
"rollup": "^2.67.0",
"rollup-plugin-auto-external": "^2.0.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-typescript2": "^0.31.2",
"ts-loader": "^9.2.6",
"typescript": "^4.5.5",
"tsup": "^6.5.0",
"typescript": "4.7.4",
"webpack": "^5.68.0"
},
"name": "tiptap"

View File

@ -18,15 +18,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/core/src/index.d.ts",
"import": "./dist/tiptap-core.esm.js",
"require": "./dist/tiptap-core.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-core.cjs",
"umd": "dist/tiptap-core.umd.js",
"module": "dist/tiptap-core.esm.js",
"types": "dist/packages/core/src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -54,5 +53,19 @@
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/core"
},
"sideEffects": false
"sideEffects": false,
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -324,7 +324,7 @@ export class Extension<Options = any, Storage = any> {
// with different calls of `configure`
const extension = this.extend()
extension.options = mergeDeep(this.options, options) as Options
extension.options = mergeDeep(this.options as Record<string, any>, options) as Options
extension.storage = callOrReturn(getExtensionField<AnyConfig['addStorage']>(
extension,

View File

@ -64,9 +64,8 @@ const inputRuleMatcherHandler = (text: string, find: InputRuleFinder): ExtendedR
return null
}
const result: ExtendedRegExpMatchArray = []
const result: ExtendedRegExpMatchArray = [inputRuleMatch.text]
result.push(inputRuleMatch.text)
result.index = inputRuleMatch.index
result.input = text
result.data = inputRuleMatch.data

View File

@ -443,7 +443,7 @@ export class Mark<Options = any, Storage = any> {
// with different calls of `configure`
const extension = this.extend()
extension.options = mergeDeep(this.options, options) as Options
extension.options = mergeDeep(this.options as Record<string, any>, options) as Options
extension.storage = callOrReturn(getExtensionField<AnyConfig['addStorage']>(
extension,

View File

@ -528,7 +528,7 @@ export class Node<Options = any, Storage = any> {
// with different calls of `configure`
const extension = this.extend()
extension.options = mergeDeep(this.options, options) as Options
extension.options = mergeDeep(this.options as Record<string, any>, options) as Options
extension.storage = callOrReturn(getExtensionField<AnyConfig['addStorage']>(
extension,

View File

@ -65,9 +65,8 @@ const pasteRuleMatcherHandler = (text: string, find: PasteRuleFinder): ExtendedR
}
return matches.map(pasteRuleMatch => {
const result: ExtendedRegExpMatchArray = []
const result: ExtendedRegExpMatchArray = [pasteRuleMatch.text]
result.push(pasteRuleMatch.text)
result.index = pasteRuleMatch.index
result.input = text
result.data = pasteRuleMatch.data

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-blockquote/src/index.d.ts",
"import": "./dist/tiptap-extension-blockquote.esm.js",
"require": "./dist/tiptap-extension-blockquote.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-blockquote.cjs",
"umd": "dist/tiptap-extension-blockquote.umd.js",
"module": "dist/tiptap-extension-blockquote.esm.js",
"types": "dist/packages/extension-blockquote/src/index.d.ts",
"main": "dist/index.d.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -38,5 +37,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-blockquote"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-bold/src/index.d.ts",
"import": "./dist/tiptap-extension-bold.esm.js",
"require": "./dist/tiptap-extension-bold.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-bold.cjs",
"umd": "dist/tiptap-extension-bold.umd.js",
"module": "dist/tiptap-extension-bold.esm.js",
"types": "dist/packages/extension-bold/src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -38,5 +37,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-bold"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-bubble-menu/src/index.d.ts",
"import": "./dist/tiptap-extension-bubble-menu.esm.js",
"require": "./dist/tiptap-extension-bubble-menu.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-bubble-menu.cjs",
"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",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -48,5 +47,19 @@
"sideEffects": false,
"devDependencies": {
"@types/lodash": "^4.14.187"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-bullet-list/src/index.d.ts",
"import": "./dist/tiptap-extension-bullet-list.esm.js",
"require": "./dist/tiptap-extension-bullet-list.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-bullet-list.cjs",
"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",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -38,5 +37,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-bullet-list"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-character-count/src/index.d.ts",
"import": "./dist/tiptap-extension-character-count.esm.js",
"require": "./dist/tiptap-extension-character-count.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-character-count.cjs",
"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",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -42,5 +41,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-character-count"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-code-block-lowlight/src/index.d.ts",
"import": "./dist/tiptap-extension-code-block-lowlight.esm.js",
"require": "./dist/tiptap-extension-code-block-lowlight.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-code-block-lowlight.cjs",
"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",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -46,5 +45,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-code-block-lowlight"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-code-block/src/index.d.ts",
"import": "./dist/tiptap-extension-code-block.esm.js",
"require": "./dist/tiptap-extension-code-block.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-code-block.cjs",
"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",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -40,5 +39,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-code-block"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-code/src/index.d.ts",
"import": "./dist/tiptap-extension-code.esm.js",
"require": "./dist/tiptap-extension-code.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-code.cjs",
"umd": "dist/tiptap-extension-code.umd.js",
"module": "dist/tiptap-extension-code.esm.js",
"types": "dist/packages/extension-code/src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -38,5 +37,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-code"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-collaboration-cursor/src/index.d.ts",
"import": "./dist/tiptap-extension-collaboration-cursor.esm.js",
"require": "./dist/tiptap-extension-collaboration-cursor.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-collaboration-cursor.cjs",
"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",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -40,5 +39,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-collaboration-cursor"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-collaboration/src/index.d.ts",
"import": "./dist/tiptap-extension-collaboration.esm.js",
"require": "./dist/tiptap-extension-collaboration.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-collaboration.cjs",
"umd": "dist/tiptap-extension-collaboration.umd.js",
"module": "dist/tiptap-extension-collaboration.esm.js",
"types": "dist/packages/extension-collaboration/src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -42,5 +41,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-collaboration"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-color/src/index.d.ts",
"import": "./dist/tiptap-extension-color.esm.js",
"require": "./dist/tiptap-extension-color.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-color.cjs",
"umd": "dist/tiptap-extension-color.umd.js",
"module": "dist/tiptap-extension-color.esm.js",
"types": "dist/packages/extension-color/src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -40,5 +39,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-color"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-document/src/index.d.ts",
"import": "./dist/tiptap-extension-document.esm.js",
"require": "./dist/tiptap-extension-document.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-document.cjs",
"umd": "dist/tiptap-extension-document.umd.js",
"module": "dist/tiptap-extension-document.esm.js",
"types": "dist/packages/extension-document/src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -38,5 +37,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-document"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-dropcursor/src/index.d.ts",
"import": "./dist/tiptap-extension-dropcursor.esm.js",
"require": "./dist/tiptap-extension-dropcursor.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-dropcursor.cjs",
"umd": "dist/tiptap-extension-dropcursor.umd.js",
"module": "dist/tiptap-extension-dropcursor.esm.js",
"types": "dist/packages/extension-dropcursor/src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -40,5 +39,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-dropcursor"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-floating-menu/src/index.d.ts",
"import": "./dist/tiptap-extension-floating-menu.esm.js",
"require": "./dist/tiptap-extension-floating-menu.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-floating-menu.cjs",
"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",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -46,5 +45,19 @@
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-floating-menu"
},
"sideEffects": false
"sideEffects": false,
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-focus/src/index.d.ts",
"import": "./dist/tiptap-extension-focus.esm.js",
"require": "./dist/tiptap-extension-focus.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-focus.cjs",
"umd": "dist/tiptap-extension-focus.umd.js",
"module": "dist/tiptap-extension-focus.esm.js",
"types": "dist/packages/extension-focus/src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -42,5 +41,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-focus"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-font-family/src/index.d.ts",
"import": "./dist/tiptap-extension-font-family.esm.js",
"require": "./dist/tiptap-extension-font-family.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-font-family.cjs",
"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",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -40,5 +39,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-font-family"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-gapcursor/src/index.d.ts",
"import": "./dist/tiptap-extension-gapcursor.esm.js",
"require": "./dist/tiptap-extension-gapcursor.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-gapcursor.cjs",
"umd": "dist/tiptap-extension-gapcursor.umd.js",
"module": "dist/tiptap-extension-gapcursor.esm.js",
"types": "dist/packages/extension-gapcursor/src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -40,5 +39,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-gapcursor"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-hard-break/src/index.d.ts",
"import": "./dist/tiptap-extension-hard-break.esm.js",
"require": "./dist/tiptap-extension-hard-break.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-hard-break.cjs",
"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",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -38,5 +37,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-hard-break"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-heading/src/index.d.ts",
"import": "./dist/tiptap-extension-heading.esm.js",
"require": "./dist/tiptap-extension-heading.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-heading.cjs",
"umd": "dist/tiptap-extension-heading.umd.js",
"module": "dist/tiptap-extension-heading.esm.js",
"types": "dist/packages/extension-heading/src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -38,5 +37,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-heading"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-highlight/src/index.d.ts",
"import": "./dist/tiptap-extension-highlight.esm.js",
"require": "./dist/tiptap-extension-highlight.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-highlight.cjs",
"umd": "dist/tiptap-extension-highlight.umd.js",
"module": "dist/tiptap-extension-highlight.esm.js",
"types": "dist/packages/extension-highlight/src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -38,5 +37,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-highlight"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-history/src/index.d.ts",
"import": "./dist/tiptap-extension-history.esm.js",
"require": "./dist/tiptap-extension-history.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-history.cjs",
"umd": "dist/tiptap-extension-history.umd.js",
"module": "dist/tiptap-extension-history.esm.js",
"types": "dist/packages/extension-history/src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -40,5 +39,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-history"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-horizontal-rule/src/index.d.ts",
"import": "./dist/tiptap-extension-horizontal-rule.esm.js",
"require": "./dist/tiptap-extension-horizontal-rule.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-horizontal-rule.cjs",
"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",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -40,5 +39,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-horizontal-rule"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-image/src/index.d.ts",
"import": "./dist/tiptap-extension-image.esm.js",
"require": "./dist/tiptap-extension-image.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-image.cjs",
"umd": "dist/tiptap-extension-image.umd.js",
"module": "dist/tiptap-extension-image.esm.js",
"types": "dist/packages/extension-image/src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -38,5 +37,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-image"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-italic/src/index.d.ts",
"import": "./dist/tiptap-extension-italic.esm.js",
"require": "./dist/tiptap-extension-italic.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-italic.cjs",
"umd": "dist/tiptap-extension-italic.umd.js",
"module": "dist/tiptap-extension-italic.esm.js",
"types": "dist/packages/extension-italic/src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -38,5 +37,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-italic"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-link/src/index.d.ts",
"import": "./dist/tiptap-extension-link.esm.js",
"require": "./dist/tiptap-extension-link.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-link.cjs",
"umd": "dist/tiptap-extension-link.umd.js",
"module": "dist/tiptap-extension-link.esm.js",
"types": "dist/packages/extension-link/src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -45,5 +44,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-link"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-list-item/src/index.d.ts",
"import": "./dist/tiptap-extension-list-item.esm.js",
"require": "./dist/tiptap-extension-list-item.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-list-item.cjs",
"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",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -38,5 +37,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-list-item"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-mention/src/index.d.ts",
"import": "./dist/tiptap-extension-mention.esm.js",
"require": "./dist/tiptap-extension-mention.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-mention.cjs",
"umd": "dist/tiptap-extension-mention.umd.js",
"module": "dist/tiptap-extension-mention.esm.js",
"types": "dist/packages/extension-mention/src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -44,5 +43,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-mention"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-ordered-list/src/index.d.ts",
"import": "./dist/tiptap-extension-ordered-list.esm.js",
"require": "./dist/tiptap-extension-ordered-list.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-ordered-list.cjs",
"umd": "dist/tiptap-extension-ordered-list.umd.js",
"module": "dist/tiptap-extension-ordered-list.esm.js",
"types": "dist/packages/extension-ordered-list/src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -38,5 +37,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-ordered-list"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-paragraph/src/index.d.ts",
"import": "./dist/tiptap-extension-paragraph.esm.js",
"require": "./dist/tiptap-extension-paragraph.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-paragraph.cjs",
"umd": "dist/tiptap-extension-paragraph.umd.js",
"module": "dist/tiptap-extension-paragraph.esm.js",
"types": "dist/packages/extension-paragraph/src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -38,5 +37,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-paragraph"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-placeholder/src/index.d.ts",
"import": "./dist/tiptap-extension-placeholder.esm.js",
"require": "./dist/tiptap-extension-placeholder.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-placeholder.cjs",
"umd": "dist/tiptap-extension-placeholder.umd.js",
"module": "dist/tiptap-extension-placeholder.esm.js",
"types": "dist/packages/extension-placeholder/src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -44,5 +43,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-placeholder"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-strike/src/index.d.ts",
"import": "./dist/tiptap-extension-strike.esm.js",
"require": "./dist/tiptap-extension-strike.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-strike.cjs",
"umd": "dist/tiptap-extension-strike.umd.js",
"module": "dist/tiptap-extension-strike.esm.js",
"types": "dist/packages/extension-strike/src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -38,5 +37,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-strike"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-subscript/src/index.d.ts",
"import": "./dist/tiptap-extension-subscript.esm.js",
"require": "./dist/tiptap-extension-subscript.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-subscript.cjs",
"umd": "dist/tiptap-extension-subscript.umd.js",
"module": "dist/tiptap-extension-subscript.esm.js",
"types": "dist/packages/extension-subscript/src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -38,5 +37,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-subscript"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-superscript/src/index.d.ts",
"import": "./dist/tiptap-extension-superscript.esm.js",
"require": "./dist/tiptap-extension-superscript.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-superscript.cjs",
"umd": "dist/tiptap-extension-superscript.umd.js",
"module": "dist/tiptap-extension-superscript.esm.js",
"types": "dist/packages/extension-superscript/src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -38,5 +37,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-superscript"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-table-cell/src/index.d.ts",
"import": "./dist/tiptap-extension-table-cell.esm.js",
"require": "./dist/tiptap-extension-table-cell.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-table-cell.cjs",
"umd": "dist/tiptap-extension-table-cell.umd.js",
"module": "dist/tiptap-extension-table-cell.esm.js",
"types": "dist/packages/extension-table-cell/src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -38,5 +37,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-table-cell"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-table-header/src/index.d.ts",
"import": "./dist/tiptap-extension-table-header.esm.js",
"require": "./dist/tiptap-extension-table-header.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-table-header.cjs",
"umd": "dist/tiptap-extension-table-header.umd.js",
"module": "dist/tiptap-extension-table-header.esm.js",
"types": "dist/packages/extension-table-header/src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -38,5 +37,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-table-header"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-table-row/src/index.d.ts",
"import": "./dist/tiptap-extension-table-row.esm.js",
"require": "./dist/tiptap-extension-table-row.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-table-row.cjs",
"umd": "dist/tiptap-extension-table-row.umd.js",
"module": "dist/tiptap-extension-table-row.esm.js",
"types": "dist/packages/extension-table-row/src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -38,5 +37,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-table-row"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-table/src/index.d.ts",
"import": "./dist/tiptap-extension-table.esm.js",
"require": "./dist/tiptap-extension-table.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-table.cjs",
"umd": "dist/tiptap-extension-table.umd.js",
"module": "dist/tiptap-extension-table.esm.js",
"types": "dist/packages/extension-table/src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -46,5 +45,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-table"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-task-item/src/index.d.ts",
"import": "./dist/tiptap-extension-task-item.esm.js",
"require": "./dist/tiptap-extension-task-item.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-task-item.cjs",
"umd": "dist/tiptap-extension-task-item.umd.js",
"module": "dist/tiptap-extension-task-item.esm.js",
"types": "dist/packages/extension-task-item/src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -40,5 +39,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-task-item"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-task-list/src/index.d.ts",
"import": "./dist/tiptap-extension-task-list.esm.js",
"require": "./dist/tiptap-extension-task-list.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-task-list.cjs",
"umd": "dist/tiptap-extension-task-list.umd.js",
"module": "dist/tiptap-extension-task-list.esm.js",
"types": "dist/packages/extension-task-list/src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -38,5 +37,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-task-list"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-text-align/src/index.d.ts",
"import": "./dist/tiptap-extension-text-align.esm.js",
"require": "./dist/tiptap-extension-text-align.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-text-align.cjs",
"umd": "dist/tiptap-extension-text-align.umd.js",
"module": "dist/tiptap-extension-text-align.esm.js",
"types": "dist/packages/extension-text-align/src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -38,5 +37,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-text-align"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-text-style/src/index.d.ts",
"import": "./dist/tiptap-extension-text-style.esm.js",
"require": "./dist/tiptap-extension-text-style.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-text-style.cjs",
"umd": "dist/tiptap-extension-text-style.umd.js",
"module": "dist/tiptap-extension-text-style.esm.js",
"types": "dist/packages/extension-text-style/src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -38,5 +37,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-text-style"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-text/src/index.d.ts",
"import": "./dist/tiptap-extension-text.esm.js",
"require": "./dist/tiptap-extension-text.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-text.cjs",
"umd": "dist/tiptap-extension-text.umd.js",
"module": "dist/tiptap-extension-text.esm.js",
"types": "dist/packages/extension-text/src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -38,5 +37,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-text"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-typography/src/index.d.ts",
"import": "./dist/tiptap-extension-typography.esm.js",
"require": "./dist/tiptap-extension-typography.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-typography.cjs",
"umd": "dist/tiptap-extension-typography.umd.js",
"module": "dist/tiptap-extension-typography.esm.js",
"types": "dist/packages/extension-typography/src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -38,5 +37,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-typography"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-underline/src/index.d.ts",
"import": "./dist/tiptap-extension-underline.esm.js",
"require": "./dist/tiptap-extension-underline.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-underline.cjs",
"umd": "dist/tiptap-extension-underline.umd.js",
"module": "dist/tiptap-extension-underline.esm.js",
"types": "dist/packages/extension-underline/src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -38,5 +37,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-underline"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}

View File

@ -15,15 +15,14 @@
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-youtube/src/index.d.ts",
"import": "./dist/tiptap-extension-youtube.esm.js",
"require": "./dist/tiptap-extension-youtube.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/tiptap-extension-youtube.cjs",
"umd": "dist/tiptap-extension-youtube.umd.js",
"module": "dist/tiptap-extension-youtube.esm.js",
"types": "dist/packages/extension-youtube/src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
@ -38,5 +37,19 @@
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-youtube"
},
"scripts": {
"build": "tsup"
},
"tsup": {
"entry": [
"src/index.ts"
],
"dts": true,
"splitting": true,
"format": [
"esm",
"cjs"
]
}
}

Some files were not shown because too many files have changed in this diff Show More