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

comunica / traqula / 27698923081
100%
main: 100%

Build:
Build:
LAST BUILD BRANCH: renovate/node-24.x
DEFAULT BRANCH: main
Ran 17 Jun 2026 03:09PM UTC
Jobs 9
Files 127
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

17 Jun 2026 01:49PM UTC coverage: 100.0%. Remained the same
27698923081

Pull #149

github

jitsedesmet
refactor(@traqula/test-utils): use dist/cjs/package.json double-packaging instead of .cts extension

The previous fix used lib/index.cts -> dist/cjs/lib/index.cjs, relying on the .cjs
file extension to force CJS interpretation.  This is inconsistent with the rest of
the monorepo, where dist/cjs/package.json { "type": "commonjs" } already makes every
.js file under dist/cjs/ a CommonJS module — no special extension needed.

Changes:
- lib/index.cts -> lib/indexCjs.ts: rename to a plain .ts source file; TypeScript
  compiles it to dist/cjs/lib/indexCjs.js, which is treated as CJS by the existing
  dist/cjs/package.json { "type": "commonjs" } mechanism, exactly like all other
  packages in the monorepo.
- tsconfig.json: exclude lib/indexCjs.ts from the ESM build (it uses __dirname which
  is meaningless in ESM; the ESM entry lib/index.ts uses import.meta.url instead).
- tsconfig.cjs.json: remove the explicit lib/**/*.cts include (no longer needed);
  lib/indexCjs.ts is picked up automatically via lib/**/*.ts.
- package.json: point "require" to ./dist/cjs/lib/indexCjs.js (plain .js, not .cjs);
  remove the dist/*/lib/**/*.cjs and dist/*/lib/**/*.cjs.map globs from "files" since
  no .cjs files are produced anymore.
- test/cjs.test.ts: update path reference from index.cjs to indexCjs.js.
- vitest.config.ts: exclude lib/indexCjs.ts from v8 coverage — it cannot be imported
  in the ESM Vitest context; its behaviour is validated indirectly by cjs.test.ts
  loading dist/cjs/lib/generators/utils.js and calling _initStaticsRoot with the
  indexCjs.js directory.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Pull Request #149: Fix/reuse test utils

759 of 759 branches covered (100.0%)

Branch coverage included in aggregate %.

20 of 20 new or added lines in 3 files covered. (100.0%)

5474 of 5474 relevant lines covered (100.0%)

282861.01 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-20.x-macos-latest - 27698923081.1 17 Jun 2026 03:10PM UTC 127
100.0
GitHub Action Run
2 run-20.x-ubuntu-latest - 27698923081.2 17 Jun 2026 03:09PM UTC 127
100.0
GitHub Action Run
3 run-22.x-ubuntu-latest - 27698923081.3 17 Jun 2026 03:09PM UTC 127
100.0
GitHub Action Run
4 run-24.x-windows-latest - 27698923081.4 17 Jun 2026 03:10PM UTC 127
100.0
GitHub Action Run
5 run-22.x-macos-latest - 27698923081.5 17 Jun 2026 03:09PM UTC 127
100.0
GitHub Action Run
6 run-24.x-ubuntu-latest - 27698923081.6 17 Jun 2026 03:09PM UTC 127
100.0
GitHub Action Run
7 run-24.x-macos-latest - 27698923081.7 17 Jun 2026 03:16PM UTC 127
100.0
GitHub Action Run
8 run-22.x-windows-latest - 27698923081.8 17 Jun 2026 03:11PM UTC 127
100.0
GitHub Action Run
9 run-20.x-windows-latest - 27698923081.9 17 Jun 2026 03:10PM UTC 127
100.0
GitHub Action Run
Source Files on build 27698923081
  • Tree
  • List 127
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #27698923081
  • Pull Request #149
  • PR Base - main (#27533072714)
  • 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