Skip to content

Use renderTemplate from @llazyemail/render-template - #20

Merged
atherdon merged 1 commit into
mainfrom
use-package-render-template
Oct 4, 2026
Merged

atherdon merged 1 commit into
mainfrom
use-package-render-template

Conversation

@atherdon

@atherdon atherdon commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

Why

src/runtime/renderTemplate.ts still has a local copy of the renderer. The shared implementation lives in @llazyemail/render-template.

What

renderTemplate now calls the package. The public signature stays local: the package allows a part to return null, and this package does not, so the call is adapted at the boundary.

Typecheck, lint, and the existing 45 tests passed against this change.

Keep the local signature. The package part renderer can return null, so the call is adapted at the boundary.
@atherdon
atherdon merged commit 8397978 into main Oct 4, 2026
5 of 6 checks passed
@atherdon
atherdon deleted the use-package-render-template branch October 7, 2026 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant