tinbase 0.7.0 → 0.7.1
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/README.md +3 -3
- package/dist/cli.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -79,7 +79,7 @@ The wasm and native engines run the identical bootstrap, migrations, RLS, and re
|
|
|
79
79
|
### Single-binary build
|
|
80
80
|
|
|
81
81
|
```bash
|
|
82
|
-
npm run build:binary # requires bun; emits dist-bin/tinbase (~
|
|
82
|
+
npm run build:binary # requires bun; emits dist-bin/tinbase (~58 MB)
|
|
83
83
|
|
|
84
84
|
./tinbase start # that's the whole deployment
|
|
85
85
|
```
|
|
@@ -182,7 +182,7 @@ Measured on an Apple Silicon Mac (48 GB), macOS 15. Same workload for all three:
|
|
|
182
182
|
| Runtime memory at boot | 49 MB | 59 MB | 71 MB | ~610 MB² | 15 MB | 1,441 MB |
|
|
183
183
|
| Runtime memory after workload | 66 MB | 100 MB | 185 MB | ~640 MB² | 24 MB | 1,626 MB |
|
|
184
184
|
| Data on disk (1k rows) | 39 MB | 39 MB | 0 (in-memory) | 40 MB | 7 MB | 70 MB |
|
|
185
|
-
| Install size | 92 MB (
|
|
185
|
+
| Install size | 92 MB (58 MB binary + PG) | 36 MB³ | 3.6 MB³ | 27 MB³ | 30 MB | 2,291 MB⁴ |
|
|
186
186
|
| Processes | 2 | 2 | 1 | 1 | 1 | 12 containers + Docker |
|
|
187
187
|
| 1,000 inserts | 0.4 s | 0.5 s | 0.8 s | 0.8 s | 0.3 s | 1.1 s |
|
|
188
188
|
| 1,000 filtered reads | 0.3 s | 0.4 s | 0.8 s | 0.9 s | 0.3 s | 1.0 s |
|
|
@@ -225,7 +225,7 @@ Beyond the client SDK, the local platform features real projects depend on also
|
|
|
225
225
|
|
|
226
226
|
## Tests
|
|
227
227
|
|
|
228
|
-
|
|
228
|
+
The integration suite drives the real `@supabase/supabase-js` against the backend (REST via in-process fetch, realtime over actual WebSockets); the full suite — **168 tests** — passes on both the wasm and native engines:
|
|
229
229
|
|
|
230
230
|
```bash
|
|
231
231
|
npm test
|
package/dist/cli.js
CHANGED
|
@@ -101,7 +101,7 @@ function loadWebhooks(dir) {
|
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
function printHelp() {
|
|
104
|
-
console.log(`tinbase — Supabase-compatible backend
|
|
104
|
+
console.log(`tinbase — Supabase-compatible backend, no Docker (embedded Postgres / PGlite)
|
|
105
105
|
|
|
106
106
|
Usage: tinbase [command] [options]
|
|
107
107
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tinbase",
|
|
3
|
-
"version": "0.7.
|
|
4
|
-
"description": "A
|
|
3
|
+
"version": "0.7.1",
|
|
4
|
+
"description": "A Docker-free, Supabase-compatible local backend — real Postgres (embedded native or PGlite/WASM), wire-compatible with supabase-js.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "Sanket Sahu",
|
|
7
7
|
"license": "MIT",
|