jazz-run 0.8.37 → 0.8.38
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +13 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
- package/src/index.ts +3 -1
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# jazz-run
|
2
2
|
|
3
|
+
## 0.8.38
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- 28930ee: Log the server address when running the local sync server
|
8
|
+
- Updated dependencies [da13eca]
|
9
|
+
- Updated dependencies [b00ee91]
|
10
|
+
- Updated dependencies [f488c09]
|
11
|
+
- cojson-storage-sqlite@0.8.38
|
12
|
+
- cojson@0.8.38
|
13
|
+
- cojson-transport-ws@0.8.38
|
14
|
+
- jazz-tools@0.8.38
|
15
|
+
|
3
16
|
## 0.8.37
|
4
17
|
|
5
18
|
### Patch Changes
|
package/dist/index.js
CHANGED
@@ -37,7 +37,7 @@ const dbOption = Options.file("db")
|
|
37
37
|
export const startSyncServerCommand = Command.make("sync", { port: portOption, inMemory: inMemoryOption, db: dbOption }, ({ port, inMemory, db }) => {
|
38
38
|
return Effect.gen(function* () {
|
39
39
|
yield* Effect.promise(() => startSyncServer({ port, inMemory, db }));
|
40
|
-
Console.log(`COJSON sync server listening on ws://127.0.0.1:${port}`);
|
40
|
+
yield* Console.log(`COJSON sync server listening on ws://127.0.0.1:${port}`);
|
41
41
|
// Keep the server up
|
42
42
|
yield* Effect.never;
|
43
43
|
});
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,uCAAuC;AACvC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,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AE,EAAE,EAAE,EAAE,EAAE;IACzB,OAAO,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;QACzB,KAAK,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,eAAe,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;QAErE,KAAK,CAAC,CAAC,OAAO,CAAC,GAAG,CAChB,kDAAkD,IAAI,EAAE,CACzD,CAAC;QAEF,qBAAqB;QACrB,KAAK,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC;IACtB,CAAC,CAAC,CAAC;AACL,CAAC,CACF,CAAC;AAEF,MAAM,OAAO,GAAG,SAAS,CAAC,IAAI,CAC5B,OAAO,CAAC,eAAe,CAAC,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC,CAClE,CAAC;AAEF,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE;IAC/B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,SAAS;CACnB,CAAC,CAAC;AAEH,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAC1C,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,EACjC,WAAW,CAAC,OAAO,CACpB,CAAC"}
|
package/package.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
"bin": "./dist/index.js",
|
4
4
|
"type": "module",
|
5
5
|
"license": "MIT",
|
6
|
-
"version": "0.8.
|
6
|
+
"version": "0.8.38",
|
7
7
|
"dependencies": {
|
8
8
|
"@effect/cli": "^0.41.2",
|
9
9
|
"@effect/platform-node": "^0.57.2",
|
@@ -11,11 +11,11 @@
|
|
11
11
|
"@effect/printer-ansi": "^0.34.5",
|
12
12
|
"@effect/schema": "^0.71.1",
|
13
13
|
"@effect/typeclass": "^0.25.5",
|
14
|
-
"cojson": "0.8.
|
15
|
-
"cojson-storage-sqlite": "0.8.
|
16
|
-
"cojson-transport-ws": "0.8.
|
14
|
+
"cojson": "0.8.38",
|
15
|
+
"cojson-storage-sqlite": "0.8.38",
|
16
|
+
"cojson-transport-ws": "0.8.38",
|
17
17
|
"effect": "^3.6.5",
|
18
|
-
"jazz-tools": "0.8.
|
18
|
+
"jazz-tools": "0.8.38",
|
19
19
|
"ws": "^8.14.2"
|
20
20
|
},
|
21
21
|
"devDependencies": {
|
package/src/index.ts
CHANGED
@@ -67,7 +67,9 @@ export const startSyncServerCommand = Command.make(
|
|
67
67
|
return Effect.gen(function* () {
|
68
68
|
yield* Effect.promise(() => startSyncServer({ port, inMemory, db }));
|
69
69
|
|
70
|
-
Console.log(
|
70
|
+
yield* Console.log(
|
71
|
+
`COJSON sync server listening on ws://127.0.0.1:${port}`,
|
72
|
+
);
|
71
73
|
|
72
74
|
// Keep the server up
|
73
75
|
yield* Effect.never;
|