@gusto/baerly-storage 0.1.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/README.md +97 -0
- package/dist/API.md +850 -0
- package/dist/app-config-Cb5dO2s9.d.ts +480 -0
- package/dist/app-config.d.ts +2 -0
- package/dist/app-config.js +8 -0
- package/dist/app-config.js.map +1 -0
- package/dist/auth.d.ts +237 -0
- package/dist/auth.js +1335 -0
- package/dist/auth.js.map +1 -0
- package/dist/baerly.js +761 -0
- package/dist/baerly.js.map +1 -0
- package/dist/bucket-uri-BrDEYvzy.js +4922 -0
- package/dist/bucket-uri-BrDEYvzy.js.map +1 -0
- package/dist/chunk-EAsCxrDo.js +14 -0
- package/dist/client-BLf3Ae5s.d.ts +233 -0
- package/dist/client-react.d.ts +131 -0
- package/dist/client-react.js +559 -0
- package/dist/client-react.js.map +1 -0
- package/dist/client.d.ts +4 -0
- package/dist/client.js +160 -0
- package/dist/client.js.map +1 -0
- package/dist/cloudflare-CINJPKCW.js +911 -0
- package/dist/cloudflare-CINJPKCW.js.map +1 -0
- package/dist/cloudflare.d.ts +211 -0
- package/dist/cloudflare.js +445 -0
- package/dist/cloudflare.js.map +1 -0
- package/dist/config-Bsg8wgwo.js +198 -0
- package/dist/config-Bsg8wgwo.js.map +1 -0
- package/dist/context-Oj7ffwD-.js +187 -0
- package/dist/context-Oj7ffwD-.js.map +1 -0
- package/dist/cost-B1WiZxlf.js +203 -0
- package/dist/cost-B1WiZxlf.js.map +1 -0
- package/dist/current-json-BkatBzF7.js +252 -0
- package/dist/current-json-BkatBzF7.js.map +1 -0
- package/dist/db-D62JguBc.d.ts +336 -0
- package/dist/deploy-BB-wqbhf.js +83 -0
- package/dist/deploy-BB-wqbhf.js.map +1 -0
- package/dist/dev-banner-CWHIk8tH.d.ts +26 -0
- package/dist/dev-vite.d.ts +146 -0
- package/dist/dev-vite.js +223 -0
- package/dist/dev-vite.js.map +1 -0
- package/dist/dev.d.ts +3 -0
- package/dist/dev.js +2 -0
- package/dist/doctor-B8h9GCN9.js +331 -0
- package/dist/doctor-B8h9GCN9.js.map +1 -0
- package/dist/dump-BHo_sIMZ.js +116 -0
- package/dist/dump-BHo_sIMZ.js.map +1 -0
- package/dist/errors-DOdL95kK.js +58 -0
- package/dist/errors-DOdL95kK.js.map +1 -0
- package/dist/export-Dz2PZKSR.js +423 -0
- package/dist/export-Dz2PZKSR.js.map +1 -0
- package/dist/fsck-DEz9lyCy.js +293 -0
- package/dist/fsck-DEz9lyCy.js.map +1 -0
- package/dist/http-CjUO1Bec.js +1756 -0
- package/dist/http-CjUO1Bec.js.map +1 -0
- package/dist/http.d.ts +1619 -0
- package/dist/http.js +2 -0
- package/dist/index-BGC-ENnj.d.ts +1065 -0
- package/dist/index-BYv0hb8M.d.ts +1457 -0
- package/dist/index-BquQkhJi.d.ts +112 -0
- package/dist/index-COsQ-Mlz.d.ts +146 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +6 -0
- package/dist/indexes-BXn7a06a.js +297 -0
- package/dist/indexes-BXn7a06a.js.map +1 -0
- package/dist/indexes-DwOXkn1Y.d.ts +22 -0
- package/dist/inspect-x02aFWnh.js +149 -0
- package/dist/inspect-x02aFWnh.js.map +1 -0
- package/dist/log-walk-DIru96UT.js +260 -0
- package/dist/log-walk-DIru96UT.js.map +1 -0
- package/dist/maintenance-Bn6ul9aV.js +758 -0
- package/dist/maintenance-Bn6ul9aV.js.map +1 -0
- package/dist/maintenance.d.ts +323 -0
- package/dist/maintenance.js +2 -0
- package/dist/node.d.ts +422 -0
- package/dist/node.js +2 -0
- package/dist/normalize-XWY25_sG.js +133 -0
- package/dist/normalize-XWY25_sG.js.map +1 -0
- package/dist/observability-2IDYRuZK.js +2333 -0
- package/dist/observability-2IDYRuZK.js.map +1 -0
- package/dist/observability.d.ts +3 -0
- package/dist/observability.js +3 -0
- package/dist/plan-Cs17VqjU.js +224 -0
- package/dist/plan-Cs17VqjU.js.map +1 -0
- package/dist/query-DcSbFLJt.js +1880 -0
- package/dist/query-DcSbFLJt.js.map +1 -0
- package/dist/rebuild-index-C5gTXryd.js +119 -0
- package/dist/rebuild-index-C5gTXryd.js.map +1 -0
- package/dist/rebuild-index-DwXM0WfA.js +104 -0
- package/dist/rebuild-index-DwXM0WfA.js.map +1 -0
- package/dist/request-BEF_OvMh.js +72 -0
- package/dist/request-BEF_OvMh.js.map +1 -0
- package/dist/restore-CbKVMMpm.js +847 -0
- package/dist/restore-CbKVMMpm.js.map +1 -0
- package/dist/shared-secret-BJdSwpgw.js +71 -0
- package/dist/shared-secret-BJdSwpgw.js.map +1 -0
- package/dist/snapshot-D7C4_FSl.js +71 -0
- package/dist/snapshot-D7C4_FSl.js.map +1 -0
- package/dist/snapshot-z_N9hpTe.js +917 -0
- package/dist/snapshot-z_N9hpTe.js.map +1 -0
- package/dist/src-Chafbw8r.js +522 -0
- package/dist/src-Chafbw8r.js.map +1 -0
- package/dist/src-DyET_VPP.js +6199 -0
- package/dist/src-DyET_VPP.js.map +1 -0
- package/dist/src-n0Te1r98.js +352 -0
- package/dist/src-n0Te1r98.js.map +1 -0
- package/dist/subcommand-BWs6K7zb.js +110 -0
- package/dist/subcommand-BWs6K7zb.js.map +1 -0
- package/dist/usage-RVUQMLop.js +339 -0
- package/dist/usage-RVUQMLop.js.map +1 -0
- package/dist/validate-DhH1lO8I.js +377 -0
- package/dist/validate-DhH1lO8I.js.map +1 -0
- package/dist/wire-izfGZDvr.js +7 -0
- package/dist/wire-izfGZDvr.js.map +1 -0
- package/package.json +189 -0
package/package.json
ADDED
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@gusto/baerly-storage",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Vendorless document database that runs over any S3-compatible storage API.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"cloudflare-workers",
|
|
7
|
+
"database",
|
|
8
|
+
"document-database",
|
|
9
|
+
"edge",
|
|
10
|
+
"http-api",
|
|
11
|
+
"nosql",
|
|
12
|
+
"r2",
|
|
13
|
+
"s3",
|
|
14
|
+
"s3-compatible",
|
|
15
|
+
"self-hosted",
|
|
16
|
+
"serverless",
|
|
17
|
+
"typescript"
|
|
18
|
+
],
|
|
19
|
+
"homepage": "https://github.com/Gusto/baerly-storage#readme",
|
|
20
|
+
"bugs": {
|
|
21
|
+
"url": "https://github.com/Gusto/baerly-storage/issues"
|
|
22
|
+
},
|
|
23
|
+
"license": "MIT",
|
|
24
|
+
"author": "Eric Baer",
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "git+https://github.com/Gusto/baerly-storage.git"
|
|
28
|
+
},
|
|
29
|
+
"bin": {
|
|
30
|
+
"baerly": "./dist/baerly.js"
|
|
31
|
+
},
|
|
32
|
+
"files": [
|
|
33
|
+
"dist"
|
|
34
|
+
],
|
|
35
|
+
"type": "module",
|
|
36
|
+
"sideEffects": false,
|
|
37
|
+
"exports": {
|
|
38
|
+
".": {
|
|
39
|
+
"types": "./dist/index.d.ts",
|
|
40
|
+
"import": "./dist/index.js"
|
|
41
|
+
},
|
|
42
|
+
"./auth": {
|
|
43
|
+
"types": "./dist/auth.d.ts",
|
|
44
|
+
"import": "./dist/auth.js"
|
|
45
|
+
},
|
|
46
|
+
"./http": {
|
|
47
|
+
"types": "./dist/http.d.ts",
|
|
48
|
+
"import": "./dist/http.js"
|
|
49
|
+
},
|
|
50
|
+
"./cloudflare": {
|
|
51
|
+
"types": "./dist/cloudflare.d.ts",
|
|
52
|
+
"import": "./dist/cloudflare.js"
|
|
53
|
+
},
|
|
54
|
+
"./node": {
|
|
55
|
+
"types": "./dist/node.d.ts",
|
|
56
|
+
"import": "./dist/node.js"
|
|
57
|
+
},
|
|
58
|
+
"./maintenance": {
|
|
59
|
+
"types": "./dist/maintenance.d.ts",
|
|
60
|
+
"import": "./dist/maintenance.js"
|
|
61
|
+
},
|
|
62
|
+
"./observability": {
|
|
63
|
+
"types": "./dist/observability.d.ts",
|
|
64
|
+
"import": "./dist/observability.js"
|
|
65
|
+
},
|
|
66
|
+
"./config": {
|
|
67
|
+
"types": "./dist/app-config.d.ts",
|
|
68
|
+
"import": "./dist/app-config.js"
|
|
69
|
+
},
|
|
70
|
+
"./client": {
|
|
71
|
+
"types": "./dist/client.d.ts",
|
|
72
|
+
"import": "./dist/client.js"
|
|
73
|
+
},
|
|
74
|
+
"./client/react": {
|
|
75
|
+
"types": "./dist/client-react.d.ts",
|
|
76
|
+
"import": "./dist/client-react.js"
|
|
77
|
+
},
|
|
78
|
+
"./dev": {
|
|
79
|
+
"types": "./dist/dev.d.ts",
|
|
80
|
+
"import": "./dist/dev.js"
|
|
81
|
+
},
|
|
82
|
+
"./dev/vite": {
|
|
83
|
+
"types": "./dist/dev-vite.d.ts",
|
|
84
|
+
"import": "./dist/dev-vite.js"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"publishConfig": {
|
|
88
|
+
"access": "public"
|
|
89
|
+
},
|
|
90
|
+
"dependencies": {
|
|
91
|
+
"@logtape/logtape": "2.1.1"
|
|
92
|
+
},
|
|
93
|
+
"devDependencies": {
|
|
94
|
+
"@cloudflare/vitest-pool-workers": "0.16.10",
|
|
95
|
+
"@cloudflare/workers-types": "^4.20260527.1",
|
|
96
|
+
"@fast-check/vitest": "^0.4.1",
|
|
97
|
+
"@hono/node-server": "^2.0.4",
|
|
98
|
+
"@testing-library/react": "^16.3.2",
|
|
99
|
+
"@types/node": "^25.9.1",
|
|
100
|
+
"@types/pg": "^8.20.0",
|
|
101
|
+
"@types/react": "^19.2.15",
|
|
102
|
+
"@types/react-dom": "^19.2.3",
|
|
103
|
+
"@typescript/native-preview": "7.0.0-dev.20260526.1",
|
|
104
|
+
"@vitest/coverage-v8": "^4.1.7",
|
|
105
|
+
"aws4fetch": "1.0.20",
|
|
106
|
+
"execa": "^9.6.1",
|
|
107
|
+
"fast-check": "^4.8.0",
|
|
108
|
+
"happy-dom": "^20.9.0",
|
|
109
|
+
"lefthook": "^2.1.8",
|
|
110
|
+
"oxfmt": "^0.52.0",
|
|
111
|
+
"oxlint": "^1.67.0",
|
|
112
|
+
"pg": "^8.21.0",
|
|
113
|
+
"react": "^19.2.6",
|
|
114
|
+
"react-dom": "^19.2.6",
|
|
115
|
+
"rolldown": "^1.0.2",
|
|
116
|
+
"rolldown-plugin-dts": "^0.25.1",
|
|
117
|
+
"vite": "^8.0.14",
|
|
118
|
+
"vitest": "^4.1.7",
|
|
119
|
+
"yaml": "2.9.0",
|
|
120
|
+
"@baerly/adapter-node": "0.1.0",
|
|
121
|
+
"@baerly/client": "0.1.0",
|
|
122
|
+
"@baerly/adapter-cloudflare": "0.1.0",
|
|
123
|
+
"@baerly/protocol": "0.1.0",
|
|
124
|
+
"@baerly/server": "0.1.0",
|
|
125
|
+
"@baerly/dev": "0.1.0"
|
|
126
|
+
},
|
|
127
|
+
"peerDependencies": {
|
|
128
|
+
"@cloudflare/workers-types": "^4",
|
|
129
|
+
"react": "^18 || ^19",
|
|
130
|
+
"vite": "^5 || ^6 || ^7 || ^8"
|
|
131
|
+
},
|
|
132
|
+
"peerDependenciesMeta": {
|
|
133
|
+
"@cloudflare/workers-types": {
|
|
134
|
+
"optional": true
|
|
135
|
+
},
|
|
136
|
+
"react": {
|
|
137
|
+
"optional": true
|
|
138
|
+
},
|
|
139
|
+
"vite": {
|
|
140
|
+
"optional": true
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"engines": {
|
|
144
|
+
"node": ">=24"
|
|
145
|
+
},
|
|
146
|
+
"scripts": {
|
|
147
|
+
"typecheck": "tsgo --noEmit",
|
|
148
|
+
"pretest": "pnpm run build",
|
|
149
|
+
"test": "vitest run --project=default",
|
|
150
|
+
"test:agent": "vitest run --project=default --reporter=minimal --silent=passed-only",
|
|
151
|
+
"test:one": "pnpm run build && vitest run --project=default",
|
|
152
|
+
"test:coverage": "vitest run --project=default --coverage",
|
|
153
|
+
"test:minio": "MINIO=1 vitest run --project=default",
|
|
154
|
+
"test:conformance": "CONFORMANCE=1 MINIO=1 vitest run --project=default tests/integration/conformance.test.ts",
|
|
155
|
+
"test:export-smoke": "EXPORT_SMOKE=1 vitest run --project=default tests/integration/export-smoke.test.ts",
|
|
156
|
+
"test:export-round-trip": "vitest run --project=default tests/integration/export-round-trip.test.ts",
|
|
157
|
+
"build": "rolldown -c && pnpm -r --filter \"./packages/*\" build",
|
|
158
|
+
"baerly": "node dist/baerly.js",
|
|
159
|
+
"format": "oxfmt tests packages",
|
|
160
|
+
"format:check": "oxfmt --check tests packages",
|
|
161
|
+
"lint": "oxlint tests packages",
|
|
162
|
+
"test:randomize": "FC_NUM_RUNS=10000 vitest run --project=default",
|
|
163
|
+
"test:fuzz-phase5": "FC_NUM_RUNS=10000 vitest run --project=default tests/integration/phase5-crash-fuzz.test.ts",
|
|
164
|
+
"test:adapter-cloudflare": "ADAPTER_CLOUDFLARE=1 vitest run --project=cloudflare-pool",
|
|
165
|
+
"test:http-conformance": "vitest run --project=default tests/integration/http-conformance.test.ts",
|
|
166
|
+
"test:adapter-node": "MINIO=1 vitest run --project=default packages/adapter-node",
|
|
167
|
+
"test:adapters": "pnpm test:adapter-cloudflare && pnpm test:adapter-node",
|
|
168
|
+
"test:manual-e2e": "vitest run --project=default manual-e2e/cloudflare/e2e.test.ts manual-e2e/node/e2e.test.ts",
|
|
169
|
+
"gate:day-one": "vitest run --project=default tests/integration/day-one-handshake.test.ts",
|
|
170
|
+
"bundle-sizes": "node scripts/bundle-sizes.mjs",
|
|
171
|
+
"verify": "pnpm run typecheck && pnpm run verify:examples && pnpm run lint && node scripts/add-ts-extensions.mjs --check && node scripts/lint-use-query.mjs && pnpm run verify:docs",
|
|
172
|
+
"verify:agent": "tsgo --noEmit --pretty false && pnpm run verify:examples && oxlint --format=unix --quiet tests packages && node scripts/add-ts-extensions.mjs --check && node scripts/lint-use-query.mjs && pnpm run verify:docs",
|
|
173
|
+
"verify:docs": "node scripts/verify-docs.mjs",
|
|
174
|
+
"verify:examples": "pnpm --filter minimal-cloudflare typecheck && pnpm --filter minimal-node typecheck && pnpm --filter react-cloudflare typecheck && pnpm --filter react-node typecheck",
|
|
175
|
+
"dev:storage": "docker compose up -d --wait",
|
|
176
|
+
"dev:storage:stop": "docker compose down",
|
|
177
|
+
"verdaccio:reset": "./scripts/verdaccio-reset.sh",
|
|
178
|
+
"verdaccio:publish": "node scripts/verdaccio-publish.mjs",
|
|
179
|
+
"dlx:bust-cache": "node scripts/dlx-bust-cache.mjs",
|
|
180
|
+
"worktree:bootstrap": "node scripts/worktree-bootstrap.mjs",
|
|
181
|
+
"bench:r2": "node --import ./bench/register-hooks.mjs bench/r2-contention.ts",
|
|
182
|
+
"bench:r2:matrix": "node --import ./bench/register-hooks.mjs bench/r2-contention-matrix.ts",
|
|
183
|
+
"bench:r2:interpret": "node --import ./bench/register-hooks.mjs bench/r2-contention-interpret.ts",
|
|
184
|
+
"bench:load": "node --import ./bench/register-hooks.mjs bench/load-harness/cli.ts",
|
|
185
|
+
"bench:load:minio": "MINIO=1 node --import ./bench/register-hooks.mjs bench/load-harness/cli.ts --variant=node-minio",
|
|
186
|
+
"bench:load:matrix": "node --import ./bench/register-hooks.mjs bench/load-harness/matrix.ts",
|
|
187
|
+
"bench:lsn-reverse-walk": "node --import ./bench/register-hooks.mjs bench/lsn-reverse-walk.ts"
|
|
188
|
+
}
|
|
189
|
+
}
|