From 77ff4dbe42c9b3e88b63ec14ef95e94922063b60 Mon Sep 17 00:00:00 2001 From: d3m1d0v Date: Thu, 21 Dec 2023 14:15:35 +0300 Subject: [PATCH] feat: add re-export of prosemirror-test-builder --- package-lock.json | 4 +--- package.json | 2 +- src/pm/readme.md | 1 + src/pm/test-builder.ts | 1 + 4 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 src/pm/test-builder.ts diff --git a/package-lock.json b/package-lock.json index 975b77f5..dffabf95 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29,6 +29,7 @@ "prosemirror-model": "1.19.4", "prosemirror-schema-list": "1.3.0", "prosemirror-state": "1.4.3", + "prosemirror-test-builder": "1.1.1", "prosemirror-transform": "1.8.0", "prosemirror-utils": "1.2.0", "prosemirror-view": "1.32.7", @@ -71,7 +72,6 @@ "postcss": "^8.4.27", "prettier": "2.7.1", "prosemirror-dev-toolkit": "1.1.5", - "prosemirror-test-builder": "1.1.1", "react": "18.2.0", "react-dom": "18.2.0", "rimraf": "3.0.2", @@ -20766,7 +20766,6 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/prosemirror-schema-basic/-/prosemirror-schema-basic-1.2.0.tgz", "integrity": "sha512-JMN/ammP94ObOUS6cpIy121r0MEDN9V95mAxFVALwC4bbmhpWXGjBGHTA5LHPPdbqZKyR6Jar1Akv4Z5k9CNLw==", - "dev": true, "dependencies": { "prosemirror-model": "^1.2.0" } @@ -20795,7 +20794,6 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/prosemirror-test-builder/-/prosemirror-test-builder-1.1.1.tgz", "integrity": "sha512-DJ1+4TNTE9ZcYN/ozXCaWJVrGA99UttMoVvZuidvAotRg7FaiNtEYxL/vlDwfZDRnzJDXNYhmM3XPv3EweK7yA==", - "dev": true, "dependencies": { "prosemirror-model": "^1.0.0", "prosemirror-schema-basic": "^1.0.0", diff --git a/package.json b/package.json index c58e3e62..fde18437 100644 --- a/package.json +++ b/package.json @@ -97,6 +97,7 @@ "prosemirror-model": "1.19.4", "prosemirror-schema-list": "1.3.0", "prosemirror-state": "1.4.3", + "prosemirror-test-builder": "1.1.1", "prosemirror-transform": "1.8.0", "prosemirror-utils": "1.2.0", "prosemirror-view": "1.32.7", @@ -139,7 +140,6 @@ "postcss": "^8.4.27", "prettier": "2.7.1", "prosemirror-dev-toolkit": "1.1.5", - "prosemirror-test-builder": "1.1.1", "react": "18.2.0", "react-dom": "18.2.0", "rimraf": "3.0.2", diff --git a/src/pm/readme.md b/src/pm/readme.md index e99010a3..2514716e 100644 --- a/src/pm/readme.md +++ b/src/pm/readme.md @@ -14,3 +14,4 @@ ### Also some other modules: - [prosemirror-utils](https://github.com/atlassian/prosemirror-utils) +- [prosemirror-test-builder](https://github.com/ProseMirror/prosemirror-test-builder) diff --git a/src/pm/test-builder.ts b/src/pm/test-builder.ts new file mode 100644 index 00000000..1194c514 --- /dev/null +++ b/src/pm/test-builder.ts @@ -0,0 +1 @@ +export * from 'prosemirror-test-builder';