-
-
Notifications
You must be signed in to change notification settings - Fork 296
Expand file tree
/
Copy pathpackage.json
More file actions
146 lines (146 loc) · 9.23 KB
/
Copy pathpackage.json
File metadata and controls
146 lines (146 loc) · 9.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"name": "supa-storage",
"packageManager": "npm@11.12.1",
"scripts": {
"dev": "tsx watch src/start/server.ts | pino-pretty",
"build": "tsc -noEmit && node ./build.js && resolve-tspaths",
"start": "NODE_ENV=production node dist/start/server.js",
"lint": "biome check . && prettier --check .",
"lint:fix": "biome check --fix . && prettier --write .",
"migration:run": "tsx src/scripts/migrate-call.ts",
"migration:test-idempotency": "tsx src/scripts/test-migration-idempotency.ts",
"migrations:types": "tsx src/scripts/migrations-types.ts",
"docs:export": "tsx ./src/scripts/export-docs.ts",
"docs:export-ui": "tsx ./src/scripts/export-docs-ui.ts",
"pprof:capture": "tsx src/scripts/pprof-client.ts",
"test:dummy-data": "tsx -r dotenv/config ./src/test/db/import-dummy-data.ts",
"test:unit": "vitest run --config vitest.unit.config.ts",
"test:unit:watch": "vitest --config vitest.unit.config.ts",
"test:unit:coverage": "vitest run --coverage --config vitest.unit.config.ts",
"test:integration": "vitest run --config vitest.integration.config.ts",
"test:integration:watch": "vitest --config vitest.integration.config.ts",
"test:integration:coverage": "vitest run --coverage --config vitest.integration.config.ts",
"acceptance": "tsx acceptance/scripts/run-managed-local.ts",
"acceptance:run": "tsx acceptance/scripts/run.ts",
"acceptance:typecheck": "tsc -p acceptance/tsconfig.json --noEmit",
"test": "npm run test:unit && npm run infra:restart && npm run test:dummy-data && npm run test:integration",
"test:oriole": "npm run infra:restart:oriole && npm run test:dummy-data && npm run test:integration",
"test:multigres": "npm run infra:restart:multigres && DATABASE_ENGINE=multigres npm run test:dummy-data && DATABASE_ENGINE=multigres npm run test:integration",
"test:coverage": "npm run infra:restart && npm run test:dummy-data && npm run test:integration:coverage",
"test:coverage:ci": "npm run infra:restart:ci && npm run test:dummy-data && npm run test:integration:coverage",
"test:oriole:ci": "npm run infra:restart:ci:oriole && npm run test:dummy-data && npm run test:integration",
"test:vector:oriole:pgvector": "VECTOR_BUCKET_PROVIDER=pgvector VECTOR_STORE_MIGRATIONS_ENABLED=true VECTOR_DATABASE_URL=postgresql://postgres:postgres@127.0.0.1:5432/postgres npm run infra:restart:oriole:pgvector && npm run test:dummy-data && VECTOR_BUCKET_PROVIDER=pgvector VECTOR_STORE_MIGRATIONS_ENABLED=true VECTOR_DATABASE_URL=postgresql://postgres:postgres@127.0.0.1:5432/postgres npm run test:integration -- src/test/pgvector-adapter.test.ts src/test/vectors-pgvector.test.ts",
"test:vector:multigres:pgvector": "VECTOR_BUCKET_PROVIDER=pgvector VECTOR_DATABASE_CREATE=false VECTOR_STORE_MIGRATIONS_ENABLED=true VECTOR_DATABASE_URL=postgresql://postgres:postgres@127.0.0.1:5432/postgres npm run infra:restart:multigres && npm run test:dummy-data && VECTOR_BUCKET_PROVIDER=pgvector VECTOR_DATABASE_CREATE=false VECTOR_STORE_MIGRATIONS_ENABLED=true VECTOR_DATABASE_URL=postgresql://postgres:postgres@127.0.0.1:5432/postgres npm run test:integration -- src/test/pgvector-adapter.test.ts src/test/vectors-pgvector.test.ts",
"test:multigres:ci": "npm run infra:restart:ci:multigres && DATABASE_ENGINE=multigres npm run test:dummy-data && DATABASE_ENGINE=multigres npm run test:integration",
"infra:stop": "docker compose --project-directory . --profile monitoring -f ./.docker/docker-compose-infra.yml down --remove-orphans",
"infra:start": "docker compose --project-directory . --profile monitoring -f ./.docker/docker-compose-infra.yml up -d && sleep 5 && npm run migration:run",
"infra:start:ci": "docker compose --project-directory . -f ./.docker/docker-compose-infra.yml up -d && sleep 5 && npm run migration:run",
"infra:start:oriole": "docker compose --project-directory . --profile monitoring -f ./.docker/docker-compose-infra.yml -f ./.docker/docker-compose-infra-oriole-override.yml up -d && sleep 5 && npm run migration:run",
"infra:start:ci:oriole": "docker compose --project-directory . -f ./.docker/docker-compose-infra.yml -f ./.docker/docker-compose-infra-oriole-override.yml up -d && sleep 5 && npm run migration:run",
"infra:start:multigres": "docker compose --project-directory . --profile monitoring -f ./.docker/docker-compose-infra.yml -f ./.docker/docker-compose-infra-multigres-override.yml up -d && docker compose --project-directory . --profile monitoring -f ./.docker/docker-compose-infra.yml -f ./.docker/docker-compose-infra-multigres-override.yml up -d --wait --wait-timeout 180 tenant_db && npm run migration:run",
"infra:start:ci:multigres": "docker compose --project-directory . -f ./.docker/docker-compose-infra.yml -f ./.docker/docker-compose-infra-multigres-override.yml up -d && docker compose --project-directory . -f ./.docker/docker-compose-infra.yml -f ./.docker/docker-compose-infra-multigres-override.yml up -d --wait --wait-timeout 180 tenant_db && npm run migration:run",
"infra:start:oriole:pgvector": "docker compose --project-directory . --profile monitoring -f ./.docker/docker-compose-infra.yml -f ./.docker/docker-compose-infra-oriole-override.yml -f ./.docker/docker-compose-infra-oriole-pgvector-override.yml up -d --build && sleep 5 && npm run migration:run",
"infra:start:ci:oriole:pgvector": "docker compose --project-directory . -f ./.docker/docker-compose-infra.yml -f ./.docker/docker-compose-infra-oriole-override.yml -f ./.docker/docker-compose-infra-oriole-pgvector-override.yml up -d --build && sleep 5 && npm run migration:run",
"infra:restart": "npm run infra:stop && npm run infra:start",
"infra:restart:ci": "npm run infra:stop && npm run infra:start:ci",
"infra:restart:oriole": "npm run infra:stop && npm run infra:start:oriole",
"infra:restart:ci:oriole": "npm run infra:stop && npm run infra:start:ci:oriole",
"infra:restart:multigres": "npm run infra:stop && npm run infra:start:multigres",
"infra:restart:ci:multigres": "npm run infra:stop && npm run infra:start:ci:multigres",
"infra:restart:oriole:pgvector": "npm run infra:stop && npm run infra:start:oriole:pgvector",
"infra:restart:ci:oriole:pgvector": "npm run infra:stop && npm run infra:start:ci:oriole:pgvector"
},
"dependencies": {
"@aws-sdk/client-ecs": "^3.1041.0",
"@aws-sdk/client-s3": "^3.1023.0",
"@aws-sdk/client-s3vectors": "^3.1023.0",
"@aws-sdk/lib-storage": "^3.1023.0",
"@aws-sdk/s3-request-presigner": "^3.1024.0",
"@fastify/accepts": "^5.0.4",
"@fastify/multipart": "^9.4.0",
"@fastify/otel": "^0.18.1",
"@fastify/rate-limit": "^10.3.0",
"@fastify/swagger": "^9.7.0",
"@fastify/swagger-ui": "^5.2.6",
"@isaacs/ttlcache": "^1.4.1",
"@kubernetes/client-node": "^1.3.0",
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/auto-instrumentations-node": "^0.74.0",
"@opentelemetry/exporter-metrics-otlp-grpc": "^0.215.0",
"@opentelemetry/exporter-prometheus": "^0.213.0",
"@opentelemetry/host-metrics": "^0.38.3",
"@opentelemetry/instrumentation-aws-sdk": "^0.59.0",
"@opentelemetry/instrumentation-http": "^0.213.0",
"@opentelemetry/instrumentation-pg": "^0.64.0",
"@opentelemetry/instrumentation-runtime-node": "^0.25.0",
"@opentelemetry/sdk-metrics": "^2.6.1",
"@opentelemetry/sdk-node": "^0.213.0",
"@platformatic/control": "^3.59.0",
"@platformatic/flame": "^1.6.0",
"@platformatic/globals": "^3.59.0",
"@platformatic/node": "^3.59.0",
"@platformatic/wattpm-pprof-capture": "^3.59.0",
"@smithy/node-http-handler": "^2.3.1",
"@tus/file-store": "2.1.0",
"@tus/s3-store": "2.0.3",
"@tus/server": "2.2.1",
"agentkeepalive": "^4.6.0",
"ajv": "^8.18.0",
"aws-sigv4-sign": "^1.2.1",
"conventional-changelog-conventionalcommits": "^5.0.0",
"dotenv": "^16.0.0",
"fast-decode-uri-component": "^1.0.1",
"fast-json-stringify": "^6.3.0",
"fast-querystring": "^1.1.2",
"fastify": "^5.8.5",
"fastify-plugin": "^5.1.0",
"fs-xattr": "0.3.1",
"ioredis": "^5.2.4",
"jose": "^6.2.3",
"json-bigint": "^1.0.0",
"lru-cache": "^11.2.0",
"pg": "^8.12.0",
"pg-boss": "github:supabase/pg-boss#feat/exactly_once",
"pg-listen": "^1.7.0",
"pino": "^10.3.1",
"pino-logflare": "^0.5.2",
"platformatic": "^3.59.0",
"postgres-migrations": "^5.3.0",
"pprof-format": "^2.2.1",
"safe-stable-stringify": "^2.3.1",
"undici": "^7.24.0",
"wattpm": "^3.59.0",
"xml2js": "^0.6.2"
},
"devDependencies": {
"@aws-sdk/s3-presigned-post": "^3.1023.0",
"@biomejs/biome": "2.5.1",
"@types/js-yaml": "^4.0.5",
"@types/json-bigint": "^1.0.4",
"@types/node": "^24.12.0",
"@types/pg": "^8.6.4",
"@types/xml2js": "^0.4.14",
"@vitest/coverage-v8": "^4.1.5",
"esbuild": "^0.25.8",
"form-data": "^4.0.0",
"js-yaml": "^4.1.0",
"json-schema-to-ts": "^3.0.0",
"pino-pretty": "^13.1.3",
"prettier": "^2.8.8",
"resolve-tspaths": "^0.8.19",
"tsx": "^4.21.0",
"tus-js-client": "^4.3.1",
"typescript": "5.9.3",
"vitest": "^4.1.4"
},
"version": "1.11.2",
"description": "Supabase Storage Service",
"main": "index.js",
"author": "Supabase",
"license": "ISC",
"bin": "./dist/server.js",
"engines": {
"node": ">=24.0.0",
"npm": ">=11.12.1"
}
}