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

accordproject / markdown-transform / 38131236128
83%

Build:
DEFAULT BRANCH: main
Ran 11 Oct 2026 10:16AM UTC
Jobs 3
Files 61
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

11 Oct 2026 10:14AM UTC coverage: 78.963% (+0.09%) from 78.878%
38131236128

push

github

web-flow
feat(*)!: publish ES module builds with exports maps and drop the UMD bundles (#682)

* refactor(*): load dependencies with import statements

An ES module build cannot follow a require() call: esbuild keeps it as a runtime require, which throws in browsers (the concerto-core one in markdown-transform runs at load time). Convert the five remaining calls to imports and declare the two untyped modules. dayjs has no exports map, so its plugin subpath carries the .js extension Node ESM needs.

Signed-off-by: Ujjwal Verma <ujjwalverma010305@gmail.com>

* feat(markdown-template): hash formula names with @noble/hashes

formulaName() was the only use of Node crypto, which pulled about 1 MB of crypto-browserify into browser bundles. @noble/hashes 1.x is a pure JavaScript SHA-256 (5 KB minified) with CommonJS and ESM builds. Names are unchanged; new tests compare against Node crypto.

Signed-off-by: Ujjwal Verma <ujjwalverma010305@gmail.com>

* feat(*)!: publish Node and browser ES module builds with exports maps

scripts/build-esm.js, modelled on Concerto v5, emits lib/esm (import condition) and lib/esm-browser (browser condition) next to the CommonJS lib/. Dependencies stay bare imports so consumers share one copy of each; the browser build stubs Node builtins and jsdom. scripts/smoke-esm.mjs runs after the root build.

BREAKING CHANGE: each package now has an exports map, so deep imports into lib/ no longer resolve, and Node import loads the ESM build.

Signed-off-by: Ujjwal Verma <ujjwalverma010305@gmail.com>

* test(e2e): exercise the browser ES module build

Bundles the packages through the browser export condition with esbuild, as an application would, and runs the result in Chromium.

Signed-off-by: Ujjwal Verma <ujjwalverma010305@gmail.com>

* feat(*)!: drop the UMD browser bundles

The exports maps already route webpack 5, Vite, Rollup and esbuild to lib/esm-browser, so the UMD bundles only served script-tag users and tools that do not read exports. R... (continued)

631 of 865 branches covered (72.95%)

Branch coverage included in aggregate %.

9 of 10 new or added lines in 7 files covered. (90.0%)

1959 of 2415 relevant lines covered (81.12%)

1100.45 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
0.0
0.0% packages/markdown-template/src/datetimeutil.ts
Jobs
ID Job ID Ran Files Coverage
1 windows-latest - 38131236128.1 11 Oct 2026 10:18AM UTC 120
78.99
GitHub Action Run
2 macos-latest - 38131236128.2 11 Oct 2026 10:16AM UTC 120
78.99
GitHub Action Run
3 ubuntu-latest - 38131236128.3 11 Oct 2026 10:17AM UTC 120
78.99
GitHub Action Run
Source Files on build 38131236128
  • Tree
  • List 61
  • Changed 7
  • Source Changed 7
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #38131236128
  • 68c50da3 on github
  • Prev Build on main (#34862548185)
  • Next Build on main (#38133437083)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc