build: demos

This commit is contained in:
Nick the Sick 2024-07-15 12:00:31 +02:00
parent e90ac35b0e
commit 226a0dfe59
No known key found for this signature in database
GPG Key ID: F575992F156E5BCC
7 changed files with 270 additions and 7399 deletions

7330
demos/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -10,7 +10,7 @@
"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"
},
"dependencies": {
"@hocuspocus/provider": "^2.9.0",
"@hocuspocus/provider": "^2.13.5",
"@lexical/react": "^0.11.1",
"d3": "^7.3.0",
"fast-glob": "^3.2.11",
@ -20,15 +20,15 @@
"remixicon": "^2.5.0",
"shiki": "^0.10.0",
"simplify-js": "^1.2.4",
"y-prosemirror": "^1.2.6",
"y-prosemirror": "^1.2.9",
"y-webrtc": "^10.3.0",
"yjs": "^13.6.11"
"yjs": "^13.6.18"
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^2.0.0",
"@types/uuid": "^8.3.4",
"@vitejs/plugin-react": "^1.3.2",
"@vitejs/plugin-vue": "^5.0.5",
"@vitejs/plugin-vue": "^4.0.0",
"autoprefixer": "^10.4.2",
"iframe-resizer": "^4.3.2",
"postcss": "^8.4.31",
@ -41,9 +41,9 @@
"tailwindcss": "^3.3.2",
"typescript": "^5.4.5",
"uuid": "^8.3.2",
"vite": "^4.0.0",
"vite": "^4.5.3",
"vite-plugin-checker": "^0.6.4",
"vue": "^3.0.5",
"vue": "^3.4.31",
"vue-router": "^4.0.11"
}
}

309
package-lock.json generated
View File

