Update our node.js bin paths to reference the .bin directory.

Review Request #11832 — Created Oct. 2, 2021 and submitted

Information

Djblets
release-2.x

Reviewers

We've been hard-coding paths to node.js-based executable files, pointing
to some place in node_modules/<module>/.... We've seen this change a
couple of times now, particularly with Babel.

There's already a built-in solution to this that makes our lives easier,
reduces maintenance, and better survives module updates. Each executable
has a symlink in node_modules/.bin/, which references the correct path
within the module.

This change updates our static media building to reference these more
stable paths.

Successfully built packages, and verified through ps auxw that the
.bin/ paths were being used.

Summary ID
Update our node.js bin paths to reference the .bin directory.
We've been hard-coding paths to node.js-based executable files, pointing to some place in `node_modules/<module>/...`. We've seen this change a couple of times now, particularly with Babel. There's already a built-in solution to this that makes our lives easier, reduces maintenance, and better survives module updates. Each executable has a symlink in `node_modules/.bin/`, which references the correct path within the module. This change updates our static media building to reference these more stable paths.
9cb22c7a8df893eb0ca68098a8de4d592fe80f61
chipx86
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-2.x (3ef5246)