27 lines
1.1 KiB
Markdown
27 lines
1.1 KiB
Markdown
# @push.rocks/smartsystem - Project Hints
|
|
|
|
## Project Overview
|
|
A TypeScript library providing a unified interface for system interaction: environment detection, CPU info, network utilities, and deep system information.
|
|
|
|
## Architecture
|
|
- Single main class `Smartsystem` in `ts/index.ts`
|
|
- Plugins file `ts/smartsystem.plugins.ts` imports all dependencies
|
|
- Dependencies: `@push.rocks/smartenv`, `@push.rocks/smartnetwork`, `@push.rocks/lik`, `@push.rocks/smartpromise`, `systeminformation`, plus Node.js `os`
|
|
|
|
## Build & Test
|
|
- Build: `pnpm build` (uses `tsbuild tsfolders`)
|
|
- Test: `pnpm test` (uses `tstest test/ --verbose --logfile --timeout 60`)
|
|
- All 3 tests passing as of last check
|
|
|
|
## Dependencies (all at latest as of 2026-02-12)
|
|
- `@push.rocks/lik`: ^6.2.2
|
|
- `@push.rocks/smartenv`: ^6.0.0
|
|
- `@push.rocks/smartnetwork`: ^4.4.0
|
|
- `@push.rocks/smartpromise`: ^4.2.3
|
|
- `systeminformation`: ^5.30.7
|
|
- Dev: `@git.zone/tsbuild`: ^4.1.2, `@git.zone/tsrun`: ^2.0.1, `@git.zone/tstest`: ^3.1.8
|
|
|
|
## Notes
|
|
- No license file at project root (readme references `./LICENSE`)
|
|
- No tspublish-based submodules
|