@crvouga/mockingbird-service-postgres 1.6.0 → 2.0.0

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.
@@ -0,0 +1,2 @@
1
+ /** Check startup, authentication and SELECT over the bound wire listener. */
2
+ export declare function probe(connectionString: string): Promise<boolean>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crvouga/mockingbird-service-postgres",
3
- "version": "1.6.0",
3
+ "version": "2.0.0",
4
4
  "description": "Pure TypeScript in-memory PostgreSQL implementation with zero WASM/native dependencies",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -32,6 +32,11 @@
32
32
  "types": "./dist/admin.d.ts",
33
33
  "import": "./dist/admin.js",
34
34
  "default": "./dist/admin.js"
35
+ },
36
+ "./server": {
37
+ "types": "./dist/server.d.ts",
38
+ "import": "./dist/server.js",
39
+ "default": "./dist/server.js"
35
40
  }
36
41
  },
37
42
  "files": [
@@ -42,7 +47,8 @@
42
47
  "README.md",
43
48
  "LICENSE",
44
49
  "compat",
45
- "CHANGELOG.md"
50
+ "CHANGELOG.md",
51
+ "DISCOVERY.md"
46
52
  ],
47
53
  "repository": {
48
54
  "type": "git",
@@ -103,6 +109,7 @@
103
109
  "devDependencies": {
104
110
  "@arethetypeswrong/cli": "^0.18.5",
105
111
  "@biomejs/biome": "^2.5.8",
112
+ "@crvouga/mockingbird-adapter-node": "0.0.0-development",
106
113
  "@crvouga/mockingbird-core": "0.0.0-development",
107
114
  "@crvouga/mockingbird-service": "0.0.0-development",
108
115
  "@crvouga/mockingbird-ui": "0.0.0-development",
@@ -114,6 +121,8 @@
114
121
  "fast-check": "^4.1.1",
115
122
  "pg": "^8.23.0",
116
123
  "publint": "^0.3.23",
124
+ "rollup": "4.63.4",
125
+ "rollup-plugin-dts": "6.5.1",
117
126
  "typescript": "^5.8.3"
118
127
  },
119
128
  "engines": {
@@ -141,7 +150,26 @@
141
150
  "parity": "In-memory SQL engine",
142
151
  "entries": {
143
152
  "wire/index": "node",
144
- "wire/cli": "node"
153
+ "wire/cli": "node",
154
+ "server": "node",
155
+ "wire/fleet": "node",
156
+ "wire/probe": "node"
157
+ },
158
+ "discovery": {
159
+ "guide": "DISCOVERY.md",
160
+ "behavior": "README.md",
161
+ "capabilities": "COMPATIBILITY.md",
162
+ "types": "dist/index.d.ts",
163
+ "oracle": {
164
+ "kind": "PostgreSQL 18.3 via PGlite",
165
+ "command": "bun run --cwd packages/service/postgres test:postgres-compat",
166
+ "note": "Fail-closed differential contracts compare rows, types, errors, row counts and logical state."
167
+ },
168
+ "introspection": [
169
+ "README.md public test controls",
170
+ "COMPATIBILITY.md compatibility and divergence evidence"
171
+ ],
172
+ "reporting": "https://github.com/crvouga/mockingbird/blob/main/docs/REPORTING_ISSUES.md"
145
173
  }
146
174
  },
147
175
  "trustedDependencies": [