@domternal/react 1.0.0 → 1.0.2

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +16 -11
package/README.md CHANGED
@@ -19,7 +19,7 @@ and React 19.
19
19
  pnpm add @domternal/react @domternal/core @domternal/theme react react-dom
20
20
  ```
21
21
 
22
- `react` (>=18), `react-dom` (>=18), and `@domternal/core` (>=1.0.0) are peer dependencies. Import the theme
22
+ `react` (>=18), `react-dom` (>=18), and `@domternal/core` (>=1.0.0 <2.0.0) are peer dependencies. Import the theme
23
23
  ([`@domternal/theme`](https://www.npmjs.com/package/@domternal/theme)) in your entry CSS for default styling:
24
24
 
25
25
  ```css
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@domternal/react",
3
- "version": "1.0.0",
4
- "description": "React components for Domternal editor",
3
+ "version": "1.0.2",
4
+ "description": "MIT-licensed React components for the Domternal rich text editor",
5
5
  "author": "https://github.com/ThomasNowHere",
6
6
  "license": "MIT",
7
7
  "type": "module",
@@ -23,13 +23,24 @@
23
23
  "peerDependencies": {
24
24
  "react": ">=18",
25
25
  "react-dom": ">=18",
26
- "@domternal/core": ">=1.0.0"
26
+ "@domternal/core": ">=1.0.0 <2.0.0"
27
+ },
28
+ "scripts": {
29
+ "build": "tsup",
30
+ "dev": "tsup --watch",
31
+ "lint": "eslint src",
32
+ "typecheck": "tsc --noEmit",
33
+ "prepublishOnly": "pnpm build && node ../../scripts/prepare-publish-manifest.mjs",
34
+ "postpublish": "git checkout package.json"
27
35
  },
28
36
  "keywords": [
29
37
  "react",
30
38
  "prosemirror",
31
39
  "editor",
32
40
  "rich-text",
41
+ "rich-text-editor",
42
+ "wysiwyg",
43
+ "typescript",
33
44
  "domternal"
34
45
  ],
35
46
  "repository": {
@@ -40,11 +51,5 @@
40
51
  "bugs": {
41
52
  "url": "https://github.com/domternal/domternal/issues"
42
53
  },
43
- "homepage": "https://domternal.dev",
44
- "scripts": {
45
- "build": "tsup",
46
- "dev": "tsup --watch",
47
- "lint": "eslint src",
48
- "typecheck": "tsc --noEmit"
49
- }
50
- }
54
+ "homepage": "https://domternal.dev"
55
+ }