Skip to content

fix(package): include TypeScript sources in published package - #218

Merged
ghiscoding merged 1 commit into
mainfrom
bugfix/source-map
Aug 21, 2026
Merged

ghiscoding merged 1 commit into
mainfrom
bugfix/source-map

Conversation

@ghiscoding

Copy link
Copy Markdown
Owner

Summary

Restore the src directory to the published npm package.

The files allowlist previously included only dist, preventing external consumers from browsing the original TypeScript implementation while troubleshooting or navigating source code.

The package now publishes both:

  • dist for runtime and type declarations
  • src for source inspection and debugging

Verification

  • Confirmed npm pack --dry-run includes dist and src
  • Confirmed the generated JavaScript source map remains included

@codecov

codecov Bot commented Aug 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.0%. Comparing base (7680120) to head (25a3f99).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #218   +/-   ##
=======================================
  Coverage   100.0%   100.0%           
=======================================
  Files          25       25           
  Lines        1882     1882           
  Branches      372      372           
=======================================
  Hits         1882     1882           

☔ 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.

@ghiscoding
ghiscoding merged commit 7f49b4d into main Aug 21, 2026
5 checks passed
@ghiscoding
ghiscoding deleted the bugfix/source-map branch August 21, 2026 23:43
@github-actions

Copy link
Copy Markdown

🎉 This pull request is included in version 5.2.5 📦
🔗 The release notes are available at: GitHub Release 🚀

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.

1 participant