Add core package: money math, event replay, settle-up, recurring, stats, CSV

Deterministic integer/BigInt arithmetic so every client computes identical
balances; replay validates events and supports rewind via snapshots.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013FYo6JSV1fDU1fm3LU77iF
This commit is contained in:
agent 2026-10-09 19:30:09 +00:00
parent 747e49f46a
commit c2043b86bc
15 changed files with 2355 additions and 0 deletions

22
package.json Normal file
View file

@ -0,0 +1,22 @@
{
"name": "oweme",
"private": true,
"type": "module",
"workspaces": ["packages/core", "apps/web"],
"engines": { "node": ">=24" },
"scripts": {
"dev": "node scripts/dev.mjs",
"build": "npm run build -w apps/web",
"test": "npm run test:core && npm run test:server",
"test:core": "vitest run --root packages/core",
"test:server": "node --test --disable-warning=ExperimentalWarning apps/server/test/",
"test:e2e": "playwright test",
"check": "tsc -p packages/core && tsc -p apps/server && npm run check -w apps/web"
},
"devDependencies": {
"@playwright/test": "1.63.0",
"@types/node": "24.10.1",
"typescript": "6.0.2",
"vitest": "5.0.2"
}
}