@tiptap/extension-emoji 2.24.1 → 3.0.0-beta.10
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 -31889
- 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 -31873
- package/dist/index.js.map +1 -1
- package/package.json +15 -18
- package/src/data.ts +3949 -16136
- package/src/emoji.ts +73 -76
- 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 -31911
- 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.10",
|
|
5
5
|
"homepage": "https://tiptap.dev/api/nodes/emoji",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"tiptap",
|
|
@@ -12,31 +12,28 @@
|
|
|
12
12
|
"type": "github",
|
|
13
13
|
"url": "https://github.com/sponsors/ueberdosis"
|
|
14
14
|
},
|
|
15
|
-
"repository": {
|
|
16
|
-
"type": "git",
|
|
17
|
-
"url": "https://github.com/ueberdosis/tiptap",
|
|
18
|
-
"directory": "packages/extension-emoji"
|
|
19
|
-
},
|
|
20
15
|
"type": "module",
|
|
21
16
|
"exports": {
|
|
22
17
|
".": {
|
|
23
|
-
"types":
|
|
18
|
+
"types": {
|
|
19
|
+
"import": "./dist/index.d.ts",
|
|
20
|
+
"require": "./dist/index.d.cts"
|
|
21
|
+
},
|
|
24
22
|
"import": "./dist/index.js",
|
|
25
23
|
"require": "./dist/index.cjs"
|
|
26
24
|
}
|
|
27
25
|
},
|
|
28
26
|
"main": "dist/index.cjs",
|
|
29
27
|
"module": "dist/index.js",
|
|
30
|
-
"umd": "dist/index.umd.js",
|
|
31
28
|
"types": "dist/index.d.ts",
|
|
32
29
|
"files": [
|
|
33
30
|
"src",
|
|
34
31
|
"dist"
|
|
35
32
|
],
|
|
36
33
|
"peerDependencies": {
|
|
37
|
-
"@tiptap/core": "
|
|
38
|
-
"@tiptap/pm": "
|
|
39
|
-
"@tiptap/suggestion": "
|
|
34
|
+
"@tiptap/core": "3.0.0-beta.10",
|
|
35
|
+
"@tiptap/pm": "3.0.0-beta.10",
|
|
36
|
+
"@tiptap/suggestion": "3.0.0-beta.10"
|
|
40
37
|
},
|
|
41
38
|
"dependencies": {
|
|
42
39
|
"emoji-regex": "^10.4.0",
|
|
@@ -44,15 +41,15 @@
|
|
|
44
41
|
"is-emoji-supported": "^0.0.5"
|
|
45
42
|
},
|
|
46
43
|
"devDependencies": {
|
|
47
|
-
"@tiptap/core": "^2.24.1",
|
|
48
|
-
"@tiptap/pm": "^2.24.1",
|
|
49
|
-
"@tiptap/suggestion": "^2.24.1",
|
|
50
44
|
"emoji-datasource": "^7.0.2",
|
|
51
45
|
"json5": "^2.2.3",
|
|
52
|
-
"tsm": "^2.3.0"
|
|
46
|
+
"tsm": "^2.3.0",
|
|
47
|
+
"@tiptap/core": "3.0.0-beta.10",
|
|
48
|
+
"@tiptap/suggestion": "3.0.0-beta.10",
|
|
49
|
+
"@tiptap/pm": "3.0.0-beta.10"
|
|
53
50
|
},
|
|
54
51
|
"scripts": {
|
|
55
|
-
"
|
|
56
|
-
"
|
|
52
|
+
"build": "tsup",
|
|
53
|
+
"lint": "prettier ./src/ --check && eslint --cache --quiet --no-error-on-unmatched-pattern ./src/"
|
|
57
54
|
}
|
|
58
|
-
}
|
|
55
|
+
}
|