@tiptap/extension-emoji 2.24.2 → 3.0.0-beta.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +21 -0
- package/dist/index.cjs +19695 -31890
- package/dist/index.cjs.map +1 -1
- package/dist/{emoji.d.ts → index.d.cts} +18 -8
- package/dist/index.d.ts +77 -7
- package/dist/index.js +19662 -31874
- package/dist/index.js.map +1 -1
- package/package.json +15 -13
- package/src/data.ts +3949 -16136
- package/src/emoji.ts +73 -77
- package/src/generate.ts +4 -9
- package/src/helpers/emojiToShortcode.ts +1 -1
- package/src/helpers/removeDuplicates.ts +1 -3
- package/src/helpers/shortcodeToEmoji.ts +1 -1
- package/dist/data.d.ts +0 -5
- package/dist/data.d.ts.map +0 -1
- package/dist/emoji.d.ts.map +0 -1
- package/dist/helpers/emojiToShortcode.d.ts +0 -3
- package/dist/helpers/emojiToShortcode.d.ts.map +0 -1
- package/dist/helpers/removeDuplicates.d.ts +0 -9
- package/dist/helpers/removeDuplicates.d.ts.map +0 -1
- package/dist/helpers/removeVariationSelector.d.ts +0 -2
- package/dist/helpers/removeVariationSelector.d.ts.map +0 -1
- package/dist/helpers/shortcodeToEmoji.d.ts +0 -3
- package/dist/helpers/shortcodeToEmoji.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.umd.js +0 -31912
- package/dist/index.umd.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tiptap/extension-emoji",
|
|
3
3
|
"description": "emoji extension for tiptap",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "3.0.0-beta.11",
|
|
5
5
|
"homepage": "https://tiptap.dev/api/nodes/emoji",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"tiptap",
|
|
@@ -20,23 +20,25 @@
|
|
|
20
20
|
"type": "module",
|
|
21
21
|
"exports": {
|
|
22
22
|
".": {
|
|
23
|
-
"types":
|
|
23
|
+
"types": {
|
|
24
|
+
"import": "./dist/index.d.ts",
|
|
25
|
+
"require": "./dist/index.d.cts"
|
|
26
|
+
},
|
|
24
27
|
"import": "./dist/index.js",
|
|
25
28
|
"require": "./dist/index.cjs"
|
|
26
29
|
}
|
|
27
30
|
},
|
|
28
31
|
"main": "dist/index.cjs",
|
|
29
32
|
"module": "dist/index.js",
|
|
30
|
-
"umd": "dist/index.umd.js",
|
|
31
33
|
"types": "dist/index.d.ts",
|
|
32
34
|
"files": [
|
|
33
35
|
"src",
|
|
34
36
|
"dist"
|
|
35
37
|
],
|
|
36
38
|
"peerDependencies": {
|
|
37
|
-
"@tiptap/core": "
|
|
38
|
-
"@tiptap/pm": "
|
|
39
|
-
"@tiptap/suggestion": "
|
|
39
|
+
"@tiptap/core": "3.0.0-beta.11",
|
|
40
|
+
"@tiptap/pm": "3.0.0-beta.11",
|
|
41
|
+
"@tiptap/suggestion": "3.0.0-beta.11"
|
|
40
42
|
},
|
|
41
43
|
"dependencies": {
|
|
42
44
|
"emoji-regex": "^10.4.0",
|
|
@@ -44,15 +46,15 @@
|
|
|
44
46
|
"is-emoji-supported": "^0.0.5"
|
|
45
47
|
},
|
|
46
48
|
"devDependencies": {
|
|
47
|
-
"@tiptap/core": "^2.24.2",
|
|
48
|
-
"@tiptap/pm": "^2.24.2",
|
|
49
|
-
"@tiptap/suggestion": "^2.24.2",
|
|
50
49
|
"emoji-datasource": "^7.0.2",
|
|
51
50
|
"json5": "^2.2.3",
|
|
52
|
-
"tsm": "^2.3.0"
|
|
51
|
+
"tsm": "^2.3.0",
|
|
52
|
+
"@tiptap/core": "3.0.0-beta.11",
|
|
53
|
+
"@tiptap/pm": "3.0.0-beta.11",
|
|
54
|
+
"@tiptap/suggestion": "3.0.0-beta.11"
|
|
53
55
|
},
|
|
54
56
|
"scripts": {
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
+
"build": "tsup",
|
|
58
|
+
"lint": "prettier ./src/ --check && eslint --cache --quiet --no-error-on-unmatched-pattern ./src/"
|
|
57
59
|
}
|
|
58
|
-
}
|
|
60
|
+
}
|