leafrelay 0.2.4 → 0.2.5
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.
|
@@ -5067,7 +5067,7 @@ async function tryConnect(metadata) {
|
|
|
5067
5067
|
function connectCliDaemon(autoStart = true) {
|
|
5068
5068
|
return LeafRelayDaemonClient.connect({
|
|
5069
5069
|
clientName: "cli",
|
|
5070
|
-
clientVersion: "0.2.
|
|
5070
|
+
clientVersion: "0.2.5",
|
|
5071
5071
|
daemonEntrypoint: new URL("./daemon.js", import.meta.url),
|
|
5072
5072
|
autoStart
|
|
5073
5073
|
});
|
|
@@ -5157,4 +5157,4 @@ export {
|
|
|
5157
5157
|
chokidar/index.js:
|
|
5158
5158
|
(*! chokidar - MIT License (c) 2012 Paul Miller (paulmillr.com) *)
|
|
5159
5159
|
*/
|
|
5160
|
-
//# sourceMappingURL=chunk-
|
|
5160
|
+
//# sourceMappingURL=chunk-IOX2PULH.js.map
|
package/dist/cli.js
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
daemonStatus,
|
|
6
6
|
daemonStop,
|
|
7
7
|
serve
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IOX2PULH.js";
|
|
9
9
|
import {
|
|
10
10
|
configPath,
|
|
11
11
|
normalizeServerUrl
|
|
@@ -48,7 +48,7 @@ async function login(server, options) {
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
// src/cli.ts
|
|
51
|
-
var program = new Command().name("leafrelay").description("Keep a local directory synchronized with an Overleaf project.").version("0.2.
|
|
51
|
+
var program = new Command().name("leafrelay").description("Keep a local directory synchronized with an Overleaf project.").version("0.2.5");
|
|
52
52
|
program.command("login").description("Authenticate to Overleaf and save the session in ~/.leafrelay/config.json.").argument("[server]", "Overleaf server URL", "https://www.overleaf.com/").option("--cookie <cookie>", "Overleaf browser cookie").option("--email <email>", "Overleaf account email").option("--password <password>", "Overleaf account password").action(login);
|
|
53
53
|
program.command("serve").description("Synchronize the current directory with its configured Overleaf project.").argument("[directory]", "Local replica directory", process.cwd()).action(serve);
|
|
54
54
|
var daemon = program.command("daemon").description("Inspect or control the shared LeafRelay daemon.");
|
package/dist/daemon.js
CHANGED
|
@@ -672,7 +672,7 @@ function createSocketRpcConnection(socket) {
|
|
|
672
672
|
// ../daemon/src/server.ts
|
|
673
673
|
var IDLE_EXIT_MS = 6e4;
|
|
674
674
|
var REPLICA_ALREADY_ACTIVE = -32010;
|
|
675
|
-
var daemonVersion = true ? "0.2.
|
|
675
|
+
var daemonVersion = true ? "0.2.5" : "development";
|
|
676
676
|
var LeafRelayDaemonServer = class {
|
|
677
677
|
constructor(options = {}) {
|
|
678
678
|
this.options = options;
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "leafrelay",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "Reliable two-way synchronization between Overleaf and a local directory.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"overleaf",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@leafrelay/daemon": "0.1.7",
|
|
63
|
-
"@leafrelay/core": "0.2.
|
|
63
|
+
"@leafrelay/core": "0.2.5",
|
|
64
64
|
"@leafrelay/protocol": "0.1.7"
|
|
65
65
|
},
|
|
66
66
|
"scripts": {
|
|
File without changes
|