osrf / rvizweb

RVizWeb: RViz on the browser
290 stars 59 forks source link

NPM-controlled builds #20

Closed mvollrath closed 5 years ago

mvollrath commented 5 years ago

The installation instructions recommend installing bower and polymer-cli globally, and CMakeLists.txt invokes these tools directly. Using globally-installed, unfrozen tools is bad practice in all stages of development, because it results in non-deterministic output.

An alternative is making rvizweb a Node package and using npm install to install frozen versions of build tools, then defining scripts to npm run using those frozen tools. This simplifies the installation: