pnpm + TypeScript workspace per design doc §13:
- apps/{web,api,worker} skeletons (Next.js 16, Fastify 5, BullMQ)
- packages/{core,solana,prometheus,db,config} (core has real types/DTOs;
solana/prometheus are stubs)
- programs/pyre-core placeholder (future Anchor, v1.0)
- docs/: PYRE_MVP_DESIGN (canonical), ARCHITECTURE, SECURITY, TOKEN_CLASSIFICATION
- CLAUDE.md, README, .env.example (no private-key var by design)
Skeleton + docs only — no Solana/business logic yet. All workspaces typecheck clean.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
29 lines
754 B
JSON
29 lines
754 B
JSON
{
|
|
"name": "@pyre/api",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"description": "PYRE backend HTTP API (Fastify) — scan, classify, build transaction, receipt, generation, admin endpoints.",
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.json",
|
|
"dev": "tsx watch src/index.ts",
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "echo \"TODO: lint\"",
|
|
"test": "echo \"TODO: tests\""
|
|
},
|
|
"dependencies": {
|
|
"@pyre/config": "workspace:*",
|
|
"@pyre/core": "workspace:*",
|
|
"@pyre/db": "workspace:*",
|
|
"@pyre/solana": "workspace:*",
|
|
"bullmq": "^5.34.0",
|
|
"fastify": "^5.2.0",
|
|
"ioredis": "^5.4.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.10.0",
|
|
"tsx": "^4.19.2",
|
|
"typescript": "^5.7.2"
|
|
}
|
|
}
|