@crvouga/mockingbird-service-postgres 2.2.0 → 2.3.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.
- package/CHANGELOG.md +19 -1
- package/dist/admin.js +2 -1
- package/dist/admin.js.map +2 -2
- package/package.json +87 -87
package/package.json
CHANGED
|
@@ -1,17 +1,34 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
2
|
+
"bin": {
|
|
3
|
+
"mockingbird-postgres": "./dist/wire/cli.js"
|
|
4
|
+
},
|
|
5
|
+
"bugs": {
|
|
6
|
+
"url": "https://github.com/crvouga/mockingbird/issues"
|
|
7
|
+
},
|
|
4
8
|
"description": "Pure TypeScript in-memory PostgreSQL implementation with zero WASM/native dependencies",
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
"devDependencies": {
|
|
10
|
+
"@arethetypeswrong/cli": "^0.18.5",
|
|
11
|
+
"@biomejs/biome": "^2.5.14",
|
|
12
|
+
"@crvouga/mockingbird-adapter-node": "0.0.0-development",
|
|
13
|
+
"@crvouga/mockingbird-core": "0.0.0-development",
|
|
14
|
+
"@crvouga/mockingbird-service": "0.0.0-development",
|
|
15
|
+
"@crvouga/mockingbird-ui": "0.0.0-development",
|
|
16
|
+
"@electric-sql/pglite": "^0.5.8",
|
|
17
|
+
"@types/bun": "latest",
|
|
18
|
+
"@types/pg": "^8.23.1",
|
|
19
|
+
"embedded-postgres": "18.3.0-beta.17",
|
|
20
|
+
"esbuild": "^0.28.2",
|
|
21
|
+
"fast-check": "^4.10.2",
|
|
22
|
+
"pg": "^8.23.0",
|
|
23
|
+
"publint": "^0.3.24",
|
|
24
|
+
"rollup": "4.63.4",
|
|
25
|
+
"rollup-plugin-dts": "6.5.1",
|
|
26
|
+
"typescript": "^5.9.3"
|
|
27
|
+
},
|
|
28
|
+
"engines": {
|
|
29
|
+
"bun": ">=1.1.0",
|
|
30
|
+
"node": ">=20"
|
|
31
|
+
},
|
|
15
32
|
"exports": {
|
|
16
33
|
".": {
|
|
17
34
|
"types": "./dist/index.d.ts",
|
|
@@ -50,19 +67,63 @@
|
|
|
50
67
|
"CHANGELOG.md",
|
|
51
68
|
"DISCOVERY.md"
|
|
52
69
|
],
|
|
53
|
-
"repository": {
|
|
54
|
-
"type": "git",
|
|
55
|
-
"url": "git+https://github.com/crvouga/mockingbird.git",
|
|
56
|
-
"directory": "packages/service/postgres"
|
|
57
|
-
},
|
|
58
70
|
"homepage": "https://github.com/crvouga/mockingbird/tree/main/packages/service/postgres#readme",
|
|
59
|
-
"
|
|
60
|
-
"
|
|
71
|
+
"keywords": [
|
|
72
|
+
"mockingbird",
|
|
73
|
+
"postgres",
|
|
74
|
+
"postgresql",
|
|
75
|
+
"typescript",
|
|
76
|
+
"in-memory",
|
|
77
|
+
"database",
|
|
78
|
+
"sql"
|
|
79
|
+
],
|
|
80
|
+
"license": "MIT",
|
|
81
|
+
"main": "./dist/index.js",
|
|
82
|
+
"mockingbird": {
|
|
83
|
+
"runtime": "portable",
|
|
84
|
+
"layer": "service",
|
|
85
|
+
"category": "databases",
|
|
86
|
+
"displayName": "PostgreSQL",
|
|
87
|
+
"vendor": {
|
|
88
|
+
"website": "https://www.postgresql.org",
|
|
89
|
+
"docs": "https://www.postgresql.org/docs/current/"
|
|
90
|
+
},
|
|
91
|
+
"parity": "In-memory SQL engine",
|
|
92
|
+
"entries": {
|
|
93
|
+
"wire/index": "node",
|
|
94
|
+
"wire/cli": "node",
|
|
95
|
+
"server": "node",
|
|
96
|
+
"wire/fleet": "node",
|
|
97
|
+
"wire/probe": "node"
|
|
98
|
+
},
|
|
99
|
+
"discovery": {
|
|
100
|
+
"guide": "DISCOVERY.md",
|
|
101
|
+
"behavior": "README.md",
|
|
102
|
+
"capabilities": "COMPATIBILITY.md",
|
|
103
|
+
"types": "dist/index.d.ts",
|
|
104
|
+
"oracle": {
|
|
105
|
+
"kind": "PostgreSQL 18.3 via PGlite",
|
|
106
|
+
"command": "bun run --cwd packages/service/postgres test:postgres-compat",
|
|
107
|
+
"note": "Fail-closed differential contracts compare rows, types, errors, row counts and logical state."
|
|
108
|
+
},
|
|
109
|
+
"introspection": [
|
|
110
|
+
"README.md public test controls",
|
|
111
|
+
"COMPATIBILITY.md compatibility and divergence evidence"
|
|
112
|
+
],
|
|
113
|
+
"reporting": "https://github.com/crvouga/mockingbird/blob/main/docs/REPORTING_ISSUES.md"
|
|
114
|
+
}
|
|
61
115
|
},
|
|
116
|
+
"module": "./dist/index.js",
|
|
117
|
+
"name": "@crvouga/mockingbird-service-postgres",
|
|
62
118
|
"publishConfig": {
|
|
63
119
|
"access": "public",
|
|
64
120
|
"provenance": true
|
|
65
121
|
},
|
|
122
|
+
"repository": {
|
|
123
|
+
"type": "git",
|
|
124
|
+
"url": "git+https://github.com/crvouga/mockingbird.git",
|
|
125
|
+
"directory": "packages/service/postgres"
|
|
126
|
+
},
|
|
66
127
|
"scripts": {
|
|
67
128
|
"build": "bun run scripts/build.ts",
|
|
68
129
|
"test": "bun test tests/contract tests/fuzz tests/harness tests/server",
|
|
@@ -106,72 +167,11 @@
|
|
|
106
167
|
"test:postgres-native": "bun run scripts/run-postgres-native-tests.ts",
|
|
107
168
|
"test:server": "bun test tests/server"
|
|
108
169
|
},
|
|
109
|
-
"
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"@crvouga/mockingbird-core": "0.0.0-development",
|
|
114
|
-
"@crvouga/mockingbird-service": "0.0.0-development",
|
|
115
|
-
"@crvouga/mockingbird-ui": "0.0.0-development",
|
|
116
|
-
"@electric-sql/pglite": "^0.5.5",
|
|
117
|
-
"@types/bun": "latest",
|
|
118
|
-
"@types/pg": "^8.23.1",
|
|
119
|
-
"embedded-postgres": "18.3.0-beta.17",
|
|
120
|
-
"esbuild": "^0.28.2",
|
|
121
|
-
"fast-check": "^4.1.1",
|
|
122
|
-
"pg": "^8.23.0",
|
|
123
|
-
"publint": "^0.3.23",
|
|
124
|
-
"rollup": "4.63.4",
|
|
125
|
-
"rollup-plugin-dts": "6.5.1",
|
|
126
|
-
"typescript": "^5.8.3"
|
|
127
|
-
},
|
|
128
|
-
"engines": {
|
|
129
|
-
"bun": ">=1.1.0",
|
|
130
|
-
"node": ">=20"
|
|
131
|
-
},
|
|
132
|
-
"keywords": [
|
|
133
|
-
"mockingbird",
|
|
134
|
-
"postgres",
|
|
135
|
-
"postgresql",
|
|
136
|
-
"typescript",
|
|
137
|
-
"in-memory",
|
|
138
|
-
"database",
|
|
139
|
-
"sql"
|
|
170
|
+
"sideEffects": [
|
|
171
|
+
"./src/serialization/codec.ts",
|
|
172
|
+
"./src/schema/catalog-tables.ts",
|
|
173
|
+
"./src/executor/triggers-exec.ts"
|
|
140
174
|
],
|
|
141
|
-
"mockingbird": {
|
|
142
|
-
"runtime": "portable",
|
|
143
|
-
"layer": "service",
|
|
144
|
-
"category": "databases",
|
|
145
|
-
"displayName": "PostgreSQL",
|
|
146
|
-
"vendor": {
|
|
147
|
-
"website": "https://www.postgresql.org",
|
|
148
|
-
"docs": "https://www.postgresql.org/docs/current/"
|
|
149
|
-
},
|
|
150
|
-
"parity": "In-memory SQL engine",
|
|
151
|
-
"entries": {
|
|
152
|
-
"wire/index": "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"
|
|
173
|
-
}
|
|
174
|
-
},
|
|
175
175
|
"trustedDependencies": [
|
|
176
176
|
"@embedded-postgres/darwin-arm64",
|
|
177
177
|
"@embedded-postgres/darwin-x64",
|
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
"@embedded-postgres/linux-x64",
|
|
183
183
|
"@embedded-postgres/windows-x64"
|
|
184
184
|
],
|
|
185
|
-
"
|
|
186
|
-
|
|
187
|
-
|
|
185
|
+
"type": "module",
|
|
186
|
+
"types": "./dist/index.d.ts",
|
|
187
|
+
"version": "2.3.0"
|
|
188
188
|
}
|