I saw a [post on the mailing list][1] where a user had some trouble
using the Debian + Eleventy example due to it referencing an old
version of Debian that is no longer supported by builds.st.ht.
This patchset improves the example in several ways:
- Image changed from stale debian/buster to evergreen debian/stable
- Node.js version updated to new LTS and a non-distro-specific repo
- Updated env var to disable the npm progress bar
[1]: https://lists.sr.ht/~sircmpwn/sr.ht-discuss/%3CCAPxX4hCqQFqymCCdOy70gEiwQojAALO7iVjPujybp0433QZ3TA%40mail.gmail.com%3E
Noelle Leigh (3):
eleventy.yml: Switch to debian/stable
eleventy.yml: Switch to distroless nodesource, v20
eleventy.yml: Disable progress bar correctly
eleventy.yml | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
--
2.30.2
Is the third-party repository actually necessary? Current Debian stable
ships with Node 18 and NPM 9 which is well within Eleventy's required
Node 14 or newer.
Taavi
Technically it's not necessary, but it does provide a helpful example
for how to install a newer version from a third-party repo, which is not
intuitive for users who are unfamiliar with gpg.
Is the third-party repository actually necessary? Current Debian stable
ships with Node 18 and NPM 9 which is well within Eleventy's required
Node 14 or newer.
Taavi
[PATCH pages.sr.ht-examples 3/3] eleventy.yml: Disable progress bar correctly
Export this patch