siko 0.2.1 → 0.3.1

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 (39) hide show
  1. package/CHANGELOG.md +75 -0
  2. package/README.md +704 -65
  3. package/dist/cli/index.d.ts +1 -0
  4. package/dist/cli/index.js +294 -9
  5. package/dist/cli/runner.d.ts +13 -0
  6. package/dist/cli/runner.js +174 -0
  7. package/dist/config/index.d.ts +6 -0
  8. package/dist/config/index.js +11 -0
  9. package/dist/config/loader.d.ts +12 -0
  10. package/dist/config/loader.js +133 -0
  11. package/dist/config/types.d.ts +56 -0
  12. package/dist/config/types.js +37 -0
  13. package/dist/index.d.ts +4 -3
  14. package/dist/index.js +6 -7
  15. package/dist/instrumentation/babel-plugin.d.ts +14 -0
  16. package/dist/instrumentation/babel-plugin.js +298 -0
  17. package/dist/instrumentation/index.d.ts +6 -0
  18. package/dist/instrumentation/index.js +13 -0
  19. package/dist/instrumentation/instrumenter.d.ts +10 -0
  20. package/dist/instrumentation/instrumenter.js +61 -0
  21. package/dist/reporter/index.d.ts +9 -0
  22. package/dist/reporter/index.js +16 -0
  23. package/dist/reporter/json-reporter.d.ts +41 -0
  24. package/dist/reporter/json-reporter.js +90 -0
  25. package/dist/reporter/terminal-reporter.d.ts +16 -0
  26. package/dist/reporter/terminal-reporter.js +112 -0
  27. package/dist/reporter/threshold-checker.d.ts +17 -0
  28. package/dist/reporter/threshold-checker.js +48 -0
  29. package/dist/runtime/index.d.ts +5 -0
  30. package/dist/runtime/index.js +10 -0
  31. package/dist/runtime/tracker.d.ts +40 -0
  32. package/dist/runtime/tracker.js +85 -0
  33. package/dist/runtime/types.d.ts +22 -0
  34. package/dist/runtime/types.js +5 -0
  35. package/dist/utils/file-discovery.d.ts +17 -0
  36. package/dist/utils/file-discovery.js +129 -0
  37. package/dist/utils/index.d.ts +5 -0
  38. package/dist/utils/index.js +9 -0
  39. package/package.json +35 -11
package/CHANGELOG.md ADDED
@@ -0,0 +1,75 @@
1
+ ## [0.3.1] - 2026-02-07
2
+
3
+ ### Fixed
4
+ - Glob pattern support for exclude patterns (e.g., `**/*.test.ts`, `*.tsx`)
5
+ - File exclusion now properly handles wildcard patterns
6
+ - JSX/TSX files can now be excluded using glob patterns
7
+
8
+ ### Added
9
+ - minimatch library for robust glob pattern matching
10
+ - Comprehensive file discovery tests (12 new tests)
11
+ - Support for nested directory exclusions (e.g., `src/jsx/**`)
12
+
13
+ ### Improved
14
+ - File discovery logic with proper glob matching
15
+ - Documentation for exclude pattern usage
16
+ - React/JSX project compatibility via proper exclusions
17
+
18
+ ---
19
+
20
+ ## [0.3.0] - 2026-02-07
21
+
22
+ ### Added
23
+ - Comprehensive test suite with Jest (28 tests, all passing)
24
+ - ESLint configuration with TypeScript support
25
+ - GitHub Actions CI/CD workflows
26
+ - Automated testing on Node 18 and 20
27
+ - Code coverage reporting
28
+ - Lint checks in CI pipeline
29
+ - ESLint with recommended rules and custom overrides
30
+ - Type guards for proper error handling
31
+ - CHANGELOG.md for version tracking
32
+ - API.md for detailed API documentation
33
+
34
+ ### Improved
35
+ - Build process with proper TypeScript compilation
36
+ - Error handling with type narrowing
37
+ - Code quality with linting rules
38
+ - Documentation structure
39
+
40
+ ### CI/CD
41
+ - Automated tests on every push and PR
42
+ - ESLint checks in CI
43
+ - Multi-version Node.js testing (18.x, 20.x)
44
+ - Build verification checks
45
+
46
+ ### Testing
47
+ - Runtime tracker tests
48
+ - Babel instrumentation tests
49
+ - Configuration loader tests
50
+ - JSON reporter tests
51
+ - Threshold checker tests
52
+ - 88%+ code coverage
53
+
54
+ ---
55
+
56
+ ## [0.1.0] - 2026-02-05
57
+
58
+ ### Added
59
+ - Initial package setup
60
+ - Basic placeholder CLI
61
+
62
+ ---
63
+
64
+ ## Upcoming Features
65
+
66
+ ### Planned
67
+ - Source map support for TypeScript
68
+ - HTML report generation
69
+ - Watch mode
70
+ - Historical trend analysis
71
+ - Integration with popular test frameworks
72
+ - Browser environment support
73
+ - Code coverage integration
74
+ - IDE extensions
75
+ - Performance optimizations