mirror of
https://github.com/enso-org/enso.git
synced 2024-11-22 22:10:15 +03:00
db0582d11c
close #11304 Changelog: - update: add `ide.snapshot` optional metadata field containing the source code of the file - update: `syncFileContents` method tries to repair the metadata spans when it detects that the source file was edited and the received code does not match the code stored in the `ide.snapshot` metadata field # Important Notes Tested in gui
44 lines
940 B
JSON
44 lines
940 B
JSON
{
|
|
"version": "0.1.0",
|
|
"name": "ydoc-server",
|
|
"private": true,
|
|
"type": "module",
|
|
"author": {
|
|
"name": "Enso Team",
|
|
"email": "contact@enso.org"
|
|
},
|
|
"scripts": {
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"typecheck": "tsc",
|
|
"compile": "tsc",
|
|
"lint": "eslint . --max-warnings=0"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"source": "./src/index.ts",
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"debug": "^4.3.6",
|
|
"fast-diff": "^1.3.0",
|
|
"isomorphic-ws": "^5.0.0",
|
|
"js-base64": "^3.7.7",
|
|
"lib0": "^0.2.85",
|
|
"y-protocols": "^1.0.5",
|
|
"ydoc-shared": "workspace:*",
|
|
"yjs": "^13.6.7",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@fast-check/vitest": "^0.0.8",
|
|
"@types/debug": "^4.1.12",
|
|
"@types/node": "^20.11.21",
|
|
"typescript": "^5.5.3",
|
|
"vite-plugin-wasm": "^3.3.0",
|
|
"vitest": "^1.3.1"
|
|
}
|
|
}
|