Skip to content
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

Merged

Conversation

ncoden
Copy link
Contributor

@ncoden ncoden commented Jun 22, 2018

Description

Revise fourseven:scss compatibility to 3.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 (from v3.4) and Meteor (from v1.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 and fourseven: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

  • Documentation
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing
    functionality to change)

Checklist (all required):

  • I have read and follow the CONTRIBUTING document.
  • There are no other pull request similar to this one.
  • The pull request title is descriptive.
  • The template is fully and correctly filled.
  • The pull request targets the right branch (develop or support/*).
  • My commits are correctly titled and contain all relevant information.
  • My code follows the code style of this project.
  • I have updated the documentation accordingly to my changes (if relevant).
  • I have added tests to cover my changes (if relevant).
  • All new and existing tests passed.

…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');
Copy link
Contributor

@DanielRuf DanielRuf Jun 22, 2018

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?

Copy link
Contributor Author

@ncoden ncoden Jun 22, 2018

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).

Copy link
Contributor

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.

Copy link
Contributor Author

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

@ncoden ncoden merged commit 39056a7 into foundation:develop Jun 23, 2018
@ncoden ncoden mentioned this pull request Jun 23, 2018
11 tasks
ncoden added a commit to ncoden/foundation-sites that referenced this pull request Jun 23, 2018
…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>
@ncoden ncoden added this to the 6.5.0 milestone Jun 23, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants