-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fix: revise Meteor "fourseven:scss" compatibility for Meteor<1.4.1 support #11349
fix: revise Meteor "fourseven:scss" compatibility for Meteor<1.4.1 support #11349
Conversation
…upport Foundation support all `fourseven:scss` versions from `v3.4`. Changes: * revise `fourseven:scss` compatibility to `3.4.1 || 4.0.0` to support both older and newer Meteor versions
@@ -8,8 +8,8 @@ Package.describe({ | |||
|
|||
Package.onUse(function(api) { | |||
api.versionsFrom('1.2.1'); | |||
api.imply('fourseven:scss@4.5.4'); | |||
api.use(['ecmascript', 'jquery', 'fourseven:scss@4.5.4'], 'client'); | |||
api.imply('fourseven:scss@3.4.1 || 4.0.0'); |
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 do not yet understand this range. Which versions does this target? 4.0.0 and 3.4.1?
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.
fourseven:scss@4.5
is only compatible with Meteor >= v1.4.1. See https://github.com/fourseven/meteor-scss. Using 3.4.1 || 4.0.0
tell Meteor to choose the version he want >=3.4.1
(minor and patch versions are automatically considered as compatible), which will be compatible with the client Meteor version (>=1.2.1
).
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.
Ah ok, so >= is implied then.
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.
Yes. 3.4.1 || 4.0.0
means >=3.4.1 <5.0.0
…ss-compatibility for v6.5.0 009b469 fix: revise Meteor "fourseven:scss" compatibility for better Meteor support Signed-off-by: Nicolas Coden <nicolas@ncoden.fr>
Description
Revise
fourseven:scss
compatibility to3.4.1 || 4.0.0
to support older and newer Meteor versions.Motivation and Context
Foundation supports a large range of versions for
fourseven:scss
(fromv3.4
) and Meteor (fromv1.2.1
). Meteor packages version resolution will use all newer minor and patch versions but not major versions.As
fourseven:scss
versions require a particular Meteor versions, the latest releases were considered as incompatible with Foundation. This was resported in #10606 andfourseven:scss
was updated in #10825 to resolve this. However, this only moved the issue as Foundation is now considered as incompatible with older Meteor versions.This pull request ensure that the Foundation actual compatibility with Meteor and its packages matches the compatibility allowed by Meteor package management.
Types of changes
functionality to change)
Checklist (all required):
develop
orsupport/*
).I have updated the documentation accordingly to my changes (if relevant).I have added tests to cover my changes (if relevant).