v1.2.5: CI/CD & Flexibility Patch
Added
- GitHub Step Summaries:
smile lintandsmile testnow automatically detect if they are running inside GitHub Actions. If so, they will silently append a beautiful Markdown table of the results to$GITHUB_STEP_SUMMARY, giving you native visual dashboards on your PRs! - Inline Suppressions: Added support for
# smile-ignore-next-line <ruleId>in YAML specifications. This allows developers to bypass specific rules on a case-by-case basis using AST parsing without polluting the globalconfig.smile.json. - JUnit XML Reports: Added native support for JUnit format (
--format junit). Bothsmile lintandsmile testcan now output XML reports that are perfectly digestible by GitLab CI, Jenkins, SonarQube, and Bitbucket. - Quiet Mode: Added a
-q, --quietflag to suppress all CLI spam (ASCII art, progress spinners, success messages) in CI environments, printing only errors and machine-readable formats.
Changed
- Reporters Refactor: Refactored the internal
smileReporter.tsinto a cleaner, multi-file module architecture without impacting the public API.
Fixed
- Documentation Overhaul: Conducted a massive review of the
docs/directory to ensure complete parity with the1.2.5codebase.- Created a dedicated
docs/ci-cd.mdguide centralizing all DevOps capabilities (GitHub Actions, GitLab CI, JUnit, Webhooks, Pre-commit). - Fixed outdated references to
smile smokeacross all files, updating them to the correctsmile testcommand. - Updated
library.mdwith accurate TypeScript types forrunSmokeTest(now returningITestResultand accepting custom HTTP headers). - Cleaned up
getting-started.mdandREADME.mdto point seamlessly to the new CI/CD guide.
- Created a dedicated
📦 Installation
npm install -g @mrjacket/smileView Full CHANGELOG