-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
40 lines (40 loc) · 3.88 KB
/
Copy pathpackage.json
File metadata and controls
40 lines (40 loc) · 3.88 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
{
"name": "pcu-graduation-project",
"private": true,
"scripts": {
"test": "npm test --workspaces --if-present",
"lint": "npm run lint --workspaces --if-present",
"architecture": "npm run architecture -w apps/api",
"build": "npm run build -w @pcu/contracts && npm run build -w apps/api && npm run build -w apps/web",
"testenv:up": "docker compose -f docker-compose.integration.yml up --build -d && node scripts/smoke-integration.mjs",
"testenv:reset": "docker compose -f docker-compose.integration.yml down -v --remove-orphans && npm run testenv:up",
"testenv:down": "docker compose -f docker-compose.integration.yml down --remove-orphans",
"testenv:clean": "docker compose -f docker-compose.integration.yml down -v --remove-orphans",
"test:integration:orphan-renewal-timeout": "RUN_POSTGRES_INTEGRATION=true DATABASE_URL='postgresql://pcu_admin:integration@127.0.0.1:15432/pcu_graduationproject_v2?schema=public' npm exec -w apps/api -- vitest run src/__tests__/orphan-renewal-timeout.postgres.test.ts",
"test:integration:canonical-processing-fences": "RUN_POSTGRES_INTEGRATION=true DATABASE_URL='postgresql://pcu_admin:integration@127.0.0.1:15432/pcu_graduationproject_v2?schema=public' npm exec -w apps/api -- vitest run src/__tests__/image-pointer-fence.postgres.test.ts",
"test:integration:import-transaction": "RUN_POSTGRES_INTEGRATION=true DATABASE_URL='postgresql://pcu_admin:integration@127.0.0.1:15432/pcu_graduationproject_v2?schema=public' npm exec -w apps/api -- vitest run src/__tests__/import-transaction.postgres.test.ts",
"test:integration:idempotency": "RUN_POSTGRES_INTEGRATION=true DATABASE_URL='postgresql://pcu_admin:integration@127.0.0.1:15432/pcu_graduationproject_v2?schema=public' npm exec -w apps/api -- vitest run src/__tests__/idempotency.postgres.test.ts",
"test:integration:lease-clock-core": "RUN_POSTGRES_INTEGRATION=true DATABASE_URL='postgresql://pcu_admin:integration@127.0.0.1:15432/pcu_graduationproject_v2?schema=public' npm exec -w apps/api -- vitest run src/__tests__/lease-clock.postgres.test.ts",
"test:integration:lease-clock": "RUN_POSTGRES_INTEGRATION=true DATABASE_URL='postgresql://pcu_admin:integration@127.0.0.1:15432/pcu_graduationproject_v2?schema=public' npm exec -w apps/api -- vitest run --no-file-parallelism src/__tests__/lease-clock.postgres.test.ts src/__tests__/orphan-renewal-timeout.postgres.test.ts",
"test:integration:lifecycle-schema": "RUN_POSTGRES_INTEGRATION=true DATABASE_URL='postgresql://pcu_admin:integration@127.0.0.1:15432/pcu_graduationproject_v2?schema=public' npm exec -w apps/api -- vitest run src/__tests__/upload-lifecycle-schema.postgres.test.ts",
"test:integration:responsive-image-migration": "RUN_POSTGRES_INTEGRATION=true DATABASE_URL='postgresql://pcu_admin:integration@127.0.0.1:15432/pcu_graduationproject_v2?schema=public' npm exec -w apps/api -- vitest run src/__tests__/responsive-image-migration.postgres.test.ts",
"test:integration:canonical-migration-chain": "RUN_POSTGRES_INTEGRATION=true RUN_GARAGE_INTEGRATION=true DATABASE_URL='postgresql://pcu_admin:integration@127.0.0.1:15432/pcu_graduationproject_v2?schema=public' S3_ENDPOINT='http://127.0.0.1:3900' S3_REGION='garage' S3_ACCESS_KEY_ID='GK000000000000000000000001' S3_SECRET_ACCESS_KEY='0000000000000000000000000000000000000000000000000000000000000001' S3_BUCKET_PUBLIC='pcu-public' S3_BUCKET_PROTECTED='pcu-protected' npm exec -w apps/api -- vitest run src/__tests__/canonical-migration-chain.garage.postgres.test.ts src/__tests__/webgl-deletion-lifecycle.garage.postgres.test.ts",
"test:integration": "node scripts/run-integration.mjs"
},
"workspaces": [
"apps/api",
"apps/web",
"packages/*"
],
"overrides": {
"@prisma/config@7.9.1": {
"deepmerge-ts": "8.0.1"
},
"browserslist": "4.28.7",
"js-yaml": "4.3.1",
"prisma@7.9.1": {
"mysql2": "3.22.0"
},
"pdfjs-dist": "6.2.108"
}
}