faf-taf-git 2.4.0 → 2.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/CHANGELOG.md +23 -1
  2. package/README.md +1 -1
  3. package/RECEIPT-FORMAT.md +1 -1
  4. package/dist/cli.d.ts +5 -0
  5. package/dist/cli.d.ts.map +1 -1
  6. package/dist/cli.js +14 -1
  7. package/dist/cli.js.map +1 -1
  8. package/package.json +15 -2
  9. package/project.faf +32 -242
  10. package/.faf-dna +0 -95
  11. package/.fafignore +0 -41
  12. package/.github/dependabot.yml +0 -10
  13. package/.github/workflows/ci.yml +0 -53
  14. package/.github/workflows/claude-code-review.yml +0 -36
  15. package/.github/workflows/claude.yml +0 -39
  16. package/.github/workflows/homebrew.yml +0 -19
  17. package/.taf +0 -98
  18. package/CLAUDE.md +0 -38
  19. package/CODE_OF_CONDUCT.md +0 -21
  20. package/CONTRIBUTING.md +0 -289
  21. package/SECURITY.md +0 -19
  22. package/action.yml +0 -50
  23. package/agent.fafa +0 -53
  24. package/badge.svg +0 -21
  25. package/dist/bundle/index.js +0 -36554
  26. package/dist/index.js +0 -42827
  27. package/dist/index.js.map +0 -1
  28. package/dist/licenses.txt +0 -126
  29. package/dist/sourcemap-register.js +0 -1
  30. package/docs/RELEASE-NOTES.md +0 -200
  31. package/docs/USER-GUIDE.md +0 -301
  32. package/jest.config.js +0 -13
  33. package/src/badge.ts +0 -138
  34. package/src/cli.ts +0 -297
  35. package/src/index.ts +0 -201
  36. package/src/parsers/bun.ts +0 -103
  37. package/src/parsers/index.ts +0 -50
  38. package/src/parsers/jest.ts +0 -104
  39. package/src/parsers/junit.ts +0 -110
  40. package/src/parsers/vitest.ts +0 -65
  41. package/src/parsers/wjttc.ts +0 -160
  42. package/src/taf-core.ts +0 -139
  43. package/test-mcp.ts +0 -83
  44. package/test-standalone.ts +0 -87
  45. package/tests/action-bundle.test.ts +0 -34
  46. package/tests/action-parse-error.test.ts +0 -47
  47. package/tests/badge.test.ts +0 -260
  48. package/tests/bun-parser.test.ts +0 -173
  49. package/tests/jest-parser.test.ts +0 -122
  50. package/tests/junit-parser.test.ts +0 -109
  51. package/tests/vitest-parser.test.ts +0 -112
  52. package/tests/wjttc-parser.test.ts +0 -116
  53. package/tests/wjttc-taf.test.ts +0 -470
  54. package/tsconfig.json +0 -18
package/agent.fafa DELETED
@@ -1,53 +0,0 @@
1
- version: "1.0"
2
- agent:
3
- name: faf-taf-git
4
- displayName: faf-taf-git
5
- id: urn:air:faf.one:agent:faf-taf-git
6
- version: 2.4.0
7
- description: "A Test Receipt Printer for git: each CI run appends a receipt with the test counts and result to a .taf file kept in git."
8
- homepage: https://faf.one
9
- capabilities:
10
- - name: Print a receipt
11
- type: tool
12
- description: Append one Test Receipt (timestamp, counts, result, trigger) to .taf on each CI run
13
- tags:
14
- - print a receipt
15
- - name: Read test output
16
- type: tool
17
- description: Parse Jest, Vitest, Bun and WJTTC test output into passed, failed and total
18
- tags:
19
- - read test output
20
- - name: Receipts branch
21
- type: tool
22
- description: Push receipts to a dedicated branch such as taf-receipts, created on the first run
23
- tags:
24
- - receipts branch
25
- - name: Auto-commit
26
- type: tool
27
- description: Commit the .taf update from CI, with an optional custom message
28
- tags:
29
- - auto-commit
30
- - name: Badge
31
- type: tool
32
- description: Generate an SVG badge from the latest receipt in .taf
33
- tags:
34
- - badge
35
- - name: Action outputs
36
- type: tool
37
- description: Expose result, passed, failed, total and taf-updated to later workflow steps
38
- tags:
39
- - action outputs
40
- endpoints:
41
- - protocol: github-action
42
- transport: http
43
- location: Wolfe-Jam/faf-taf-git
44
- metadata:
45
- cards:
46
- domain: faf.one
47
- examples:
48
- - How do I keep a record of my test results on every CI run?
49
- - How do I add Test Receipts to a GitHub Actions workflow?
50
- - How do I make a test badge from my .taf history?
51
- packages:
52
- - registryType: npm
53
- identifier: faf-taf-git
package/badge.svg DELETED
@@ -1,21 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="145" height="20" role="img" aria-label="TAF: 55/55 passing">
2
- <title>TAF: 55/55 passing</title>
3
- <linearGradient id="s" x2="0" y2="100%">
4
- <stop offset="0" stop-color="#bbb" stop-opacity=".1"/>
5
- <stop offset="1" stop-opacity=".1"/>
6
- </linearGradient>
7
- <clipPath id="r">
8
- <rect width="145" height="20" rx="3" fill="#fff"/>
9
- </clipPath>
10
- <g clip-path="url(#r)">
11
- <rect width="40" height="20" fill="#555"/>
12
- <rect x="40" width="105" height="20" fill="#003366"/>
13
- <rect width="145" height="20" fill="url(#s)"/>
14
- </g>
15
- <g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="11">
16
- <text x="20" y="14" fill="#010101" fill-opacity=".3">TAF</text>
17
- <text x="20" y="13" fill="#fff">TAF</text>
18
- <text x="92.5" y="14" fill="#010101" fill-opacity=".3">55/55 passing</text>
19
- <text x="92.5" y="13" fill="#fff">55/55 passing</text>
20
- </g>
21
- </svg>