This repository has been archived by the owner on Sep 6, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restore versions in the build plugins
These versions numbers were removed in 236b20e and caused an error during publication: $ meteor publish => Errors while publishing: While publishing the package: error: You must specify a version constraint for package blaze error: You must specify a version constraint for package underscore error: You must specify a version constraint for package htmljs error: You must specify a version constraint for package minifiers error: You must specify a version constraint for package spacebars-compiler Note that the dependency version that will actually get includes will be higher that the one we specified thanks to the Meteor constraints solver.
- Loading branch information
0aa860f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't the versions reflect those used by Meteor 1.2?
0aa860f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don’t think so. Given the way Meteor handle constraints solving
@1.0.0
basically mean at least1.0.0
, ie1.x.x
. For instance we don’t use any feature added in ulterior version ofunderscore
so saying that we want at least 1.0 is fine. It’s likely that the actual user of package will have some extra constraints onunderscore
(such as using Meteor 1.2 as you say), so the constraint solver will choose a later version of it, which is perfectly fine assuming that are no breaking change in the1.x.x
range.That would be an issue if I had implied that I want exactly
underscore@=1.0.0
, in which case the solver wouldn’t now how to reconcile the different constraints.0aa860f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That makes perfect sense.
Thanks