Skip to content

perf: define side-effect-free exports and add bundle-size regression tests#447

Merged
gjbkz merged 1 commit into
mainfrom
440-side-effect-free-exports
Jul 20, 2026
Merged

perf: define side-effect-free exports and add bundle-size regression tests#447
gjbkz merged 1 commit into
mainfrom
440-side-effect-free-exports

Conversation

@gjbkz

@gjbkz gjbkz commented Jul 20, 2026

Copy link
Copy Markdown
Member

Summary

  • remove observable import-time checker naming mutations and declare the package side-effect-free
  • publish explicit core and individual-checker subpaths for npm and JSR
  • add package-resolution, type-inference, tree-shaking, and bundle-budget regressions

Tests

  • formatter, lint, and TypeScript checks
  • focused package and bundle regression tests
  • all Node unit tests and CI-equivalent c8 coverage suite
  • complete CI-equivalent Bun suite
  • build plus ESM and CommonJS package-entry smoke tests

Closes #440

@codecov

codecov Bot commented Jul 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.69%. Comparing base (fa73337) to head (78824aa).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #447      +/-   ##
==========================================
+ Coverage   97.76%   98.69%   +0.92%     
==========================================
  Files          50       52       +2     
  Lines        2732     2834     +102     
  Branches      296      310      +14     
==========================================
+ Hits         2671     2797     +126     
+ Misses         61       36      -25     
- Partials        0        1       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@gjbkz
gjbkz merged commit 4a5496c into main Jul 20, 2026
8 checks passed
@gjbkz
gjbkz deleted the 440-side-effect-free-exports branch July 20, 2026 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

perf: define side-effect-free exports and add bundle-size regression tests

1 participant