leafrelay 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +661 -0
- package/README.md +14 -0
- package/README.zh-CN.md +14 -0
- package/dist/chunk-MNOPLM7M.js +2469 -0
- package/dist/chunk-MNOPLM7M.js.map +1 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +77 -0
- package/dist/cli.js.map +1 -0
- package/dist/index.d.ts +734 -0
- package/dist/index.js +73 -0
- package/dist/index.js.map +1 -0
- package/package.json +67 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BaseAPI,
|
|
3
|
+
DEFAULT_IGNORE_PATTERNS,
|
|
4
|
+
ExtendedBaseAPI,
|
|
5
|
+
FileSyncStateStore,
|
|
6
|
+
FolderKeys,
|
|
7
|
+
NodeReplicaFileSystem,
|
|
8
|
+
OverleafRealtimeSocket,
|
|
9
|
+
RemoteProject,
|
|
10
|
+
SYNC_STATE_SCHEMA_VERSION,
|
|
11
|
+
SocketIOAPI,
|
|
12
|
+
SyncEngine,
|
|
13
|
+
configPath,
|
|
14
|
+
createIgnoreMatcher,
|
|
15
|
+
createSyncState,
|
|
16
|
+
encodeTextBase,
|
|
17
|
+
error,
|
|
18
|
+
getServerSession,
|
|
19
|
+
log,
|
|
20
|
+
mergeText,
|
|
21
|
+
normalizeServerUrl,
|
|
22
|
+
overleafSocketProtocol,
|
|
23
|
+
parseSyncState,
|
|
24
|
+
readConfig,
|
|
25
|
+
readProjectSettings,
|
|
26
|
+
readTextBase,
|
|
27
|
+
removeSyncCheckpoint,
|
|
28
|
+
saveServerSession,
|
|
29
|
+
serverKey,
|
|
30
|
+
setLogSink,
|
|
31
|
+
sha256,
|
|
32
|
+
startServe,
|
|
33
|
+
updateSyncCheckpoint,
|
|
34
|
+
warn,
|
|
35
|
+
writeConfig
|
|
36
|
+
} from "./chunk-MNOPLM7M.js";
|
|
37
|
+
export {
|
|
38
|
+
BaseAPI,
|
|
39
|
+
DEFAULT_IGNORE_PATTERNS,
|
|
40
|
+
ExtendedBaseAPI,
|
|
41
|
+
FileSyncStateStore,
|
|
42
|
+
FolderKeys,
|
|
43
|
+
NodeReplicaFileSystem,
|
|
44
|
+
OverleafRealtimeSocket,
|
|
45
|
+
RemoteProject,
|
|
46
|
+
SYNC_STATE_SCHEMA_VERSION,
|
|
47
|
+
SocketIOAPI,
|
|
48
|
+
SyncEngine,
|
|
49
|
+
configPath,
|
|
50
|
+
createIgnoreMatcher,
|
|
51
|
+
createSyncState,
|
|
52
|
+
encodeTextBase,
|
|
53
|
+
error,
|
|
54
|
+
getServerSession,
|
|
55
|
+
log,
|
|
56
|
+
mergeText,
|
|
57
|
+
normalizeServerUrl,
|
|
58
|
+
overleafSocketProtocol,
|
|
59
|
+
parseSyncState,
|
|
60
|
+
readConfig,
|
|
61
|
+
readProjectSettings,
|
|
62
|
+
readTextBase,
|
|
63
|
+
removeSyncCheckpoint,
|
|
64
|
+
saveServerSession,
|
|
65
|
+
serverKey,
|
|
66
|
+
setLogSink,
|
|
67
|
+
sha256,
|
|
68
|
+
startServe,
|
|
69
|
+
updateSyncCheckpoint,
|
|
70
|
+
warn,
|
|
71
|
+
writeConfig
|
|
72
|
+
};
|
|
73
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/package.json
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "leafrelay",
|
|
3
|
+
"version": "0.1.6",
|
|
4
|
+
"description": "Reliable two-way synchronization between Overleaf and a local directory.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"overleaf",
|
|
7
|
+
"latex",
|
|
8
|
+
"sync",
|
|
9
|
+
"cli",
|
|
10
|
+
"collaboration"
|
|
11
|
+
],
|
|
12
|
+
"type": "module",
|
|
13
|
+
"bin": {
|
|
14
|
+
"leafrelay": "./dist/cli.js"
|
|
15
|
+
},
|
|
16
|
+
"main": "./dist/index.js",
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"import": "./dist/index.js"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"dist",
|
|
26
|
+
"README.md",
|
|
27
|
+
"README.zh-CN.md",
|
|
28
|
+
"LICENSE"
|
|
29
|
+
],
|
|
30
|
+
"engines": {
|
|
31
|
+
"node": ">=24"
|
|
32
|
+
},
|
|
33
|
+
"author": {
|
|
34
|
+
"name": "yunhaoli24",
|
|
35
|
+
"url": "https://github.com/yunhaoli24"
|
|
36
|
+
},
|
|
37
|
+
"repository": {
|
|
38
|
+
"type": "git",
|
|
39
|
+
"url": "https://github.com/yunhaoli24/leafrelay"
|
|
40
|
+
},
|
|
41
|
+
"bugs": {
|
|
42
|
+
"url": "https://github.com/yunhaoli24/leafrelay/issues"
|
|
43
|
+
},
|
|
44
|
+
"homepage": "https://github.com/yunhaoli24/leafrelay#readme",
|
|
45
|
+
"license": "AGPL-3.0-only",
|
|
46
|
+
"publishConfig": {
|
|
47
|
+
"access": "public",
|
|
48
|
+
"provenance": true
|
|
49
|
+
},
|
|
50
|
+
"dependencies": {
|
|
51
|
+
"@inquirer/prompts": "8.6.0",
|
|
52
|
+
"chokidar": "5.0.0",
|
|
53
|
+
"commander": "15.0.0",
|
|
54
|
+
"diff-match-patch": "^1.0.5",
|
|
55
|
+
"mime": "4.1.0",
|
|
56
|
+
"minimatch": "^10.2.6",
|
|
57
|
+
"node-diff3": "^3.2.1",
|
|
58
|
+
"uuid": "^14.0.1"
|
|
59
|
+
},
|
|
60
|
+
"devDependencies": {
|
|
61
|
+
"@leafrelay/core": "0.1.6"
|
|
62
|
+
},
|
|
63
|
+
"scripts": {
|
|
64
|
+
"build": "tsup",
|
|
65
|
+
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
66
|
+
}
|
|
67
|
+
}
|