Closed nilsnh closed 2 years ago
✔️ Deploy Preview for hl3 ready!
🔨 Explore the source changes: a493121e83f53ad240816f2549e929e579c81147
🔍 Inspect the deploy log: https://app.netlify.com/sites/hl3/deploys/61b65017c5ef360007574443
😎 Browse the preview: https://deploy-preview-32--hl3.netlify.app
Milestone
This PR fixes #18, and it also ensures consistent numbering when adding or removing modules.
Getting there
incrementAndLinkify
function that is able to operate on a set of HTML nodes. This code is then used both in the Netlify functiondownload-license.js
and in a new web componentIncrementedLinks
.Interesting bits
incrementAndLinkify
to be agnostic about where the nodes come from.esbuild
to convert the incrementAndLinkify from ES6 to commonjs so that it could be included in the Netlify handler.What I need help with
incrementAndLinkify
code and the tests. I have tried to document them sufficiently. However, feel free to try and improve the documentation.What's next
After merging, this PR should allow us to: