meteor-now icon indicating copy to clipboard operation
meteor-now copied to clipboard

Support METEOR_PACKAGE_DIRS

Open eric-burel opened this issue 6 years ago • 1 comments

Hi,

I rely a lot on the METEOR_PACKAGE_DIRS to separate reusable packages I develop from specific app package. Currently, this variable seems to be only taken into account by Meteor Up, and I know that it is ignored by the Meteor Buildpack for Heroku.

I did not test Meteor Now yet because I am not sure if it is correctly handled, so here are my questions:

  • is METEOR_PACKAGE_DIRS taken into account during build, and if yes is there something to do to set it up?

  • if no, do you think it is possible to allow using this env variable when using Meteor Now? Basically you need it to be set when building the Meteor app, and of course to be able to access the relevant packages during this build. So it may imply to build on the users machine I think, I am not sure how it is handled by Meteor Up currently.

eric-burel avatar Sep 12 '18 16:09 eric-burel

I tested this with METEOR_PACKAGE_DIRS set in my .bashrc and it worked. It will also probably work if you set it every time with the command:

env METEOR_PACKAGE_DIRS="/path/to/my/pckgs:/other/path" meteor-now

Apollinaire avatar Sep 13 '18 09:09 Apollinaire