Skip to content

fix(deps): install render-template from GitHub Packages instead of a git pin - #82

Merged
atherdon merged 2 commits into
mainfrom
fix/render-template-published-package
Nov 17, 2026
Merged

atherdon merged 2 commits into
mainfrom
fix/render-template-published-package

Conversation

@atherdon

Copy link
Copy Markdown
Contributor

Closes #81

What changed

  • package.json: @llazyemail/render-template goes from github:LLazyEmail/render-template#0.3.0 to the published ^0.3.0 on GitHub Packages (npm view @llazyemail/render-template --registry=https://npm.pkg.github.com lists 0.1.0–0.3.0; it is not on the public npm registry, where render-template is an unrelated package).
  • package-lock.json: the entry now resolves to https://npm.pkg.github.com/download/@llazyemail/render-template/0.3.0/... with an integrity hash, so no prepare/TypeScript build runs on install.
  • Workflows that run npm ci (ci.yml, eslint.yml, generate.yml, publish.yml) configure the @llazyemail scope on npm.pkg.github.com and pass NODE_AUTH_TOKEN: secrets.GITHUB_TOKEN with packages: read.
  • README and AGENTS.md: explain the published dependency, fix the install note (the token variable is NODE_AUTH_TOKEN, as in .npmrc.example), and note that local development also needs .npmrc.

Trade-off

Contributors now need .npmrc + a read:packages token for npm install in this repo. Consumers already needed it for this package, and the same scope line covers render-template.

Overlap

#78 also edits the dependencies block (drops markup-generator). Whichever merges second needs a one-line conflict fix in package.json / package-lock.json.

npm run check passes locally.

…git pin

Closes #81

Co-authored-by: petroved <arthur.tkachenko.netweight@gmail.com>
@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Rendered emails

This PR rendered emails.

Open the run → Artifacts → download → open index.html.

Co-authored-by: petroved <arthur.tkachenko.netweight@gmail.com>
@atherdon
atherdon marked this pull request as ready for review November 17, 2026 18:36
@atherdon
atherdon merged commit 4cb905b into main Nov 17, 2026
8 checks passed
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.

Replace the render-template git pin with a published package

1 participant