@syncular/testkit 0.1.1 → 0.1.3

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/dist/index.d.ts CHANGED
@@ -1,11 +1,7 @@
1
1
  export * from './audit';
2
- export * from './client-bridge';
3
2
  export * from './deterministic';
4
3
  export * from './disposable';
5
4
  export * from './faults';
6
- export * from './hono-node-server';
7
- export * from './http-fixtures';
8
- export * from './project-scoped-tasks';
9
5
  export * from './realtime-ws';
10
6
  export * from './runtime-process';
11
7
  export * from './sync-builders';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC"}
package/dist/index.js CHANGED
@@ -1,11 +1,7 @@
1
1
  export * from './audit.js';
2
- export * from './client-bridge.js';
3
2
  export * from './deterministic.js';
4
3
  export * from './disposable.js';
5
4
  export * from './faults.js';
6
- export * from './hono-node-server.js';
7
- export * from './http-fixtures.js';
8
- export * from './project-scoped-tasks.js';
9
5
  export * from './realtime-ws.js';
10
6
  export * from './runtime-process.js';
11
7
  export * from './sync-builders.js';
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from './hono-node-server';
2
+ export * from './http-fixtures';
3
+ export * from './project-scoped-tasks';
4
+ //# sourceMappingURL=server.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC"}
package/dist/server.js ADDED
@@ -0,0 +1,4 @@
1
+ export * from './hono-node-server.js';
2
+ export * from './http-fixtures.js';
3
+ export * from './project-scoped-tasks.js';
4
+ //# sourceMappingURL=server.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"server.js","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncular/testkit",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Testing fixtures and utilities for Syncular",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Benjamin Kniffler",
@@ -32,6 +32,20 @@
32
32
  "types": "./dist/index.d.ts",
33
33
  "default": "./dist/index.js"
34
34
  }
35
+ },
36
+ "./client-bridge": {
37
+ "bun": "./src/client-bridge.ts",
38
+ "import": {
39
+ "types": "./dist/client-bridge.d.ts",
40
+ "default": "./dist/client-bridge.js"
41
+ }
42
+ },
43
+ "./server": {
44
+ "bun": "./src/server.ts",
45
+ "import": {
46
+ "types": "./dist/server.d.ts",
47
+ "default": "./dist/server.js"
48
+ }
35
49
  }
36
50
  },
37
51
  "scripts": {
@@ -41,13 +55,21 @@
41
55
  "release": "syncular-publish"
42
56
  },
43
57
  "dependencies": {
44
- "@syncular/client": "0.1.1",
45
- "@syncular/core": "0.1.1",
46
- "@syncular/server": "0.1.1",
47
- "hono": "^4.12.15"
58
+ "@syncular/core": "0.1.3"
59
+ },
60
+ "peerDependencies": {
61
+ "@electric-sql/pglite": "^0.3.15",
62
+ "@syncular/client": "0.1.3",
63
+ "@syncular/server": "0.1.3",
64
+ "hono": "^4.12.15",
65
+ "kysely": "^0.28.0"
48
66
  },
49
67
  "devDependencies": {
68
+ "@electric-sql/pglite": "^0.3.15",
69
+ "@syncular/client": "0.1.3",
50
70
  "@syncular/config": "0.0.0",
71
+ "@syncular/server": "0.1.3",
72
+ "hono": "^4.12.15",
51
73
  "kysely": "*"
52
74
  },
53
75
  "files": [
@@ -60,5 +82,22 @@
60
82
  "!dist/**/__tests__/**",
61
83
  "!test/**",
62
84
  "!tests/**"
63
- ]
85
+ ],
86
+ "peerDependenciesMeta": {
87
+ "@electric-sql/pglite": {
88
+ "optional": true
89
+ },
90
+ "@syncular/client": {
91
+ "optional": true
92
+ },
93
+ "@syncular/server": {
94
+ "optional": true
95
+ },
96
+ "hono": {
97
+ "optional": true
98
+ },
99
+ "kysely": {
100
+ "optional": true
101
+ }
102
+ }
64
103
  }
package/src/index.ts CHANGED
@@ -1,11 +1,7 @@
1
1
  export * from './audit';
2
- export * from './client-bridge';
3
2
  export * from './deterministic';
4
3
  export * from './disposable';
5
4
  export * from './faults';
6
- export * from './hono-node-server';
7
- export * from './http-fixtures';
8
- export * from './project-scoped-tasks';
9
5
  export * from './realtime-ws';
10
6
  export * from './runtime-process';
11
7
  export * from './sync-builders';
package/src/server.ts ADDED
@@ -0,0 +1,3 @@
1
+ export * from './hono-node-server';
2
+ export * from './http-fixtures';
3
+ export * from './project-scoped-tasks';