Ok everyone! I’ve got some goodies to share with y’all! Have spent the past week or so cleaning up my codebases and have some new modules to share!

  • 0
  • 4
  1. First up, @RollupJS plugin for @workboxjs to use Workbox’s precache injection w/a processed file! Existing solutions have Workbox control the service worker generation, meaning it couldn’t be processed w/Rollup before.

    npmjs.com/package/rollup-plugin-workbox-inject

    • 1
    • 3
    1. Next is internationalization redirection for service workers!

      npmjs.com/package/service-worker-i18n-redirect

      This will allow a Service Worker to redirect a URL to the user’s preferred language given a url pattern {{langcode}}/url/path. Should be dep free, but designed for @workboxjs.

      • 1
      • 5
      1. [@workboxjs](https://twitter.com/workboxjs/) Third, Service Worker Includes!

        npmjs.com/package/service-worker-includes

        This is a caching pattern where full HTML is served to a user, but dynamic and static parts of the page can be cached and updated separately! Uses @workboxjs too.

        • 2
        • 4
        1. Finally, an @eleven_ty plugin! Local Responsive Images!

          npmjs.com/package/eleventy-plugin-local-respimg

          This transforms img tags with images on-disk by resizing, WebP-ing, and optimizing them, and sticks them in a picture tag! Drop-dead simple local responsive images.

          • 4
          • 23
          1. That’s what I’ve got for y’all! Static Site Scaffold has also been updated to use these, too!

            These all now live in github.com/chromeos/static-site-scaffold-modules, my first monorepo. More thoughts (and modules!) coming from my learnings setting that up soon.

            • 0
            • 2
            1. Ok, I’ve got one more for y’all now that I’ve got the kinks worked out: Emoji Commit Helpers:

              npmjs.com/package/emoji-commit-helpers

              :emoji: (scope) Subject commit style helpers for Commitizen and Commitlint, but with shared settings and Lerna support! Semantic Release & Changelog soon.

              • 1
              • 1