chore: initialize workspace structure

This commit is contained in:
2026-03-28 16:30:43 +08:00
commit 50f41a6e22
15 changed files with 103 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
node_modules
pnpm-lock.yaml
dist
.DS_Store
.env
+6
View File
@@ -0,0 +1,6 @@
{
"name": "@aiquant/api",
"version": "0.0.0",
"private": true,
"type": "module"
}
+6
View File
@@ -0,0 +1,6 @@
{
"name": "@aiquant/web",
"version": "0.0.0",
"private": true,
"type": "module"
}
+3
View File
@@ -0,0 +1,3 @@
# Architecture
This directory tracks architecture notes for the modular-monolith Binance event contract agent platform.
+9
View File
@@ -0,0 +1,9 @@
{
"name": "die",
"private": true,
"version": "0.0.0",
"packageManager": "pnpm@10.18.3",
"scripts": {
"test": "node scripts/test-root.mjs"
}
}
+9
View File
@@ -0,0 +1,9 @@
{
"name": "@aiquant/agent-runtime",
"version": "0.0.0",
"private": true,
"type": "module",
"exports": {
".": "./src/index.ts"
}
}
+1
View File
@@ -0,0 +1 @@
export const AGENT_RUNTIME_PACKAGE = "agent-runtime";
+6
View File
@@ -0,0 +1,6 @@
{
"name": "@aiquant/execution-ledger",
"version": "0.0.0",
"private": true,
"type": "module"
}
+6
View File
@@ -0,0 +1,6 @@
{
"name": "@aiquant/market-data",
"version": "0.0.0",
"private": true,
"type": "module"
}
+16
View File
@@ -0,0 +1,16 @@
{
"name": "@aiquant/shared",
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"test": "vitest run"
},
"dependencies": {
"@aiquant/agent-runtime": "workspace:*"
},
"devDependencies": {
"typescript": "^5.9.2",
"vitest": "^2.1.8"
}
}
+8
View File
@@ -0,0 +1,8 @@
import { describe, expect, it } from "vitest";
import { AGENT_RUNTIME_PACKAGE } from "@aiquant/agent-runtime";
describe("workspace smoke test", () => {
it("resolves cross-workspace package exports", () => {
expect(AGENT_RUNTIME_PACKAGE).toBe("agent-runtime");
});
});
+6
View File
@@ -0,0 +1,6 @@
{
"name": "@aiquant/strategy-lab",
"version": "0.0.0",
"private": true,
"type": "module"
}
+3
View File
@@ -0,0 +1,3 @@
packages:
- "apps/*"
- "packages/*"
+9
View File
@@ -0,0 +1,9 @@
import { spawnSync } from "node:child_process";
const result = spawnSync("pnpm", ["--filter", "@aiquant/shared", "test"], {
cwd: process.cwd(),
stdio: "inherit",
shell: true
});
process.exit(result.status ?? 1);
+10
View File
@@ -0,0 +1,10 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "Bundler",
"strict": true,
"noEmit": true,
"types": ["vitest/globals"]
}
}