mirror of
https://github.com/opf/openproject.git
synced 2026-06-13 19:20:00 +00:00
aeb5e34ea1
Feasibility-study draft showing the openproject-side consumer changes that go with op-blocknote-extensions v0.1.0 (opf/op-blocknote-extensions PRs #133 and #134, not yet merged): frontend - @blocknote/{core,mantine,react}: ^0.44.2 → ^0.51.0 - op-blocknote-extensions: v0.0.26 → v0.1.0 (URL not live yet) - OpBlockNoteEditor.tsx: BlockNote 0.51 tightened CollaborationOptions — omit the whole `collaboration` block when no hocuspocusProvider is wired up; cast the provider at the boundary because Hocuspocus's `awareness: Awareness | null` doesn't match BlockNote's `Awareness | undefined`. hocuspocus (extensions/op-blocknote-hocuspocus) - @blocknote/server-util: ^0.44.2 → ^0.51.0 - @blocknote/core (dev): ^0.44.2 → ^0.51.0 - op-blocknote-extensions: v0.0.18 → v0.1.0 - openProjectApi.ts: import the static specs from the new `op-blocknote-extensions/server` subpath (keeps @blocknote/react out of Node); align schema key with the post-refactor block type ("openProjectWorkPackage" → "openProjectWorkPackageBlock"); register the inline static spec so inline work-package chips survive the markdown export. Lockfiles intentionally not regenerated: the v0.1.0 GitHub URL doesn't resolve yet. Reviewers should treat this PR as a feasibility study, not a mergeable artefact. Refs: https://community.openproject.org/wp/74654 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
45 lines
1.2 KiB
JSON
45 lines
1.2 KiB
JSON
{
|
|
"name": "op-blocknote-hocuspocus",
|
|
"version": "0.0.1",
|
|
"main": "src/index.ts",
|
|
"type": "module",
|
|
"scripts": {
|
|
"start": "tsx src/index.ts",
|
|
"dev": "tsx watch src/index.ts",
|
|
"debug": "tsx --inspect src/index.ts",
|
|
"lint": "eslint . --ext .ts",
|
|
"test": "vitest"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/opf/openproject.git"
|
|
},
|
|
"license": "GPLv3",
|
|
"bugs": {
|
|
"url": "https://github.com/opf/openproject/issues"
|
|
},
|
|
"homepage": "https://github.com/opf/openproject/tree/dev/extensions/op-blocknote-hocuspocus#readme",
|
|
"engines": {
|
|
"node": ">=22.18"
|
|
},
|
|
"dependencies": {
|
|
"@blocknote/server-util": "^0.51.0",
|
|
"@hocuspocus/extension-logger": "^3.4.4",
|
|
"@hocuspocus/server": "^3.4.0",
|
|
"op-blocknote-extensions": "https://github.com/opf/op-blocknote-extensions/releases/download/v0.1.0/op-blocknote-extensions-0.1.0.tgz",
|
|
"tsx": "^4.21.0"
|
|
},
|
|
"devDependencies": {
|
|
"@blocknote/core": "^0.51.0",
|
|
"@eslint/js": "^9.35.0",
|
|
"@eslint/json": "^1.2.0",
|
|
"@stylistic/eslint-plugin": "^5.3.1",
|
|
"@types/node": "^25.0.2",
|
|
"eslint": "^9.35.0",
|
|
"globals": "^17.3.0",
|
|
"msw": "^2.12.7",
|
|
"typescript-eslint": "^8.48.1",
|
|
"vitest": "^4.0.15"
|
|
}
|
|
}
|