From fa7e2baccd70c446a3f4768e54cf87137da0d267 Mon Sep 17 00:00:00 2001 From: Dunnkers Date: Mon, 5 Jun 2017 06:27:47 +0200 Subject: [PATCH] =?UTF-8?q?Pin=20down=201.x=20polymer=20versions=20?= =?UTF-8?q?=F0=9F=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Polymer v1.9.1 compatibility with Polymer 2 caused 2.x versions to be installed in applications consuming the addon. Pinning down 1.x versions fixes that ✌🏻 --- blueprints/ember-polymer/index.js | 8 +++++--- bower.json | 6 +++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/blueprints/ember-polymer/index.js b/blueprints/ember-polymer/index.js index ac0fa4d..69f8a4a 100644 --- a/blueprints/ember-polymer/index.js +++ b/blueprints/ember-polymer/index.js @@ -4,10 +4,12 @@ module.exports = { normalizeEntityName: function() {}, // no-op since we're just adding deps afterInstall: function() { - return this.addBowerPackagesToProject([{ - name: 'polymer' + return this.addBowerPackagesToProject([{ + name: 'polymer', + target: '1.9.1' }, { - name: 'webcomponentsjs' + name: 'webcomponentsjs', + target: '0.7.24' }]); } }; diff --git a/bower.json b/bower.json index 4332cf7..c5ed885 100644 --- a/bower.json +++ b/bower.json @@ -1,9 +1,9 @@ { "name": "ember-polymer", "dependencies": { - "polymer": "Polymer/polymer#~1.9.1", - "paper-elements": "PolymerElements/paper-elements#^1.0.7", - "iron-icons": "PolymerElements/iron-icons#^1.2.0", + "polymer": "Polymer/polymer#1.9.1", + "paper-elements": "PolymerElements/paper-elements#1.0.7", + "iron-icons": "PolymerElements/iron-icons#1.2.1", "webcomponentsjs": "0.7.24" } }