Setup repo: migrate architecture specs, code stubs, and tasks from alkhub_ts
Copy architecture docs, ADRs, storage domain specs, research, reviews, and 56 storage architecture tasks from the alkhub_ts monorepo. Adapt for standalone @alkdev/hub repo structure (src/ not packages/hub/). Sanitize all sensitive information: - Replace private IPs (10.0.0.1) with localhost defaults - Remove internal server hostnames (dev1, ns528096) - Replace /workspace/ private paths with npm package references - Remove hardcoded credentials from examples - Rewrite infrastructure.md without private network details Add Deno project scaffolding: deno.json (pinned deps), .gitignore, AGENTS.md, entry point. Migrate existing code stubs (crypto, config types, logger) with updated import paths.
This commit is contained in:
55
deno.json
Normal file
55
deno.json
Normal file
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"name": "@alkdev/hub",
|
||||
"version": "0.1.0",
|
||||
"exports": {
|
||||
".": "./src/mod.ts",
|
||||
"./config": "./src/config/types.ts",
|
||||
"./logger": "./src/logger/mod.ts",
|
||||
"./crypto": "./src/crypto/mod.ts"
|
||||
},
|
||||
"tasks": {
|
||||
"test": "deno test --allow-all",
|
||||
"test:watch": "deno test --allow-all --watch",
|
||||
"typecheck": "deno check src/**/*.ts",
|
||||
"lint": "deno lint src/",
|
||||
"db:generate": "deno run --allow-all npm:drizzle-kit generate",
|
||||
"db:migrate": "deno run --allow-all npm:drizzle-kit migrate"
|
||||
},
|
||||
"imports": {
|
||||
"@alkdev/operations": "npm:@alkdev/operations@0.1.0",
|
||||
"@alkdev/pubsub": "npm:@alkdev/pubsub@0.1.0",
|
||||
"@alkdev/taskgraph": "npm:@alkdev/taskgraph@0.0.2",
|
||||
"@alkdev/flowgraph": "npm:@alkdev/flowgraph@0.1.0",
|
||||
"@alkdev/typebox": "npm:@alkdev/typebox@0.34.49",
|
||||
"@alkdev/typebox/value": "npm:@alkdev/typebox@0.34.49/value",
|
||||
"@alkdev/drizzlebox": "npm:@alkdev/drizzlebox@0.1.0",
|
||||
"@hono/mcp": "npm:@hono/mcp@0.3.0",
|
||||
"@logtape/file": "npm:@logtape/file@2.1.1",
|
||||
"@logtape/logtape": "npm:@logtape/logtape@2.1.1",
|
||||
"@modelcontextprotocol/sdk": "npm:@modelcontextprotocol/sdk@1.29.0",
|
||||
"@std/assert": "jsr:@std/assert@^1.0.16",
|
||||
"@std/encoding": "jsr:@std/encoding@^1.0.10",
|
||||
"@std/flags": "jsr:@std/flags@^0.224.0",
|
||||
"@std/path": "jsr:@std/path@^1.1.4",
|
||||
"@std/testing": "jsr:@std/testing@^1.0.16",
|
||||
"drizzle-orm": "npm:drizzle-orm@0.45.2",
|
||||
"hono": "npm:hono@4.12.23",
|
||||
"ioredis": "npm:ioredis@5.10.1",
|
||||
"keypal": "npm:keypal@0.2.0",
|
||||
"pg": "npm:pg@8.21.0"
|
||||
},
|
||||
"nodeModulesDir": "auto",
|
||||
"compilerOptions": {
|
||||
"strict": true
|
||||
},
|
||||
"lint": {
|
||||
"rules": {
|
||||
"exclude": ["no-explicit-any"]
|
||||
}
|
||||
},
|
||||
"fmt": {
|
||||
"singleQuote": true,
|
||||
"semiColons": false,
|
||||
"trailingCommas": "all"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user