A new package, packages/server: Hocuspocus 3.4.4 on /sync, a project a document, refused with a reason when the store has not got it; every update stored in Postgres as it comes and compacted after 500 updates, a minute of quiet and when the last person leaves (FOR UPDATE on the row written when the project is made); the janitor runs only here, at loading and 250 ms after a change that is not its own; readers change nothing; /healthz; JSON log. On closing it takes no one new and closes the sockets too (Hocuspocus' close is a message after which a client signs in again on the same socket). The tests use real clients against a throwaway Postgres in Docker. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
29 lines
916 B
JSON
29 lines
916 B
JSON
{
|
|
"name": "mdg-filius",
|
|
"private": true,
|
|
"license": "GPL-3.0-only",
|
|
"type": "module",
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"scripts": {
|
|
"test": "vitest run",
|
|
"typecheck": "tsc -b && tsc -p packages/core/test && tsc -p packages/fls/test && tsc -p packages/doc/test && tsc -p packages/protocol/test && tsc -p packages/sim/test && tsc -p packages/server/test && tsc -p packages/sim/browser && tsc -p packages/editor && tsc -p packages/editor/test",
|
|
"test:browser": "playwright test",
|
|
"check": "npm run typecheck && npm run test",
|
|
"hooks": "git config core.hooksPath scripts/hooks",
|
|
"oracle": "tools/swift-oracle/run.sh",
|
|
"oracle:java": "tools/java-oracle/run.sh"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "1.62.1",
|
|
"@types/node": "^20.19.0",
|
|
"esbuild": "^0.28.2",
|
|
"typescript": "^5.9.0",
|
|
"vitest": "^3.2.0"
|
|
}
|
|
}
|