Skip to content
This repository has been archived by the owner on May 19, 2021. It is now read-only.

Commit

Permalink
Pin down 1.x polymer versions πŸ”¨
Browse files Browse the repository at this point in the history
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 ✌🏻
  • Loading branch information
dunnkers committed Jun 5, 2017
1 parent af4cb85 commit fa7e2ba
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
8 changes: 5 additions & 3 deletions blueprints/ember-polymer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}]);
}
};
6 changes: 3 additions & 3 deletions bower.json
Original file line number Diff line number Diff line change
@@ -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"
}
}

0 comments on commit fa7e2ba

Please sign in to comment.