Topics

Drupal

2 articles tagged Drupal.

The Vite and Drupal logos, with a libraries.yml snippet declaring a package from node_modules

npm as Drupal's front-end package manager

Every other part of a modern Drupal site has a package manager. PHP dependencies have Composer: a lock file, a resolved dependency graph, and composer audit to tell you when something you depend on has a published advisory. Front-end libraries have none of that. A Drupal site that pulls in Leaflet, PhotoSwipe, Day.js or Bootstrap typically has no machine-readable record of which versions are installed, and no way to be told when one of them has a CVE.

Read more
Drupal file migration — Heydon Consulting

Migrating a terabyte of Drupal files without the wait

A standard Drupal file migration pushes every byte through PHP — fine for a few gigabytes, a nightmare for a terabyte, or for a server with no room to hold two copies. Here's how we migrated the file records in place and let rsync move the bytes: a multi-day ordeal became a fast, repeatable deploy — and a decade of files got modernised into media and icons along the way.
Read more