@ -54,7 +54,7 @@
"name": "tiptap-demos",
"version": "2.4.0",
"dependencies": {
"@hocuspocus/provider": "^2.9.0",
"@hocuspocus/provider": "^2.13.5",
"@lexical/react": "^0.11.1",
"d3": "^7.3.0",
"fast-glob": "^3.2.11",
@ -64,15 +64,15 @@
"remixicon": "^2.5.0",
"shiki": "^0.10.0",
"simplify-js": "^1.2.4",
"y-prosemirror": "^1.2.6",
"y-prosemirror": "^1.2.9",
"y-webrtc": "^10.3.0",
"yjs": "^13.6.11"
"yjs": "^13.6.18"
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^2.0.0",
"@types/uuid": "^8.3.4",
"@vitejs/plugin-react": "^1.3.2",
"@vitejs/plugin-vue": "^5.0.5",
"@vitejs/plugin-vue": "^4.0.0",
"autoprefixer": "^10.4.2",
"iframe-resizer": "^4.3.2",
"postcss": "^8.4.31",
@ -85,9 +85,9 @@
"tailwindcss": "^3.3.2",
"typescript": "^5.4.5",
"uuid": "^8.3.2",
"vite": "^4.0.0",
"vite": "^4.5.3",
"vite-plugin-checker": "^0.6.4",
"vue": "^3.0.5",
"vue": "^3.4.31",
"vue-router": "^4.0.11"
}
},
@ -107,6 +107,29 @@
"node": ">=12"
}
},
"demos/node_modules/@hocuspocus/common": {
"version": "2.13.5",
"resolved": "https://registry.npmjs.org/@hocuspocus/common/-/common-2.13.5.tgz",
"integrity": "sha512-8D9FzhZFlt0WsgXw5yT2zwSxi6z9d4V2vUz6co2vo3Cj+Y2bvGZsdDiTvU/MerGcCLME5k/w6PwLPojLYH/4pg==",
"dependencies": {
"lib0": "^0.2.87"
}
},
"demos/node_modules/@hocuspocus/provider": {
"version": "2.13.5",
"resolved": "https://registry.npmjs.org/@hocuspocus/provider/-/provider-2.13.5.tgz",
"integrity": "sha512-G3S0OiFSYkmbOwnbhV7FyJs4OBqB/+1YT9c44Ujux1RKowGm5H8+0p3FUHfXwd/3v9V0jE+E1FnFKoGonJSQwA==",
"dependencies": {
"@hocuspocus/common": "^2.13.5",
"@lifeomic/attempt": "^3.0.2",
"lib0": "^0.2.87",
"ws": "^8.17.1"
},
"peerDependencies": {
"y-protocols": "^1.0.6",
"yjs": "^13.6.8"
}
},
"demos/node_modules/@vitejs/plugin-vue": {
"version": "1.10.2",
"resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-1.10.2.tgz",
@ -119,6 +142,106 @@
"vite": "^2.5.10"
}
},
"demos/node_modules/@vue/compiler-core": {
"version": "3.4.31",
"resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.4.31.tgz",
"integrity": "sha512-skOiodXWTV3DxfDhB4rOf3OGalpITLlgCeOwb+Y9GJpfQ8ErigdBUHomBzvG78JoVE8MJoQsb+qhZiHfKeNeEg==",
"dev": true,
"dependencies": {
"@babel/parser": "^7.24.7",
"@vue/shared": "3.4.31",
"entities": "^4.5.0",
"estree-walker": "^2.0.2",
"source-map-js": "^1.2.0"
}
},
"demos/node_modules/@vue/compiler-dom": {
"version": "3.4.31",
"resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.4.31.tgz",
"integrity": "sha512-wK424WMXsG1IGMyDGyLqB+TbmEBFM78hIsOJ9QwUVLGrcSk0ak6zYty7Pj8ftm7nEtdU/DGQxAXp0/lM/2cEpQ==",
"dev": true,
"dependencies": {
"@vue/compiler-core": "3.4.31",
"@vue/shared": "3.4.31"
}
},
"demos/node_modules/@vue/compiler-sfc": {
"version": "3.4.31",
"resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.4.31.tgz",
"integrity": "sha512-einJxqEw8IIJxzmnxmJBuK2usI+lJonl53foq+9etB2HAzlPjAS/wa7r0uUpXw5ByX3/0uswVSrjNb17vJm1kQ==",
"dev": true,
"dependencies": {
"@babel/parser": "^7.24.7",
"@vue/compiler-core": "3.4.31",
"@vue/compiler-dom": "3.4.31",
"@vue/compiler-ssr": "3.4.31",
"@vue/shared": "3.4.31",
"estree-walker": "^2.0.2",
"magic-string": "^0.30.10",
"postcss": "^8.4.38",
"source-map-js": "^1.2.0"
}
},
"demos/node_modules/@vue/compiler-ssr": {
"version": "3.4.31",
"resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.4.31.tgz",
"integrity": "sha512-RtefmITAje3fJ8FSg1gwgDhdKhZVntIVbwupdyZDSifZTRMiWxWehAOTCc8/KZDnBOcYQ4/9VWxsTbd3wT0hAA==",
"dev": true,
"dependencies": {
"@vue/compiler-dom": "3.4.31",
"@vue/shared": "3.4.31"
}
},
"demos/node_modules/@vue/reactivity": {
"version": "3.4.31",
"resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.4.31.tgz",
"integrity": "sha512-VGkTani8SOoVkZNds1PfJ/T1SlAIOf8E58PGAhIOUDYPC4GAmFA2u/E14TDAFcf3vVDKunc4QqCe/SHr8xC65Q==",
"dev": true,
"dependencies": {
"@vue/shared": "3.4.31"
}
},
"demos/node_modules/@vue/runtime-core": {
"version": "3.4.31",
"resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.4.31.tgz",
"integrity": "sha512-LDkztxeUPazxG/p8c5JDDKPfkCDBkkiNLVNf7XZIUnJ+66GVGkP+TIh34+8LtPisZ+HMWl2zqhIw0xN5MwU1cw==",
"dev": true,
"dependencies": {
"@vue/reactivity": "3.4.31",
"@vue/shared": "3.4.31"
}
},
"demos/node_modules/@vue/runtime-dom": {
"version": "3.4.31",
"resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.4.31.tgz",
"integrity": "sha512-2Auws3mB7+lHhTFCg8E9ZWopA6Q6L455EcU7bzcQ4x6Dn4cCPuqj6S2oBZgN2a8vJRS/LSYYxwFFq2Hlx3Fsaw==",
"dev": true,
"dependencies": {
"@vue/reactivity": "3.4.31",
"@vue/runtime-core": "3.4.31",
"@vue/shared": "3.4.31",
"csstype": "^3.1.3"
}
},
"demos/node_modules/@vue/server-renderer": {
"version": "3.4.31",
"resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.4.31.tgz",
"integrity": "sha512-D5BLbdvrlR9PE3by9GaUp1gQXlCNadIZytMIb8H2h3FMWJd4oUfkUTEH2wAr3qxoRz25uxbTcbqd3WKlm9EHQA==",
"dev": true,
"dependencies": {
"@vue/compiler-ssr": "3.4.31",
"@vue/shared": "3.4.31"
},
"peerDependencies": {
"vue": "3.4.31"
}
},
"demos/node_modules/@vue/shared": {
"version": "3.4.31",
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.4.31.tgz",
"integrity": "sha512-Yp3wtJk//8cO4NItOPpi3QkLExAr/aLBGZMmTtW9WpdwBCJpRM6zj9WgWktXAl8IDIozwNMByT45JP3tO3ACWA==",
"dev": true
},
"demos/node_modules/ansi-styles": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
@ -177,6 +300,18 @@
"node": ">= 12"
}
},
"demos/node_modules/entities": {
"version": "4.5.0",
"resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz",
"integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==",
"dev": true,
"engines": {
"node": ">=0.12"
},
"funding": {
"url": "https://github.com/fb55/entities?sponsor=1"
}
},
"demos/node_modules/esbuild": {
"version": "0.14.54",
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.14.54.tgz",
@ -636,6 +771,27 @@
}
}
},
"demos/node_modules/vue": {
"version": "3.4.31",
"resolved": "https://registry.npmjs.org/vue/-/vue-3.4.31.tgz",
"integrity": "sha512-njqRrOy7W3YLAlVqSKpBebtZpDVg21FPoaq1I7f/+qqBThK9ChAIjkRWgeP6Eat+8C+iia4P3OYqpATP21BCoQ==",
"dev": true,
"dependencies": {
"@vue/compiler-dom": "3.4.31",
"@vue/compiler-sfc": "3.4.31",
"@vue/runtime-dom": "3.4.31",
"@vue/server-renderer": "3.4.31",
"@vue/shared": "3.4.31"
},
"peerDependencies": {
"typescript": "*"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
}
},
"demos/node_modules/yallist": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
@ -3926,29 +4082,6 @@
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
}
},
"node_modules/@hocuspocus/common": {
"version": "2.13.2",
"resolved": "https://registry.npmjs.org/@hocuspocus/common/-/common-2.13.2.tgz",
"integrity": "sha512-NMsXx/Dl9xu1KlhNbGzLYLOjKtUOVmU+zA/br+EA4DhNDEtGWvHAmqY5r9SBTr2mGtGJagt+GEqZydSzBUFj4g==",
"dependencies": {
"lib0": "^0.2.87"
}
},
"node_modules/@hocuspocus/provider": {
"version": "2.13.2",
"resolved": "https://registry.npmjs.org/@hocuspocus/provider/-/provider-2.13.2.tgz",
"integrity": "sha512-Pi+b8gcXHomSDRzohbmVW4dwo5OIqEBoLVrsuEG/pCCS13gBAeUCKCxfrl0q5XCNhK1nu3/j6UW9lxuExqiY+g==",
"dependencies": {
"@hocuspocus/common": "^2.13.2",
"@lifeomic/attempt": "^3.0.2",
"lib0": "^0.2.87",
"ws": "^8.14.2"
},
"peerDependencies": {
"y-protocols": "^1.0.6",
"yjs": "^13.6.8"
}
},
"node_modules/@humanwhocodes/config-array": {
"version": "0.11.14",
"resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz",
@ -5158,6 +5291,55 @@
"resolved": "packages/vue-3",
"link": true
},
"node_modules/@types/babel__core": {
"version": "7.20.5",
"resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz",
"integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==",
"dev": true,
"optional": true,
"peer": true,
"dependencies": {
"@babel/parser": "^7.20.7",
"@babel/types": "^7.20.7",
"@types/babel__generator": "*",
"@types/babel__template": "*",
"@types/babel__traverse": "*"
}
},
"node_modules/@types/babel__generator": {
"version": "7.6.8",
"resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.8.tgz",
"integrity": "sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==",
"dev": true,
"optional": true,
"peer": true,
"dependencies": {
"@babel/types": "^7.0.0"
}
},
"node_modules/@types/babel__template": {
"version": "7.4.4",
"resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz",
"integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==",
"dev": true,
"optional": true,
"peer": true,
"dependencies": {
"@babel/parser": "^7.1.0",
"@babel/types": "^7.0.0"
}
},
"node_modules/@types/babel__traverse": {
"version": "7.20.6",
"resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.6.tgz",
"integrity": "sha512-r1bzfrm0tomOI8g1SzvCaQHo6Lcv6zu0EA+W2kHrt8dyrHQxGzBBL4kdkzIS+jBMV+EYcMAEAqXqYaLJq5rOZg==",
"dev": true,
"optional": true,
"peer": true,
"dependencies": {
"@babel/types": "^7.20.7"
}
},
"node_modules/@types/base16": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/@types/base16/-/base16-1.0.5.tgz",
@ -13892,24 +14074,6 @@
"orderedmap": "^2.0.0"
}
},
"node_modules/prosemirror-schema-basic": {
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/prosemirror-schema-basic/-/prosemirror-schema-basic-1.2.2.tgz",
"integrity": "sha512-/dT4JFEGyO7QnNTe9UaKUhjDXbTNkiWTq/N4VpKaF79bBjSExVV2NXmJpcM7z/gD7mbqNjxbmWW5nf1iNSSGnw==",
"dependencies": {
"prosemirror-model": "^1.19.0"
}
},
"node_modules/prosemirror-schema-list": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/prosemirror-schema-list/-/prosemirror-schema-list-1.4.0.tgz",
"integrity": "sha512-nZOIq/AkBSzCENxUyLm5ltWE53e2PLk65ghMN8qLQptOmDVixZlPqtMeQdiNw0odL9vNpalEjl3upgRkuJ/Jyw==",
"dependencies": {
"prosemirror-model": "^1.0.0",
"prosemirror-state": "^1.0.0",
"prosemirror-transform": "^1.7.3"
}
},
"node_modules/prosemirror-state": {
"version": "1.4.3",
"resolved": "https://registry.npmjs.org/prosemirror-state/-/prosemirror-state-1.4.3.tgz",
@ -18200,7 +18364,7 @@
"devDependencies": {
"@tiptap/core": "^2.5.0",
"@tiptap/pm": "^2.5.0",
"y-prosemirror": "^1.2.6"
"y-prosemirror": "^1.2.9"
},
"funding": {
"type": "github",
@ -18218,7 +18382,7 @@
"license": "MIT",
"devDependencies": {
"@tiptap/core": "^2.5.0",
"y-prosemirror": "^1.2.6"
"y-prosemirror": "^1.2.9"
},
"funding": {
"type": "github",
@ -18833,25 +18997,62 @@
"prosemirror-commands": "^1.5.2",
"prosemirror-dropcursor": "^1.8.1",
"prosemirror-gapcursor": "^1.3.2",
"prosemirror-history": "^1.4.0",
"prosemirror-history": "^1.4.1",
"prosemirror-inputrules": "^1.4.0",
"prosemirror-keymap": "^1.2.2",
"prosemirror-markdown": "^1.13.0",
"prosemirror-menu": "^1.2.4",
"prosemirror-model": "^1.21.3",
"prosemirror-schema-basic": "^1.2.2",
"prosemirror-schema-list": "^1.4.0",
"prosemirror-model": "^1.22.1",
"prosemirror-schema-basic": "^1.2.3",
"prosemirror-schema-list": "^1.4.1",
"prosemirror-state": "^1.4.3",
"prosemirror-tables": "^1.3.7",
"prosemirror-trailing-node": "^2.0.8",
"prosemirror-transform": "^1.9.0",
"prosemirror-view": "^1.33.7"
"prosemirror-view": "^1.33.8"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/ueberdosis"
}
},
"packages/pm/node_modules/prosemirror-history": {
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/prosemirror-history/-/prosemirror-history-1.4.1.tgz",
"integrity": "sha512-2JZD8z2JviJrboD9cPuX/Sv/1ChFng+xh2tChQ2X4bB2HeK+rra/bmJ3xGntCcjhOqIzSDG6Id7e8RJ9QPXLEQ==",
"dependencies": {
"prosemirror-state": "^1.2.2",
"prosemirror-transform": "^1.0.0",
"prosemirror-view": "^1.31.0",
"rope-sequence": "^1.3.0"
}
},
"packages/pm/node_modules/prosemirror-model": {
"version": "1.22.1",
"resolved": "https://registry.npmjs.org/prosemirror-model/-/prosemirror-model-1.22.1.tgz",
"integrity": "sha512-gMrxal+F3higDFxCkBK5iQXckRVYvIu/3dopERJ6b20xfwZ9cbYvQvuldqaN+v/XytNPGyURYUpUU23kBRxWCQ==",
"dependencies": {
"orderedmap": "^2.0.0"
}
},
"packages/pm/node_modules/prosemirror-schema-basic": {
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/prosemirror-schema-basic/-/prosemirror-schema-basic-1.2.3.tgz",
"integrity": "sha512-h+H0OQwZVqMon1PNn0AG9cTfx513zgIG2DY00eJ00Yvgb3UD+GQ/VlWW5rcaxacpCGT1Yx8nuhwXk4+QbXUfJA==",
"dependencies": {
"prosemirror-model": "^1.19.0"
}
},
"packages/pm/node_modules/prosemirror-schema-list": {
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/prosemirror-schema-list/-/prosemirror-schema-list-1.4.1.tgz",
"integrity": "sha512-jbDyaP/6AFfDfu70VzySsD75Om2t3sXTOdl5+31Wlxlg62td1haUpty/ybajSfJ1pkGadlOfwQq9kgW5IMo1Rg==",
"dependencies": {
"prosemirror-model": "^1.0.0",
"prosemirror-state": "^1.0.0",
"prosemirror-transform": "^1.7.3"
}
},
"packages/react": {
"name": "@tiptap/react",
"version": "2.5.0",

View File

@ -30,7 +30,7 @@
],
"devDependencies": {
"@tiptap/core": "^2.5.0",
"y-prosemirror": "^1.2.6"
"y-prosemirror": "^1.2.9"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0",

View File

@ -31,7 +31,7 @@
"devDependencies": {
"@tiptap/core": "^2.5.0",
"@tiptap/pm": "^2.5.0",
"y-prosemirror": "^1.2.6"
"y-prosemirror": "^1.2.9"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0",

View File

@ -131,19 +131,19 @@
"prosemirror-commands": "^1.5.2",
"prosemirror-dropcursor": "^1.8.1",
"prosemirror-gapcursor": "^1.3.2",
"prosemirror-history": "^1.4.0",
"prosemirror-history": "^1.4.1",
"prosemirror-inputrules": "^1.4.0",
"prosemirror-keymap": "^1.2.2",
"prosemirror-markdown": "^1.13.0",
"prosemirror-menu": "^1.2.4",
"prosemirror-model": "^1.21.3",
"prosemirror-schema-basic": "^1.2.2",
"prosemirror-schema-list": "^1.4.0",
"prosemirror-model": "^1.22.1",
"prosemirror-schema-basic": "^1.2.3",
"prosemirror-schema-list": "^1.4.1",
"prosemirror-state": "^1.4.3",
"prosemirror-tables": "^1.3.7",
"prosemirror-trailing-node": "^2.0.8",
"prosemirror-transform": "^1.9.0",
"prosemirror-view": "^1.33.7"
"prosemirror-view": "^1.33.8"
},
"repository": {
"type": "git",

View File

@ -31,8 +31,8 @@
"dependencies": {
"@tiptap/extension-bubble-menu": "^2.5.0",
"@tiptap/extension-floating-menu": "^2.5.0",
"use-sync-external-store": "^1.2.2",
"@types/use-sync-external-store": "^0.0.6"
"@types/use-sync-external-store": "^0.0.6",
"use-sync-external-store": "^1.2.2"
},
"devDependencies": {
"@tiptap/core": "^2.5.0",