1.2 KiB
1.2 KiB
Project Readme Hints
Build Tools
- Uses
@git.zone/tsbuildv4.x — justtsbuildwith no extra flags needed - Uses
@git.zone/tstestv3.x — zero-config, file naming convention for runtime selection - Uses
@git.zone/tsrunv2.x — zero-config TypeScript execution via tsx
Key Architectural Decisions
- No smartfile dependency — replaced with native Node.js
fs/promisesfor filesystem operations in crashlogmanager.ts and logpersistence.ts (smartfile v13 removed thefsandmemorynamespaces) - smartconfig (not npmextra) — configuration stored in
.smartconfig.jsonusing@push.rocks/smartconfigKeyValueStore - Three test categories: unit tests (test.ts, test.daemon.ts, test.ipcclient.ts), direct tests (test.crashlog.direct.ts), and integration tests (test.crashlog.ts, test.crashlog.manual.ts) that require a running daemon
Integration Tests
- The crashlog integration tests (
test.crashlog.ts,test.crashlog.manual.ts) depend on a running daemon and CLI output parsing - They gracefully skip when daemon can't be started in the test environment
- The CLI
addcommand outputsAssigned ID: <number>(notProcess added with ID:)