I’m looking for any/all recommendations on api.versionsFrom
. Thanks!
I’ve got some local packages (the app is using METEOR@1.3-beta.11) that have things like
api.versionsFrom("1.0.2.1");
in their package.js. Does that mean that even though I’m in Meteor 1.3 these local packages will use the versions of Meteor packages from the older release? What are the implications, considering the app is on 1.3 (beta.11)? When should we use / not use api.versionsFrom?
The reason I ask is because I’m tempted to remove all api.versionsFrom
calls in local packages and bring things up to date (I assume no api.versionsFrom
call means use the latest package versions unless otherwise specified on a per-package basis).
The api.versionsFrom
calls in the app are somewhat varied:
❯ grep -EHrn "\bapi.versionsFrom\b" ./ 2>/dev/null | grep -v \.meteor | grep -v \.git | cut -d: -f3 | sort | uniq
api.versionsFrom("0.9.0");
api.versionsFrom('1.0');
api.versionsFrom("1.0.2.1");
api.versionsFrom("1.0.3.1");
api.versionsFrom('1.1.0.2');
api.versionsFrom('1.2.1');
api.versionsFrom(['METEOR@0.9.4', 'METEOR@1.0']);
api.versionsFrom("METEOR@1.2.0.2");
api.versionsFrom("METEOR@1.3-beta.11");