saravanakumardb1
def855f032
feat: add quick wins - prettier, bundle limits, coverage
...
✅ Prettier config (.prettierrc) added to all 3 repos
- Consistent formatting: semicolons, single quotes, 100 char width
- Added format/format:check scripts to all package.json
- Added prettier devDependency
✅ Bundle size limits enforcement
- Added .bundlesizerc.json to all 3 dashboards
- Configured limits: _app (150kb), main (50kb), webpack (50kb), framework (100kb)
- Added bundlesize package and size:check script
✅ Test coverage with 80% thresholds
- Added coverage config to all dashboard vitest configs
- Enforces minimum coverage on branches, functions, lines, statements
- Generates text, json, and html reports
✅ TypeScript strict mode already enabled everywhere
- All repos already using strict: true in tsconfig
✅ EditorConfig already present in MindLyst
2026-02-12 15:54:06 -08:00
saravanakumardb1
dca1587efb
feat: tighten production-readiness workflow
...
Quick wins implemented:
- Add ESLint to common_plat (12 projects now linted)
- Add test coverage with 80% thresholds
- Add security audit for all dependencies
- Add bundle analysis for Next.js builds
- Update Makefile with audit target
Enhanced coverage:
- common_plat: +lint, +coverage, +security
- dashboards: +coverage, +bundle analysis, +security
- Python: +security audit via make target
Workflow now validates 7 dimensions instead of 4.
2026-02-12 15:49:46 -08:00
saravanakumardb1
4ae7a9d023
refactor(services): rewire lib/ to @bytelyst/* packages + add docker-compose
...
Rewired all 4 services:
- lib/errors.ts → re-exports from @bytelyst/errors
- lib/cosmos.ts → re-exports from @bytelyst/cosmos
- lib/product-config.ts → uses loadProductIdentity()/getProductId() from @bytelyst/config
- lib/config.ts → kept self-contained (zod v3/v4 type mismatch with loadConfig)
Added workspace deps (@bytelyst/errors, @bytelyst/cosmos, @bytelyst/config) to all 4 services.
Added docker-compose.yml with Loki, Grafana, Traefik, and all 4 services.
Added .env.example with required env vars.
Added passWithNoTests to vitest.config.ts.
Pinned root zod to ^3.24.0 to match service zod versions.
All 12 projects build. 175 tests passing.
2026-02-12 11:49:42 -08:00
saravanakumardb1
d875df09a3
chore(scaffold): initialize pnpm workspace with build tooling
...
- Root package.json with @bytelyst/root, pnpm scripts (build, test, typecheck, clean)
- pnpm-workspace.yaml declaring packages/*
- tsconfig.base.json (ESM, strict, ES2022, NodeNext)
- vitest.config.ts (globals, node environment)
- .gitignore, .nvmrc (Node 20), .editorconfig
- README.md with package overview and quick start
2026-02-12 11:19:29 -08:00