@doist/typist 10.0.1 → 10.0.3
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/CHANGELOG.md +12 -0
- package/CONTRIBUTING.md +1 -1
- package/dist/components/typist-editor.d.ts +2 -2
- package/dist/components/typist-editor.d.ts.map +1 -1
- package/dist/components/typist-editor.helper.js.map +1 -1
- package/dist/components/typist-editor.js.map +1 -1
- package/dist/extensions/core/extra-editor-commands/commands/create-paragraph-end.js.map +1 -1
- package/dist/extensions/core/extra-editor-commands/commands/extend-word-range.js.map +1 -1
- package/dist/extensions/core/extra-editor-commands/commands/insert-markdown-content-at.js.map +1 -1
- package/dist/extensions/core/extra-editor-commands/commands/insert-markdown-content.js.map +1 -1
- package/dist/extensions/core/extra-editor-commands/extra-editor-commands.js.map +1 -1
- package/dist/extensions/core/view-event-handlers.js.map +1 -1
- package/dist/extensions/plain-text/paste-multiline-text.js.map +1 -1
- package/dist/extensions/plain-text/plain-text-document.js.map +1 -1
- package/dist/extensions/plain-text/plain-text-kit.js +1 -1
- package/dist/extensions/plain-text/plain-text-kit.js.map +1 -1
- package/dist/extensions/plain-text/plain-text-paragraph.js.map +1 -1
- package/dist/extensions/plain-text/smart-markdown-typing/plugins/smart-lists.js +2 -2
- package/dist/extensions/plain-text/smart-markdown-typing/plugins/smart-lists.js.map +1 -1
- package/dist/extensions/plain-text/smart-markdown-typing/plugins/smart-select-wrap.js.map +1 -1
- package/dist/extensions/plain-text/smart-markdown-typing/plugins/smart-url-pasting.js.map +1 -1
- package/dist/extensions/plain-text/smart-markdown-typing/smart-markdown-typing.js.map +1 -1
- package/dist/extensions/rich-text/bold-and-italics.js.map +1 -1
- package/dist/extensions/rich-text/curvenote-codemark.js.map +1 -1
- package/dist/extensions/rich-text/paste-emojis.js.map +1 -1
- package/dist/extensions/rich-text/paste-markdown.js.map +1 -1
- package/dist/extensions/rich-text/rich-text-bullet-list.js +1 -1
- package/dist/extensions/rich-text/rich-text-bullet-list.js.map +1 -1
- package/dist/extensions/rich-text/rich-text-code.js.map +1 -1
- package/dist/extensions/rich-text/rich-text-document.js.map +1 -1
- package/dist/extensions/rich-text/rich-text-heading.js.map +1 -1
- package/dist/extensions/rich-text/rich-text-image.js.map +1 -1
- package/dist/extensions/rich-text/rich-text-kit.js.map +1 -1
- package/dist/extensions/rich-text/rich-text-link.js.map +1 -1
- package/dist/extensions/rich-text/rich-text-ordered-list.js +1 -1
- package/dist/extensions/rich-text/rich-text-ordered-list.js.map +1 -1
- package/dist/extensions/rich-text/rich-text-strikethrough.js.map +1 -1
- package/dist/extensions/shared/copy-markdown-source.js.map +1 -1
- package/dist/extensions/shared/paste-html-table-as-string.js +2 -2
- package/dist/extensions/shared/paste-html-table-as-string.js.map +1 -1
- package/dist/extensions/shared/paste-singleline-text.js.map +1 -1
- package/dist/factories/create-suggestion-extension.d.ts.map +1 -1
- package/dist/factories/create-suggestion-extension.js +4 -4
- package/dist/factories/create-suggestion-extension.js.map +1 -1
- package/dist/helpers/dom.js.map +1 -1
- package/dist/helpers/schema.js.map +1 -1
- package/dist/helpers/serializer.js +47 -8
- package/dist/helpers/serializer.js.map +1 -1
- package/dist/helpers/unified.js.map +1 -1
- package/dist/hooks/use-editor.js.map +1 -1
- package/dist/serializers/html/html.d.ts.map +1 -1
- package/dist/serializers/html/html.js +5 -6
- package/dist/serializers/html/html.js.map +1 -1
- package/dist/serializers/html/plugins/rehype-code-block.js.map +1 -1
- package/dist/serializers/html/plugins/rehype-image.js.map +1 -1
- package/dist/serializers/html/plugins/rehype-suggestions.js +11 -9
- package/dist/serializers/html/plugins/rehype-suggestions.js.map +1 -1
- package/dist/serializers/html/plugins/rehype-task-list.js.map +1 -1
- package/dist/serializers/html/plugins/remark-autolink-literal.js.map +1 -1
- package/dist/serializers/html/plugins/remark-disable-constructs.js.map +1 -1
- package/dist/serializers/html/plugins/remark-strikethrough.js.map +1 -1
- package/dist/serializers/markdown/markdown.d.ts.map +1 -1
- package/dist/serializers/markdown/markdown.js +7 -1
- package/dist/serializers/markdown/markdown.js.map +1 -1
- package/dist/serializers/markdown/plugins/image.js +1 -1
- package/dist/serializers/markdown/plugins/image.js.map +1 -1
- package/dist/serializers/markdown/plugins/list-item.js +1 -0
- package/dist/serializers/markdown/plugins/list-item.js.map +1 -1
- package/dist/serializers/markdown/plugins/paragraph.js.map +1 -1
- package/dist/serializers/markdown/plugins/strikethrough.js.map +1 -1
- package/dist/serializers/markdown/plugins/suggestion.js +2 -2
- package/dist/serializers/markdown/plugins/suggestion.js.map +1 -1
- package/dist/serializers/markdown/plugins/task-item.js +1 -0
- package/dist/serializers/markdown/plugins/task-item.js.map +1 -1
- package/dist/utilities/can-insert-node-at.d.ts +1 -1
- package/dist/utilities/can-insert-node-at.js +1 -1
- package/dist/utilities/can-insert-node-at.js.map +1 -1
- package/dist/utilities/can-insert-suggestion.d.ts +1 -1
- package/dist/utilities/can-insert-suggestion.js +1 -1
- package/dist/utilities/can-insert-suggestion.js.map +1 -1
- package/package.json +25 -38
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@doist/typist",
|
|
3
3
|
"description": "The mighty Tiptap-based rich-text editor React component that powers Doist products.",
|
|
4
|
-
"version": "10.0.
|
|
4
|
+
"version": "10.0.3",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://typist.doist.dev/",
|
|
7
7
|
"repository": {
|
|
@@ -39,22 +39,21 @@
|
|
|
39
39
|
"build:storybook": "storybook build",
|
|
40
40
|
"build:typist": "tsdown",
|
|
41
41
|
"check": "run-p check:* -c -l -t",
|
|
42
|
-
"check:
|
|
43
|
-
"check:
|
|
42
|
+
"check:format": "oxfmt --check",
|
|
43
|
+
"check:lint": "oxlint",
|
|
44
44
|
"check:types": "tsc --project tsconfig.json",
|
|
45
45
|
"clean": "run-s clean:*",
|
|
46
46
|
"clean:cache": "rimraf .cache/",
|
|
47
47
|
"clean:dist": "rimraf dist/",
|
|
48
48
|
"clean:storybook-static": "rimraf storybook-static/",
|
|
49
|
-
"fix": "run-
|
|
50
|
-
"fix:
|
|
51
|
-
"
|
|
49
|
+
"fix": "run-s fix:*",
|
|
50
|
+
"fix:format": "oxfmt",
|
|
51
|
+
"fix:lint": "oxlint --fix",
|
|
52
|
+
"prepare": "lefthook install",
|
|
52
53
|
"start": "run-s clean:* start:storybook",
|
|
53
54
|
"start:storybook": "storybook dev --port 6006 --ci",
|
|
54
55
|
"test": "vitest run",
|
|
55
|
-
"test:watch": "vitest watch"
|
|
56
|
-
"validate:pre-commit": "lint-staged",
|
|
57
|
-
"validate:pre-push": "run-s test"
|
|
56
|
+
"test:watch": "vitest watch"
|
|
58
57
|
},
|
|
59
58
|
"dependencies": {
|
|
60
59
|
"@tiptap/core": "2.27.2",
|
|
@@ -91,16 +90,14 @@
|
|
|
91
90
|
"prosemirror-codemark": "0.4.2"
|
|
92
91
|
},
|
|
93
92
|
"devDependencies": {
|
|
94
|
-
"@doist/
|
|
95
|
-
"@doist/prettier-config": "4.0.1",
|
|
96
|
-
"@doist/reactist": "30.1.0",
|
|
93
|
+
"@doist/reactist": "30.1.4",
|
|
97
94
|
"@mdx-js/react": "3.1.1",
|
|
98
95
|
"@semantic-release/changelog": "6.0.3",
|
|
99
96
|
"@semantic-release/exec": "7.1.0",
|
|
100
97
|
"@semantic-release/git": "10.0.1",
|
|
101
|
-
"@storybook/addon-a11y": "10.
|
|
102
|
-
"@storybook/addon-docs": "10.
|
|
103
|
-
"@storybook/react-vite": "10.
|
|
98
|
+
"@storybook/addon-a11y": "10.4.0",
|
|
99
|
+
"@storybook/addon-docs": "10.4.0",
|
|
100
|
+
"@storybook/react-vite": "10.4.0",
|
|
104
101
|
"@testing-library/dom": "10.4.1",
|
|
105
102
|
"@testing-library/jest-dom": "6.9.1",
|
|
106
103
|
"@testing-library/react": "16.3.2",
|
|
@@ -111,28 +108,18 @@
|
|
|
111
108
|
"@types/react-syntax-highlighter": "15.5.13",
|
|
112
109
|
"@types/turndown": "5.0.6",
|
|
113
110
|
"@types/unist": "3.0.3",
|
|
114
|
-
"@vitejs/plugin-react": "
|
|
111
|
+
"@vitejs/plugin-react": "6.0.2",
|
|
115
112
|
"boring-avatars": "2.0.4",
|
|
116
113
|
"classnames": "2.5.1",
|
|
117
|
-
"conventional-changelog-conventionalcommits": "9.3.
|
|
114
|
+
"conventional-changelog-conventionalcommits": "9.3.1",
|
|
118
115
|
"emoji-regex": "10.6.0",
|
|
119
|
-
"eslint": "8.57.1",
|
|
120
|
-
"eslint-formatter-codeframe": "7.32.2",
|
|
121
|
-
"eslint-import-resolver-typescript": "3.10.1",
|
|
122
|
-
"eslint-plugin-simple-import-sort": "12.1.1",
|
|
123
|
-
"eslint-plugin-storybook": "10.2.10",
|
|
124
|
-
"eslint-plugin-unicorn": "56.0.1",
|
|
125
|
-
"eslint-plugin-vitest": "0.4.1",
|
|
126
|
-
"eslint-plugin-vitest-globals": "1.5.0",
|
|
127
116
|
"github-markdown-css": "5.9.0",
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
"
|
|
131
|
-
"
|
|
132
|
-
"
|
|
133
|
-
"
|
|
134
|
-
"prettier": "3.8.1",
|
|
135
|
-
"publint": "0.3.18",
|
|
117
|
+
"jsdom": "29.1.1",
|
|
118
|
+
"lefthook": "2.1.6",
|
|
119
|
+
"npm-run-all-next": "1.4.2",
|
|
120
|
+
"oxfmt": "0.50.0",
|
|
121
|
+
"oxlint": "1.65.0",
|
|
122
|
+
"publint": "0.3.21",
|
|
136
123
|
"react": "18.3.1",
|
|
137
124
|
"react-dom": "18.3.1",
|
|
138
125
|
"react-icons": "5.6.0",
|
|
@@ -143,14 +130,14 @@
|
|
|
143
130
|
"remark-gfm": "4.0.1",
|
|
144
131
|
"rimraf": "6.1.3",
|
|
145
132
|
"semantic-release": "25.0.3",
|
|
146
|
-
"storybook": "10.
|
|
133
|
+
"storybook": "10.4.0",
|
|
147
134
|
"storybook-css-modules": "1.0.8",
|
|
148
135
|
"tippy.js": "6.3.7",
|
|
149
|
-
"tsdown": "0.
|
|
150
|
-
"type-fest": "5.
|
|
151
|
-
"typescript": "
|
|
136
|
+
"tsdown": "0.22.0",
|
|
137
|
+
"type-fest": "5.6.0",
|
|
138
|
+
"typescript": "6.0.3",
|
|
152
139
|
"typescript-plugin-css-modules": "5.2.0",
|
|
153
|
-
"vitest": "4.1.
|
|
140
|
+
"vitest": "4.1.6"
|
|
154
141
|
},
|
|
155
142
|
"peerDependencies": {
|
|
156
143
|
"emoji-regex": "^10.2.1",
|