-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpackage.json
More file actions
96 lines (96 loc) · 5.63 KB
/
Copy pathpackage.json
File metadata and controls
96 lines (96 loc) · 5.63 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
{
"name": "piyaz",
"version": "0.4.12",
"private": true,
"license": "AGPL-3.0-or-later",
"type": "module",
"//overrides": "TEMP security pins for transitive CVEs. REMOVE each entry once its parent ships the fix and `bun audit --audit-level=high` passes without it. fast-uri >=3.1.4 <4 (GHSA-v2hh-gcrm-f6hx, via ajv under @modelcontextprotocol/sdk and eslint; ajv declares ^3.0.1, so the parent range already allows the fix). postcss >=8.5.18 <9 (GHSA-6g55-p6wh-862q, GHSA-r28c-9q8g-f849, via next, which pins postcss 8.4.31 EXACTLY: this entry contradicts its parent's declared range rather than nudging a loose one, so re-check it on every next bump and drop it as soon as next unpins). sharp is handled separately via a CI --ignore (no takeable fix). Tracked in PYZ-345.",
"overrides": {
"fast-uri": ">=3.1.4 <4",
"postcss": ">=8.5.18 <9"
},
"scripts": {
"dev": "next dev --webpack",
"build": "next build --webpack",
"postbuild": "bun run scripts/postbuild.ts",
"start": "node --env-file-if-exists=.env.local scripts/start.mjs",
"build:cf": "DEPLOY_TARGET=cloudflare next build --webpack && DEPLOY_TARGET=cloudflare opennextjs-cloudflare build",
"preview:cf": "SIGNUPS_ENABLED=true DEPLOY_TARGET=cloudflare next build --webpack && SIGNUPS_ENABLED=true DEPLOY_TARGET=cloudflare opennextjs-cloudflare build && SIGNUPS_ENABLED=true DEPLOY_TARGET=cloudflare opennextjs-cloudflare preview --env production",
"deploy:cf": "bun run scripts/assert-deploy-ready.ts && SIGNUPS_ENABLED=true DEPLOY_TARGET=cloudflare next build --webpack && SIGNUPS_ENABLED=true DEPLOY_TARGET=cloudflare opennextjs-cloudflare build && SIGNUPS_ENABLED=true DEPLOY_TARGET=cloudflare opennextjs-cloudflare deploy --env production",
"deploy:cf:dev": "bun run scripts/turnstile-symmetry.ts --env dev && SIGNUPS_ENABLED=true DEPLOY_TARGET=cloudflare next build --webpack && SIGNUPS_ENABLED=true DEPLOY_TARGET=cloudflare opennextjs-cloudflare build && SIGNUPS_ENABLED=true DEPLOY_TARGET=cloudflare opennextjs-cloudflare deploy --env dev",
"cf-typegen": "wrangler types --env production --env-interface CloudflareEnv cloudflare-env.d.ts",
"pretest": "[ -n \"$TEST_DATABASE_URL\" ] || bun run db:test:up",
"test": "bun test",
"test:db": "bun test tests/db tests/data tests/auth",
"lint": "eslint .",
"format": "biome format --write .",
"format:check": "biome format .",
"typecheck": "tsc --noEmit",
"check:plugins": "bun run scripts/check-plugins.ts",
"smoke:cf": "bun run scripts/smoke-workers.ts",
"sync:plugins": "bun run scripts/check-plugins.ts --fix",
"docs:gen": "bun scripts/generate-docs.ts",
"db:setup": "docker compose --env-file .env.local up -d --wait && docker exec -i piyaz-db-1 psql -U piyaz -d piyaz < docker/init-auth.sql && docker exec piyaz-db-1 /docker-entrypoint-initdb.d/02-rls.sh && bun run db:migrate && bun run db:rls",
"db:generate": "drizzle-kit generate",
"db:migrate": "bun run scripts/assert-migration-journal.ts && drizzle-kit migrate",
"db:rls": "docker exec -i piyaz-db-1 psql -v ON_ERROR_STOP=1 -U piyaz -d piyaz < docker/grants.sql && docker exec -i piyaz-db-1 psql -v ON_ERROR_STOP=1 -U piyaz -d piyaz < docker/grants-auth.sql && docker exec -i piyaz-db-1 psql -v ON_ERROR_STOP=1 -U piyaz -d piyaz < docker/role-settings.sql && docker exec -i piyaz-db-1 psql -v ON_ERROR_STOP=1 -U piyaz -d piyaz < docker/rls-functions.sql && docker exec -i piyaz-db-1 psql -v ON_ERROR_STOP=1 -U piyaz -d piyaz < docker/rls-policies.sql && docker exec -i piyaz-db-1 psql -v ON_ERROR_STOP=1 -U piyaz -d piyaz < docker/storage.sql",
"db:rls:ci": "bun scripts/apply-public-rls.ts",
"db:rls:verify": "bun scripts/verify-rls.ts",
"db:rls:owner": "bun scripts/apply-owner-rls.ts",
"db:baseline": "bun run scripts/baseline-self-host.ts",
"db:grandfather-verified": "bun scripts/grandfather-verified-users.ts",
"db:push": "bun run scripts/assert-throwaway-db.ts && drizzle-kit push",
"db:studio": "drizzle-kit studio",
"db:test:up": "docker compose -f docker-compose.test.yml up -d --wait",
"db:test:down": "docker compose -f docker-compose.test.yml down -v"
},
"dependencies": {
"@better-auth/core": "1.6.23",
"@better-auth/oauth-provider": "1.6.23",
"@fontsource-variable/geist-mono": "^5.3.0",
"@fontsource-variable/inter": "^5.3.0",
"@marsidev/react-turnstile": "1.5.3",
"@modelcontextprotocol/sdk": "1.29.0",
"@neondatabase/serverless": "1.1.0",
"@tailwindcss/postcss": "^4.3.3",
"@tanstack/react-query": "^5.101.4",
"@tanstack/react-query-devtools": "^5.101.4",
"@tanstack/react-virtual": "^3.14.8",
"@types/d3-force": "^3.0.10",
"@types/d3-quadtree": "^3.0.6",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"better-auth": "1.6.23",
"d3-force": "^3.0.0",
"d3-quadtree": "^3.0.1",
"drizzle-orm": "0.45.2",
"motion": "^12.42.2",
"next": "^16.2.11",
"postgres": "^3.4.9",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"react-markdown": "^10.1.0",
"rehype-sanitize": "^6.0.0",
"remark-gfm": "^4.0.1",
"server-only": "^0.0.1",
"shiki": "^4.3.1",
"tailwindcss": "^4.3.3",
"typescript": "6.0.3",
"zod": "4.4.3"
},
"devDependencies": {
"@biomejs/biome": "2.5.4",
"@cloudflare/workers-types": "^4.20260702.1",
"@opennextjs/cloudflare": "^1.20.2",
"@types/node": "^24.13.3",
"bun-types": "^1.3.14",
"drizzle-kit": "0.31.10",
"eslint": "^9.39.5",
"eslint-config-next": "^16.2.11",
"eslint-plugin-import": "^2.32.0",
"wrangler": "^4.114.0"
},
"patchedDependencies": {
"@better-auth/core@1.6.23": "patches/@better-auth%2Fcore@1.6.23.patch"
}
}