@tiptap/pm 3.23.6 → 3.25.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/README.md CHANGED
@@ -11,7 +11,7 @@ Tiptap is a headless wrapper around [ProseMirror](https://ProseMirror.net) – a
11
11
 
12
12
  ## What is this `pm` package?
13
13
 
14
- The `pm` package is a wrapper package for [ProseMirror](https://ProseMirror.net). This includes all ProseMirror packages that are required to run Tiptap.
14
+ The `pm` package re-exports [ProseMirror](https://ProseMirror.net) packages under a single version range. It bundles all ProseMirror packages that are required to run Tiptap into one consistent dependency, so you don't need to install and align multiple ProseMirror packages yourself.
15
15
 
16
16
  ## Official Documentation
17
17
 
@@ -0,0 +1,47 @@
1
+ # Third-party licenses
2
+
3
+ This package re-exports packages from the [ProseMirror](https://prosemirror.net) project.
4
+
5
+ ProseMirror is licensed under the MIT License.
6
+
7
+ Copyright (C) Marijn Haverbeke <marijn@haverbeke.berlin> and others
8
+
9
+ The following ProseMirror packages are re-exported by this package:
10
+
11
+ - prosemirror-changeset
12
+ - prosemirror-commands
13
+ - prosemirror-dropcursor
14
+ - prosemirror-gapcursor
15
+ - prosemirror-history
16
+ - prosemirror-inputrules
17
+ - prosemirror-keymap
18
+ - prosemirror-model
19
+ - prosemirror-schema-list
20
+ - prosemirror-state
21
+ - prosemirror-tables
22
+ - prosemirror-transform
23
+ - prosemirror-view
24
+
25
+ ---
26
+
27
+ ## [MIT License (ProseMirror)](https://code.haverbeke.berlin/prosemirror/prosemirror/src/branch/main/LICENSE)
28
+
29
+ Copyright (C) 2015-2017 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
30
+
31
+ Permission is hereby granted, free of charge, to any person obtaining a copy
32
+ of this software and associated documentation files (the "Software"), to deal
33
+ in the Software without restriction, including without limitation the rights
34
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
35
+ copies of the Software, and to permit persons to whom the Software is
36
+ furnished to do so, subject to the following conditions:
37
+
38
+ The above copyright notice and this permission notice shall be included in
39
+ all copies or substantial portions of the Software.
40
+
41
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
42
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
43
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
44
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
45
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
46
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
47
+ THE SOFTWARE.
@@ -1,8 +1,9 @@
1
1
  export * from 'prosemirror-changeset';
2
2
  import 'prosemirror-commands';
3
- import 'prosemirror-dropcursor';
4
3
  import 'prosemirror-gapcursor';
4
+ import 'prosemirror-dropcursor';
5
5
  import 'prosemirror-history';
6
+ import 'prosemirror-inputrules';
6
7
  import 'prosemirror-keymap';
7
8
  import 'prosemirror-model';
8
9
  import 'prosemirror-schema-list';
@@ -1,8 +1,9 @@
1
1
  export * from 'prosemirror-changeset';
2
2
  import 'prosemirror-commands';
3
- import 'prosemirror-dropcursor';
4
3
  import 'prosemirror-gapcursor';
4
+ import 'prosemirror-dropcursor';
5
5
  import 'prosemirror-history';
6
+ import 'prosemirror-inputrules';
6
7
  import 'prosemirror-keymap';
7
8
  import 'prosemirror-model';
8
9
  import 'prosemirror-schema-list';
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _createStarExport(obj) { Object.keys(obj) .filter((key) => key !== "default" && key !== "__esModule") .forEach((key) => { if (exports.hasOwnProperty(key)) { return; } Object.defineProperty(exports, key, {enumerable: true, configurable: true, get: () => obj[key]}); }); }// inputrules/index.ts
2
+ var _prosemirrorinputrules = require('prosemirror-inputrules'); _createStarExport(_prosemirrorinputrules);
@@ -0,0 +1 @@
1
+ export * from 'prosemirror-inputrules';
@@ -0,0 +1 @@
1
+ export * from 'prosemirror-inputrules';
@@ -0,0 +1,2 @@
1
+ // inputrules/index.ts
2
+ export * from "prosemirror-inputrules";
@@ -0,0 +1 @@
1
+ export * from 'prosemirror-inputrules'
package/package.json CHANGED
@@ -1,17 +1,40 @@
1
1
  {
2
2
  "name": "@tiptap/pm",
3
+ "version": "3.25.0",
3
4
  "description": "prosemirror wrapper package for tiptap",
4
- "version": "3.23.6",
5
- "homepage": "https://tiptap.dev",
6
5
  "keywords": [
7
- "tiptap",
8
- "prosemirror"
6
+ "prosemirror",
7
+ "tiptap"
9
8
  ],
9
+ "homepage": "https://tiptap.dev",
10
10
  "license": "MIT",
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/ueberdosis/tiptap",
14
+ "directory": "packages/pm"
15
+ },
11
16
  "funding": {
12
17
  "type": "github",
13
18
  "url": "https://github.com/sponsors/ueberdosis"
14
19
  },
20
+ "files": [
21
+ "dist/**",
22
+ "changeset/**",
23
+ "commands/**",
24
+ "dropcursor/**",
25
+ "gapcursor/**",
26
+ "history/**",
27
+ "inputrules/**",
28
+ "keymap/**",
29
+ "model/**",
30
+ "schema-list/**",
31
+ "state/**",
32
+ "tables/**",
33
+ "transform/**",
34
+ "view/**",
35
+ "LICENSE",
36
+ "THIRD_PARTY_LICENSES.md"
37
+ ],
15
38
  "type": "module",
16
39
  "exports": {
17
40
  "./changeset": {
@@ -38,6 +61,14 @@
38
61
  "import": "./dist/dropcursor/index.js",
39
62
  "require": "./dist/dropcursor/index.cjs"
40
63
  },
64
+ "./inputrules": {
65
+ "types": {
66
+ "import": "./dist/inputrules/index.d.ts",
67
+ "require": "./dist/inputrules/index.d.cts"
68
+ },
69
+ "import": "./dist/inputrules/index.js",
70
+ "require": "./dist/inputrules/index.cjs"
71
+ },
41
72
  "./gapcursor": {
42
73
  "types": {
43
74
  "import": "./dist/gapcursor/index.d.ts",
@@ -111,39 +142,20 @@
111
142
  "require": "./dist/view/index.cjs"
112
143
  }
113
144
  },
114
- "files": [
115
- "dist/**",
116
- "changeset/**",
117
- "commands/**",
118
- "dropcursor/**",
119
- "gapcursor/**",
120
- "history/**",
121
- "keymap/**",
122
- "model/**",
123
- "schema-list/**",
124
- "state/**",
125
- "tables/**",
126
- "transform/**",
127
- "view/**"
128
- ],
129
145
  "dependencies": {
130
146
  "prosemirror-changeset": "^2.3.0",
131
147
  "prosemirror-commands": "^1.6.2",
132
148
  "prosemirror-dropcursor": "^1.8.1",
133
149
  "prosemirror-gapcursor": "^1.3.2",
134
150
  "prosemirror-history": "^1.4.1",
135
- "prosemirror-keymap": "^1.2.2",
136
- "prosemirror-model": "^1.24.1",
151
+ "prosemirror-inputrules": "^1.4.0",
152
+ "prosemirror-keymap": "^1.2.3",
153
+ "prosemirror-model": "^1.25.7",
137
154
  "prosemirror-schema-list": "^1.5.0",
138
- "prosemirror-state": "^1.4.3",
139
- "prosemirror-tables": "^1.6.4",
140
- "prosemirror-transform": "^1.10.2",
141
- "prosemirror-view": "^1.38.1"
142
- },
143
- "repository": {
144
- "type": "git",
145
- "url": "https://github.com/ueberdosis/tiptap",
146
- "directory": "packages/pm"
155
+ "prosemirror-state": "^1.4.4",
156
+ "prosemirror-tables": "^1.8.0",
157
+ "prosemirror-transform": "^1.12.0",
158
+ "prosemirror-view": "^1.41.8"
147
159
  },
148
160
  "scripts": {
149
161
  "build": "tsup"
File without changes