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

accordproject / markdown-transform / 26908138899 / 1
79%
main: 79%

Build:
DEFAULT BRANCH: main
Ran 03 Jun 2026 07:35PM UTC
Files 120
Run time 5s
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

03 Jun 2026 07:31PM UTC coverage: 78.906% (+6.0%) from 72.861%
26908138899.1

push

github

web-flow
chore(*): migrate to TypeScript, bump to v1.0.0 (#677)

* chore(*): migrate to TypeScript, bump to v1.0.0

Convert the entire monorepo from JavaScript (CommonJS + JSDoc-emitted
.d.ts) to TypeScript source compiled to .js + .d.ts.

Per package:
- Move sources from lib/ (or src/) JavaScript to src/*.ts. tsc emits
  to lib/ during build (now gitignored).
- Drop hand-written types/ in favour of declarations generated by tsc.
- Remove babel toolchain (@babel/cli, @babel/preset-env, babel-loader,
  babel-plugin-istanbul, tsd-jsdoc, jsdoc, .babelrc, jsdoc.json).
- Add per-package tsconfig.json extending the new tsconfig.base.json,
  plus tsconfig.test.json for ts-jest, jest.config.js using ts-jest
  preset, and .eslintrc.cjs with @typescript-eslint.
- package.json: main/types/typings point at lib/; files: ["lib"]
  (or ["lib","umd"]) so published tarballs contain only the build
  output — no tests, snapshots, or configs leak.

Test runners:
- markdown-template, markdown-transform and markdown-cli moved off
  mocha+chai onto jest+ts-jest. Snapshots preserved.
- All 1,860 unit tests pass across the 8 packages.

External models:
- scripts/external/Models.hbs and getExternalModels.js now generate
  TypeScript modules into packages/markdown-common/src/externalModels/
  (previously .js into lib/externalModels/).

Webpack UMD bundles (markdown-html, markdown-template, markdown-transform):
- Swap babel-loader for ts-loader; entry now ./src/index.ts.
- Add `webpack.ProvidePlugin({ process: 'process/browser' })` (webpack 5
  no longer auto-polyfills) and `resolve.alias = { jsdom: false }` in
  the markdown-html config to keep the bundle slim (4.7 MB → 1.12 MB).
- Browser entry point on each UMD package's package.json points at
  umd/markdown-X.js so bundlers automatically prefer it.

Browser end-to-end tests:
- New e2e/ workspace using Playwright (Chromium) loads each UMD bundle
  via addScriptTag and exercises public APIs in a real browser. 9 tests
  pass locally.
- ... (continued)

1249 of 1712 branches covered (72.96%)

Branch coverage included in aggregate %.

3872 of 4778 relevant lines covered (81.04%)

185.4 hits per line

Source Files on job macos-latest - 26908138899.1
  • Tree
  • List 120
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 26908138899
  • b087989d on github
  • Prev Job for on main (#26867278460.2)
  • Next Job for on main (#26908359978.3)
  • 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