@crvouga/mockingbird-service-sqlite 1.2.1 → 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crvouga/mockingbird-service-sqlite",
3
- "version": "1.2.1",
3
+ "version": "2.0.0",
4
4
  "description": "Pure TypeScript in-memory SQLite implementation with zero WASM/native dependencies",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -18,8 +18,21 @@
18
18
  "types": "./dist/unstable.d.ts",
19
19
  "import": "./dist/unstable.js",
20
20
  "default": "./dist/unstable.js"
21
+ },
22
+ "./admin": {
23
+ "types": "./dist/admin.d.ts",
24
+ "import": "./dist/admin.js",
25
+ "default": "./dist/admin.js"
26
+ },
27
+ "./socket": {
28
+ "types": "./dist/socket/index.d.ts",
29
+ "import": "./dist/socket/index.js",
30
+ "default": "./dist/socket/index.js"
21
31
  }
22
32
  },
33
+ "bin": {
34
+ "mockingbird-sqlite": "./dist/socket/cli.js"
35
+ },
23
36
  "files": [
24
37
  "dist",
25
38
  "AGENTS.md",
@@ -28,7 +41,8 @@
28
41
  "README.md",
29
42
  "LICENSE",
30
43
  "compat",
31
- "CHANGELOG.md"
44
+ "CHANGELOG.md",
45
+ "DISCOVERY.md"
32
46
  ],
33
47
  "repository": {
34
48
  "type": "git",
@@ -77,7 +91,7 @@
77
91
  "scenarios": "bun run scripts/sqlite-scenarios.ts",
78
92
  "fts-surface": "bun run scripts/fts-oracle-surface.ts",
79
93
  "requirements": "bun run scripts/sqlite-requirements.ts",
80
- "typecheck": "tsc --noEmit",
94
+ "typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.admin.json",
81
95
  "typecheck:package": "tsc --noEmit -p tsconfig.package.json",
82
96
  "format": "biome format --config-path=biome.json --write .",
83
97
  "format:check": "biome format --config-path=biome.json .",
@@ -95,6 +109,7 @@
95
109
  "devDependencies": {
96
110
  "@arethetypeswrong/cli": "^0.18.5",
97
111
  "@biomejs/biome": "^2.5.8",
112
+ "@crvouga/mockingbird-core": "0.0.0-development",
98
113
  "@crvouga/mockingbird-ui": "0.0.0-development",
99
114
  "@types/bun": "latest",
100
115
  "alasql": "^4.17.3",
@@ -127,6 +142,26 @@
127
142
  "docs": "https://sqlite.org/docs.html",
128
143
  "description": "SQLite is a small, fast, self-contained, public-domain SQL database engine, the most widely deployed database in the world."
129
144
  },
130
- "parity": "In-memory SQL engine"
145
+ "parity": "In-memory SQL engine",
146
+ "entries": {
147
+ "socket/index": "node",
148
+ "socket/cli": "node"
149
+ },
150
+ "discovery": {
151
+ "guide": "DISCOVERY.md",
152
+ "behavior": "README.md",
153
+ "capabilities": "COMPATIBILITY.md",
154
+ "types": "dist/index.d.ts",
155
+ "oracle": {
156
+ "kind": "SQLite via bun:sqlite (version pinned in COMPATIBILITY.md)",
157
+ "command": "bun run --cwd packages/service/sqlite test:sqlite-compat",
158
+ "note": "Fail-closed differential contracts compare results, errors, counters and logical state."
159
+ },
160
+ "introspection": [
161
+ "README.md public test controls",
162
+ "COMPATIBILITY.md compatibility and divergence evidence"
163
+ ],
164
+ "reporting": "https://github.com/crvouga/mockingbird/blob/main/docs/REPORTING_ISSUES.md"
165
+ }
131
166
  }
132
167
  }