leafrelay 0.2.1 → 0.2.2
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.
|
@@ -5064,7 +5064,7 @@ async function tryConnect(metadata) {
|
|
|
5064
5064
|
function connectCliDaemon(autoStart = true) {
|
|
5065
5065
|
return LeafRelayDaemonClient.connect({
|
|
5066
5066
|
clientName: "cli",
|
|
5067
|
-
clientVersion: "0.2.
|
|
5067
|
+
clientVersion: "0.2.2",
|
|
5068
5068
|
daemonEntrypoint: new URL("./daemon.js", import.meta.url),
|
|
5069
5069
|
autoStart
|
|
5070
5070
|
});
|
|
@@ -5154,4 +5154,4 @@ export {
|
|
|
5154
5154
|
chokidar/index.js:
|
|
5155
5155
|
(*! chokidar - MIT License (c) 2012 Paul Miller (paulmillr.com) *)
|
|
5156
5156
|
*/
|
|
5157
|
-
//# sourceMappingURL=chunk-
|
|
5157
|
+
//# sourceMappingURL=chunk-2EXJYAER.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-2EXJYAER.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.2");
|
|
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
|
@@ -680,7 +680,7 @@ function createSocketRpcConnection(socket) {
|
|
|
680
680
|
// ../daemon/src/server.ts
|
|
681
681
|
var IDLE_EXIT_MS = 6e4;
|
|
682
682
|
var REPLICA_ALREADY_ACTIVE = -32010;
|
|
683
|
-
var daemonVersion = true ? "0.2.
|
|
683
|
+
var daemonVersion = true ? "0.2.2" : "development";
|
|
684
684
|
var LeafRelayDaemonServer = class {
|
|
685
685
|
constructor(options = {}) {
|
|
686
686
|
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.2",
|
|
4
4
|
"description": "Reliable two-way synchronization between Overleaf and a local directory.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"overleaf",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"vscode-jsonrpc": "9.0.1"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@leafrelay/core": "0.2.
|
|
62
|
+
"@leafrelay/core": "0.2.2",
|
|
63
63
|
"@leafrelay/daemon": "0.1.7",
|
|
64
64
|
"@leafrelay/protocol": "0.1.7"
|
|
65
65
|
},
|
|
File without changes
|