@doist/typist 10.0.3 → 11.0.0
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 +19 -0
- package/CONTRIBUTING.md +0 -4
- package/README.md +0 -10
- package/package.json +26 -32
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
## [11.0.0](https://github.com/Doist/typist/compare/v10.0.3...v11.0.0) (2026-05-26)
|
|
2
|
+
|
|
3
|
+
### ⚠ BREAKING CHANGES
|
|
4
|
+
|
|
5
|
+
* **deps:** react and react-dom 17 are no longer supported. Consumers
|
|
6
|
+
must be on react/react-dom ^18.0.0.
|
|
7
|
+
|
|
8
|
+
* chore(deps): keep storybook-only deps as dev and drop unused entries
|
|
9
|
+
|
|
10
|
+
Address doistbot review:
|
|
11
|
+
- Move rehype-raw and remark-gfm back to devDependencies (only used in
|
|
12
|
+
stories/, which is not part of the published files).
|
|
13
|
+
- Drop rehype, remark, and hast-util-is-element entirely (no import sites
|
|
14
|
+
anywhere in the repo).
|
|
15
|
+
|
|
16
|
+
### Miscellaneous Chores
|
|
17
|
+
|
|
18
|
+
* **deps:** drop React 17 support and move runtime peer deps into dependencies ([#1351](https://github.com/Doist/typist/issues/1351)) ([6bdd2fc](https://github.com/Doist/typist/commit/6bdd2fcfcbdd57ae4a811c20a6997a3573e62e3e))
|
|
19
|
+
|
|
1
20
|
## [10.0.3](https://github.com/Doist/typist/compare/v10.0.2...v10.0.3) (2026-05-23)
|
|
2
21
|
|
|
3
22
|
### Bug Fixes
|
package/CONTRIBUTING.md
CHANGED
|
@@ -49,10 +49,6 @@ cd typist
|
|
|
49
49
|
|
|
50
50
|
3. Install all dependencies by running `npm install`;
|
|
51
51
|
|
|
52
|
-
> **Note**
|
|
53
|
-
>
|
|
54
|
-
> If you're not using **npm 7+**, install peer dependencies with `npx npm-install-peers`.
|
|
55
|
-
|
|
56
52
|
## Development Workflow
|
|
57
53
|
|
|
58
54
|
After cloning Typist and installing all dependencies, several commands are at your disposal:
|
package/README.md
CHANGED
|
@@ -32,16 +32,6 @@ Typist is the mighty [Tiptap](https://tiptap.dev/)-based rich-text editor React
|
|
|
32
32
|
npm install --save @doist/typist
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
### Peer Dependencies
|
|
36
|
-
|
|
37
|
-
If you are using **npm 7+** and the `legacy-peer-deps` options is not enabled, peer dependencies should have been automatically installed for you with the command above. Otherwise, you can install them with:
|
|
38
|
-
|
|
39
|
-
```sh
|
|
40
|
-
npm info @doist/typist peerDependencies --json \
|
|
41
|
-
| command sed 's/[\{\},]//g ; s/: /@/g' \
|
|
42
|
-
| xargs npm install --save
|
|
43
|
-
```
|
|
44
|
-
|
|
45
35
|
## Usage
|
|
46
36
|
|
|
47
37
|
```tsx
|
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": "
|
|
4
|
+
"version": "11.0.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://typist.doist.dev/",
|
|
7
7
|
"repository": {
|
|
@@ -87,7 +87,24 @@
|
|
|
87
87
|
"@tiptap/pm": "2.27.2",
|
|
88
88
|
"@tiptap/react": "2.27.2",
|
|
89
89
|
"@tiptap/suggestion": "2.27.2",
|
|
90
|
-
"
|
|
90
|
+
"emoji-regex": "10.6.0",
|
|
91
|
+
"linkifyjs": "4.3.2",
|
|
92
|
+
"lodash-es": "4.17.23",
|
|
93
|
+
"mdast-util-gfm-autolink-literal": "2.0.1",
|
|
94
|
+
"mdast-util-gfm-strikethrough": "2.0.0",
|
|
95
|
+
"micromark-extension-gfm-autolink-literal": "2.1.0",
|
|
96
|
+
"micromark-extension-gfm-strikethrough": "2.1.0",
|
|
97
|
+
"prosemirror-codemark": "0.4.2",
|
|
98
|
+
"rehype-minify-whitespace": "6.0.2",
|
|
99
|
+
"rehype-stringify": "10.0.1",
|
|
100
|
+
"remark-breaks": "4.0.0",
|
|
101
|
+
"remark-parse": "11.0.0",
|
|
102
|
+
"remark-rehype": "11.1.2",
|
|
103
|
+
"turndown": "7.2.2",
|
|
104
|
+
"unified": "11.0.5",
|
|
105
|
+
"unist-util-is": "6.0.1",
|
|
106
|
+
"unist-util-remove": "4.0.0",
|
|
107
|
+
"unist-util-visit": "5.1.0"
|
|
91
108
|
},
|
|
92
109
|
"devDependencies": {
|
|
93
110
|
"@doist/reactist": "30.1.4",
|
|
@@ -103,7 +120,7 @@
|
|
|
103
120
|
"@testing-library/react": "16.3.2",
|
|
104
121
|
"@types/hast": "3.0.4",
|
|
105
122
|
"@types/lodash-es": "4.17.12",
|
|
106
|
-
"@types/react": "18.3.
|
|
123
|
+
"@types/react": "18.3.29",
|
|
107
124
|
"@types/react-dom": "18.3.7",
|
|
108
125
|
"@types/react-syntax-highlighter": "15.5.13",
|
|
109
126
|
"@types/turndown": "5.0.6",
|
|
@@ -112,13 +129,12 @@
|
|
|
112
129
|
"boring-avatars": "2.0.4",
|
|
113
130
|
"classnames": "2.5.1",
|
|
114
131
|
"conventional-changelog-conventionalcommits": "9.3.1",
|
|
115
|
-
"emoji-regex": "10.6.0",
|
|
116
132
|
"github-markdown-css": "5.9.0",
|
|
117
133
|
"jsdom": "29.1.1",
|
|
118
|
-
"lefthook": "2.1.
|
|
134
|
+
"lefthook": "2.1.8",
|
|
119
135
|
"npm-run-all-next": "1.4.2",
|
|
120
|
-
"oxfmt": "0.
|
|
121
|
-
"oxlint": "1.
|
|
136
|
+
"oxfmt": "0.51.0",
|
|
137
|
+
"oxlint": "1.66.0",
|
|
122
138
|
"publint": "0.3.21",
|
|
123
139
|
"react": "18.3.1",
|
|
124
140
|
"react-dom": "18.3.1",
|
|
@@ -137,32 +153,10 @@
|
|
|
137
153
|
"type-fest": "5.6.0",
|
|
138
154
|
"typescript": "6.0.3",
|
|
139
155
|
"typescript-plugin-css-modules": "5.2.0",
|
|
140
|
-
"vitest": "4.1.
|
|
156
|
+
"vitest": "4.1.7"
|
|
141
157
|
},
|
|
142
158
|
"peerDependencies": {
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
"linkifyjs": "^4.1.1",
|
|
146
|
-
"lodash-es": "^4.17.21",
|
|
147
|
-
"mdast-util-gfm-autolink-literal": "^2.0.0",
|
|
148
|
-
"mdast-util-gfm-strikethrough": "^2.0.0",
|
|
149
|
-
"micromark-extension-gfm-autolink-literal": "^2.0.0",
|
|
150
|
-
"micromark-extension-gfm-strikethrough": "^2.0.0",
|
|
151
|
-
"react": "^17.0.0 || ^18.0.0",
|
|
152
|
-
"react-dom": "^17.0.0 || ^18.0.0",
|
|
153
|
-
"rehype": "^13.0.0",
|
|
154
|
-
"rehype-minify-whitespace": "^6.0.0",
|
|
155
|
-
"rehype-raw": "^7.0.0",
|
|
156
|
-
"rehype-stringify": "^10.0.0",
|
|
157
|
-
"remark": "^15.0.0",
|
|
158
|
-
"remark-breaks": "^4.0.0",
|
|
159
|
-
"remark-gfm": "^4.0.0",
|
|
160
|
-
"remark-parse": "^11.0.0",
|
|
161
|
-
"remark-rehype": "^11.0.0",
|
|
162
|
-
"turndown": "^7.1.0",
|
|
163
|
-
"unified": "^11.0.0",
|
|
164
|
-
"unist-util-is": "^6.0.0",
|
|
165
|
-
"unist-util-remove": "^4.0.0",
|
|
166
|
-
"unist-util-visit": "^5.0.0"
|
|
159
|
+
"react": "^18.0.0",
|
|
160
|
+
"react-dom": "^18.0.0"
|
|
167
161
|
}
|
|
168
162
|
}
|