Is there a way to update a single smart package with meteorite?
Long story:
I'm working on an app that uses a Smart package I'm maintaining. I'd like to be able to quickly make live change to the package and update the version app uses, without checking for all possible updates like when it's done with mrt update. I know I can use mrt remove package and then mrt add package, but it's not quite feasible as there are several dependencies. Is there a quick and easy way?
The easiest way I think is using a hard package in /packages. You could download the package version you want from github and place it in /packages instead of the symlink. Meteorite will then use that version and ignore it when you do mrt update
Another slightly more tedious option, particularly when you want to modify the package, is to use the version attributes in your smart.json that specify a version or the repository:
Using a custom path:
packages: {
"package-name" : {
"path": "/home/meteordev/my-package"
}
}
Versioning/using a github fork or tag (freezing the package versions that you want to)
packages: {
"package-name" : {
"git": "https://github.com/user/package.git"
"tag" : "v0.5"
}
}