• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sql-formatter-org / sql-formatter / 13917651624
95%

Build:
DEFAULT BRANCH: master
Ran 18 Mar 2025 07:27AM UTC
Jobs 1
Files 82
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Mar 2025 07:26AM UTC coverage: 95.279%. Remained the same
13917651624

push

github

web-flow
Build with tsc instead of tsup (#842)

As reported in
https://github.com/sql-formatter-org/sql-formatter/pull/836#issuecomment-2727273274,
my previous changes from #670 broke the ability for this package to be
tree-shaken.

This PR takes the other approach I had proposed in #604: it runs `tsc`
twice, once to produce a CJS build and once to produce an ESM one. It
writes a `package.json` file containing `{"type": "commonjs"}` to
`dist/cjs/package.json` so that the files in that directory are treated
as CJS.

Since #670 introduced an `exports` field, the internal changes to paths
shouldn't be visible to consumers, so this should be safe to release as
a patch or minor version. That said, I wouldn't blame you if you wanted
to release this as a major version to play it safe.

552 of 621 branches covered (88.89%)

Branch coverage included in aggregate %.

1244 of 1264 relevant lines covered (98.42%)

13774.34 hits per line

Jobs
ID Job ID Ran Files Coverage
1 13917651624.1 18 Mar 2025 07:27AM UTC 82
95.28
GitHub Action Run
Source Files on build 13917651624
  • Tree
  • List 82
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 6d8757d4 on github
  • Prev Build on master (#13871792708)
  • Next Build on master (#13917700125)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc