Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Meteor 0.9 Local Package Location

I noticed that somehow there is no packages folder in my newly created Meteor 0.9 project. This means that it must be using package from the ~/.meteor things. However, I cannot work like this as I am hopping between machines all day and I would like the package to stay locally; like in the project folder itself.

In the previous Meteor 0.8.3 project, I manually created packages folder in the project and when I add package it went inside there (for example i can find collectionFs inside package/ in the project directory).

I want it to be like this. How can I do this safely?

like image 536
Haikal Nashuha Avatar asked Oct 14 '14 01:10

Haikal Nashuha


1 Answers

You can still drop packages into the top-level "packages" directory inside your project and then run meteor add like usual. These packages are just treated as app-specific packages. Here are the docs about using packages. The relevant bit is quoted here:

In addition to the packages in the official Meteor release being used by your app, meteor list and meteor add also search the packages directory at the top of your app.

like image 65
mark Avatar answered Sep 26 '22 17:09

mark