Skip to content

Conversation

yogendradayal
Copy link

Fixes #91

This enhancement adds two new metadata fields to the JSON report output:

  • generatedAt – An ISO 8601 timestamp indicating when the report was generated.
  • version – The current tool version retrieved from package.json.

The original audit data is now nested under a top-level reports key, ensuring the metadata is clearly separated from the actual results.

Example Output:

{
  "generatedAt": "2025-07-22T17:04:53.794Z",
  "version": "1.0.0",
  "reports": [
    [
      {
        "rule": "color-contrast",
        "result": "fail"
      },
      {
        "rule": "font-size",
        "result": "pass"
      }
    ]
  ]
}

@yogendradayal
Copy link
Author

Hi @ryelle 👋 — I’ve opened a PR to add the generatedAt and version fields to the JSON report output. This should help clarify when reports were generated and which tool version was used. Let me know if you have any suggestions!

@shivathmikavemula
Copy link

heyy @yogendradayal can you assign this work??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Report template: Add date or version when the report was generated
2 participants