meteorhacks / npm

Complete NPM integration for Meteor
http://meteorhacks.com/complete-npm-integration-for-meteor.html
MIT License
508 stars 43 forks source link

Support for PACKAGE_DIRS environment variable #112

Open strikeout opened 8 years ago

strikeout commented 8 years ago

npm-container always set in ./packages, ignoring process.env.PACKAGE_DIRS

meteor-core uses this approach:

  // User can provide additional package directories to search in
  // PACKAGE_DIRS (colon-separated).
  _.each(process.env.PACKAGE_DIRS.split(':'), function (p) {
    searchDirs.push(files.pathResolve(p));
  });