mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-05-13 19:11:15 +00:00
- Add chokidar ^4.0.0 as dependency (root package.json, runtime-package.json) - Mark chokidar as external in vite.config.ts (not bundled, loaded at runtime) - Implement CLIWatchAdapter.beginWatch() with chokidar: - ignoreInitial: true (startup files handled by mirror scan) - awaitWriteFinish to prevent partial-write events - Excludes dotfiles and .livesync/ directory at watcher level - Maps add/change/unlink/addDir/unlinkDir to IStorageEventWatchHandlers - Fatal error handler: logs clearly and releases watcher resources - Add close() to CLIWatchAdapter, StorageEventManagerCLI for clean shutdown - Register onUnload hook in CLIServiceModules to close watcher on shutdown
26 lines
831 B
JSON
26 lines
831 B
JSON
{
|
|
"name": "livesync-cli-runtime",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"description": "Runtime dependencies for Self-hosted LiveSync CLI Docker image",
|
|
"dependencies": {
|
|
"chokidar": "^4.0.0",
|
|
"commander": "^14.0.3",
|
|
"werift": "^0.22.9",
|
|
"pouchdb-adapter-http": "^9.0.0",
|
|
"pouchdb-adapter-idb": "^9.0.0",
|
|
"pouchdb-adapter-indexeddb": "^9.0.0",
|
|
"pouchdb-adapter-leveldb": "^9.0.0",
|
|
"pouchdb-adapter-memory": "^9.0.0",
|
|
"pouchdb-core": "^9.0.0",
|
|
"pouchdb-errors": "^9.0.0",
|
|
"pouchdb-find": "^9.0.0",
|
|
"pouchdb-mapreduce": "^9.0.0",
|
|
"pouchdb-merge": "^9.0.0",
|
|
"pouchdb-replication": "^9.0.0",
|
|
"pouchdb-utils": "^9.0.0",
|
|
"pouchdb-wrappers": "*",
|
|
"transform-pouch": "^2.0.0"
|
|
}
|
|
}
|