opencode/services/data/package.json
Dax Raad 070b980c0b refactor(data): strict dev/production stages and data naming
- services/data/stage.ts: stage(mode) throws on anything but dev or production, used by all three configs, build.ts and deploy.ts
- packages/stats -> packages/data (@opencode/data-app, -core, -server)
- StatsSyncWorkflow -> DataSyncWorkflow, instance ids data-hourly-/data-history-, Data* resource keys, data sync log lines
- worker, route, workflow and cron names unchanged
2026-11-11 02:35:05 -05:00

26 lines
858 B
JSON

{
"$schema": "https://json.schemastore.org/package.json",
"name": "@opencode/data",
"private": true,
"type": "module",
"license": "MIT",
"scripts": {
"dev": "bun run --cwd ../../packages/data/app dev",
"build:dev": "bun script/build.ts --mode dev",
"build:production": "bun script/build.ts --mode production",
"deploy:dev": "bun script/deploy.ts --mode dev",
"deploy:production": "bun script/deploy.ts --mode production",
"typecheck": "bun check --no-script",
"typecheck:tsc": "tsc --noEmit"
},
"devDependencies": {
"@cloudflare/build-output-utils": "0.8.5",
"@cloudflare/config": "0.23.0",
"@opencode/data-app": "workspace:*",
"@opencode/data-server": "workspace:*",
"@types/bun": "catalog:",
"@typescript/native": "catalog:",
"cf": "1.0.0-beta.12",
"typescript": "catalog:"
}
}