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

accordproject / template-engine / 26942691518

04 Jun 2026 09:17AM UTC coverage: 81.49% (+18.0%) from 63.518%
26942691518

push

github

web-flow
feat!: markdown-transform 1.0.1 / cicero-core 1.0.1, tsc+webpack build, browser support (#157)

* feat: upgrade to markdown-transform 1.0.1 / cicero-core 1.0.1

Consume the TypeScript rewrite of the Accord Project markdown stack and the matching
cicero-core release.

- @accordproject/cicero-core 0.26.0 -> 1.0.1
- @accordproject/markdown-common/template/html 0.18.0 -> 1.0.1
- @accordproject/concerto-core/util/vocabulary 4.0.3 -> 4.1.4, concerto-codegen 4.0.1 -> 4.1.3
  (cicero-core 1.0.1 and markdown 1.0.1 require concerto ^4.1.3)
- markdown-transform now dedupes to 1.0.1; the stale transitive 0.18.0 tree is gone
- TemplateArchiveProcessor: fix the deep import (cicero-core/types/src/script ->
  cicero-core/lib/script, now that cicero-core ships its types under lib/) and drop the
  bogus `{ options }` arg to the now-typed fromMarkdownTemplate (it only accepts `{ verbose? }`)
- bump the typescript test archive's cicero range ^0.26.0 -> ^1.0.0

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: dselman <danscode@selman.org>

* build: replace rollup with tsc + webpack; add browser e2e and node-22 CI

Adopt the Accord Project build pattern (tsc -> lib/, webpack -> umd/) for
consistency across the repos, and verify browser usage end-to-end.

Build
- replace rollup with `tsc -p tsconfig.build.json` -> lib/index.js (CJS) + lib/index.d.ts
  (drops the rollup ESM/bundled output); main/types now point at lib/, worker.js is
  emitted to lib/worker.js (getWorkerPath fallback dist -> lib)
- add a webpack UMD browser bundle -> umd/template-engine.js (browser field), with node
  fallbacks (child_process/fs/os false, path/crypto/stream/buffer shims); no source map
  to keep the published package small
- re-export ModelManager and TemplateMarkTransformer so a single browser bundle can run
  the model -> template -> agreement flow with one concerto instance
- remove the now-redundant markdown `declare module` .d.ts shims (markdown 1.0.1 s... (continued)

357 of 474 branches covered (75.32%)

Branch coverage included in aggregate %.

3 of 5 new or added lines in 3 files covered. (60.0%)

1 existing line in 1 file now uncovered.

682 of 801 relevant lines covered (85.14%)

5701.7 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

61.36
/src/TypeScriptToJavaScriptCompiler.ts


Source Not Available

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