Skip to content

Commit 6c1c44a

Browse files
committed
fix: move y-prosemirror to dependencies in server-util
server-util unconditionally imports @blocknote/core/yjs which has a hard runtime import of y-prosemirror. Having it in devDependencies meant it was stripped from the published tarball, causing ERR_MODULE_NOT_FOUND for consumers (e.g. the Next.js test app).
1 parent 4793434 commit 6c1c44a

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/server-util/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@
6060
"@blocknote/react": "workspace:^",
6161
"@tiptap/pm": "^3.13.0",
6262
"jsdom": "^25.0.1",
63+
"y-prosemirror": "^1.3.7",
6364
"yjs": "^13.6.27"
6465
},
6566
"devDependencies": {
6667
"@types/jsdom": "^21.1.7",
67-
"y-prosemirror": "^1.3.7",
6868
"y-protocols": "^1.0.6",
6969
"@types/react": "^19.2.3",
7070
"@types/react-dom": "^19.2.3",

pnpm-lock.yaml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)