eirslett / frontend-maven-plugin

"Maven-node-grunt-gulp-npm-node-plugin to end all maven-node-grunt-gulp-npm-plugins." A Maven plugin that downloads/installs Node and NPM locally, runs NPM install, Grunt, Gulp and/or Karma.
Apache License 2.0
4.2k stars 867 forks source link

Fix#657 add proxy environment variables for npm postinstalls #1095

Closed josehenriqueventura closed 1 year ago

josehenriqueventura commented 1 year ago

From: https://github.com/eirslett/frontend-maven-plugin/pull/683

Summary

Found that for postinstall script, such openlayers 4 has, in a proxy network, this plugin is not passing right the proxy to node.js running the script.

Tests and Documentation

This fixes issue https://github.com/eirslett/frontend-maven-plugin/issues/657. I tested and it seems to work with openlayers 4.6.4

Thanks @Cavva79

eirslett commented 1 year ago

Thanks!