Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 7.24 KB
/
Copy pathpackage.json
File metadata and controls
92 lines (92 loc) · 7.24 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
{
"name": "plexus2",
"private": true,
"workspaces": [
"packages/*"
],
"type": "module",
"module": "index.ts",
"scripts": {
"dev": "bun run generate:openapi:asset && bun run scripts/dev.ts",
"profile": "bun run dev --profile",
"dev:pglite": "bun run dev --pglite",
"dev:full": "bun run dev --full",
"dev:agent": "bun run scripts/dev-agent.ts",
"dev:agent:pglite": "bun run scripts/dev-agent.ts dev:pglite",
"dev:agent:raw": "bun run scripts/dev-agent.ts dev",
"dev:script": "bun run scripts/dev-agent.ts",
"dev:stop": "bun run scripts/dev-agent.ts stop",
"dev:get:port": "bun run scripts/dev-config.ts port",
"dev:get:db_path": "bun run scripts/dev-config.ts db_path",
"dev:get:frp-url": "bun run scripts/dev-config.ts frp_url",
"plexuscli": "bun run packages/cli/src/index.ts",
"sync:cli-skill": "bun run scripts/sync-cli-skill.ts",
"build:frontend": "cd packages/frontend && bun run build",
"build:frontend:if-needed": "[ -n \"$CI\" ] || bun run build:frontend",
"precompile:macos": "bun run generate:openapi:asset",
"compile:macos": "bun run build:frontend:if-needed && bun build packages/backend/src/index.ts packages/backend/src/services/quota/custom-checker-worker.ts packages/backend/drizzle/migrations/*.sql packages/backend/drizzle/migrations_pg/*.sql packages/frontend/dist/*.png packages/frontend/dist/*.ico packages/frontend/dist/*.svg packages/frontend/dist/*.webmanifest --compile --minify --sourcemap --asset-naming=\"[name].[ext]\" --entry-naming=\"[name].[ext]\" --target=bun-darwin-arm64 --outfile plexus-macos",
"precompile:linux-amd64": "bun run generate:openapi:asset",
"compile:linux-amd64": "bun run build:frontend:if-needed && bun build packages/backend/src/index.ts packages/backend/src/services/quota/custom-checker-worker.ts packages/backend/drizzle/migrations/*.sql packages/backend/drizzle/migrations_pg/*.sql packages/frontend/dist/*.png packages/frontend/dist/*.ico packages/frontend/dist/*.svg packages/frontend/dist/*.webmanifest --compile --minify --sourcemap --asset-naming=\"[name].[ext]\" --entry-naming=\"[name].[ext]\" --target=bun-linux-x64 --outfile plexus-linux-amd64",
"precompile:linux-arm64": "bun run generate:openapi:asset",
"compile:linux-arm64": "bun run build:frontend:if-needed && bun build packages/backend/src/index.ts packages/backend/src/services/quota/custom-checker-worker.ts packages/backend/drizzle/migrations/*.sql packages/backend/drizzle/migrations_pg/*.sql packages/frontend/dist/*.png packages/frontend/dist/*.ico packages/frontend/dist/*.svg packages/frontend/dist/*.webmanifest --compile --minify --sourcemap --asset-naming=\"[name].[ext]\" --entry-naming=\"[name].[ext]\" --target=bun-linux-arm64 --outfile plexus-linux-arm64",
"precompile:windows": "bun run generate:openapi:asset",
"compile:windows": "bun run scripts/compile-windows.ts bun-windows-x64 plexus.exe",
"compile:cli:macos-amd64": "bun build packages/cli/src/index.ts --compile --minify --sourcemap --target=bun-darwin-x64 --outfile plexuscli-macos-amd64",
"compile:cli:macos-arm64": "bun build packages/cli/src/index.ts --compile --minify --sourcemap --target=bun-darwin-arm64 --outfile plexuscli-macos-arm64",
"compile:cli:linux-amd64": "bun build packages/cli/src/index.ts --compile --minify --sourcemap --target=bun-linux-x64 --outfile plexuscli-linux-amd64",
"compile:cli:linux-arm64": "bun build packages/cli/src/index.ts --compile --minify --sourcemap --target=bun-linux-arm64 --outfile plexuscli-linux-arm64",
"compile:cli:windows": "bun build packages/cli/src/index.ts --compile --minify --sourcemap --target=bun-windows-x64 --outfile plexuscli.exe",
"prebuild:bin": "bun run generate:openapi:asset",
"build:bin": "bun run build:frontend:if-needed && bun build packages/backend/src/index.ts packages/backend/src/services/quota/custom-checker-worker.ts packages/backend/drizzle/migrations/*.sql packages/backend/drizzle/migrations_pg/*.sql packages/frontend/dist/*.png packages/frontend/dist/*.ico packages/frontend/dist/*.svg packages/frontend/dist/*.webmanifest --compile --minify --sourcemap --asset-naming=\"[name].[ext]\" --entry-naming=\"[name].[ext]\" --outfile plexus",
"typecheck": "bun run --workspaces typecheck",
"release": "bun run scripts/release.ts",
"prep-dev": "bun run scripts/prep-dev.ts",
"prep-dev:clear": "bun run scripts/prep-dev.ts --clear",
"prep-dev:reset": "bun run scripts/prep-dev.ts --reset",
"clear-dev": "bun run scripts/prep-dev.ts --clear",
"prep-dev:save": "bun run scripts/prep-dev.ts --save",
"prep-dev:live": "bun run scripts/prep-dev.ts --live",
"populate-dev": "bun run scripts/populate-dev.ts",
"build:default-populate": "bun run scripts/build-populate.ts",
"postinstall": "bun run scripts/wrap-drizzle-kit.ts",
"prepare": "if [ -z \"$CI\" ]; then lefthook install; fi",
"format": "bun fmt",
"format:check": "bun fmt --check",
"format:changed": "bun fmt --changed",
"lint:migrations": "bun run scripts/lint-migrations.ts",
"generate:provider-presets-schema": "bun run scripts/provider-presets-schema.ts --write",
"check:provider-presets-schema": "bun run scripts/provider-presets-schema.ts",
"backfill:service-tiers": "bun run scripts/backfill-service-tiers.ts",
"lint:openapi": "bunx --bun @redocly/cli lint docs/openapi/openapi.yaml",
"bundle:openapi": "bunx --bun @redocly/cli bundle docs/openapi/openapi.yaml -o docs/openapi.yaml",
"generate:openapi:asset": "bunx --bun @redocly/cli bundle docs/openapi/openapi.yaml -o packages/backend/src/assets/openapi.json",
"generate:repomap": "ctags -R --languages=TypeScript,JavaScript --kinds-TypeScript=cifm --fields=+neKSZ --output-format=json --exclude='node_modules' --exclude='dist' --exclude='.git' --exclude='*.test.ts' --exclude='*.spec.ts' --exclude='__tests__' --exclude='packages/backend/src/assets/*' --exclude='packages/backend/drizzle/migrations*' -f - packages/ | jq -r 'select(._type == \"tag\" and .path != null) | [(.path + \":\" + (.line | tostring)), (\"[\" + (.kind // \"symbol\") + \"]\"), (if .scope then .scope + \".\" + .name else .name end + if .signature then .signature else \"\" end)] | join(\" \")' | sort > .repomap.txt",
"preview:openapi": "bunx --bun @redocly/cli preview-docs docs/openapi/openapi.yaml",
"sync:openapi": "bun run scripts/sync-openapi.ts",
"sync:openapi:write": "bun run scripts/sync-openapi.ts --write",
"sync:openapi:types": "bun run bundle:openapi && bunx --bun openapi-typescript docs/openapi.yaml -o scripts/openapi-types.ts",
"generate-migrations": "bun run scripts/generate-migrations.ts",
"review": "bash .lefthook/pre-push/pr-agent-review.sh --manual",
"code:review": "opencodereview review",
"code:review:branch": "opencodereview review --from origin/main --to HEAD",
"code:review:commit": "opencodereview review --commit HEAD",
"deploy:staging": "bun run scripts/deploy-staging.ts"
},
"dependencies": {
"@earendil-works/pi-ai": "1.5.2"
},
"devDependencies": {
"@redocly/cli": "^2.79.0",
"agent-browser": "^0.43.0",
"ajv": "^8.20.0",
"ajv-formats": "^3.0.1",
"bun-types": "1.4.4",
"lefthook": "^2.2.2",
"octokit": "^5.0.5",
"yaml": "^2.9.1",
"zod": "^4.6.7"
},
"overrides": {
"zod": "^4.6.7"
}
}