Production readiness checklist before module release
! (non-null assertion)const output: Type pattern.only() in testsRun these before marking complete:
# Security check
grep -r "password\|secret\|key\|token" src/ --exclude="*.ts"
# Build validation
npm run clean
npm run build
# Test validation
npm run test
npm run test:integration
# Lint check
npm run lint
# Check for console.log
grep -r "console.log" src/
# Check for non-null assertions
grep -r "!" src/ | grep -v "!=" | grep -v "!=="
# Check for skipped tests
grep -r ".skip\|.only" test/
✅ Module is ready when:
What to log:
What NOT to log:
No logging for:
The module should be silent except for errors.