-
-
Notifications
You must be signed in to change notification settings - Fork 259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow ember-cli-htmlbars-inline-precompile 2.x and 1.x #481
Allow ember-cli-htmlbars-inline-precompile 2.x and 1.x #481
Conversation
Hmm, not entirely sure how to get the tests to pass - any pointers? |
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.
Will need to add entries to all ember-try scenarios that need 1.x (where ember is older than 2.12) to override and force it to use ^1.0.5.
Hmm, that fixes the 2.12 test, but not the ones before that.. not sure what the cause is there, any ideas? |
config/ember-try.js
Outdated
@@ -24,6 +24,7 @@ module.exports = function() { | |||
}, | |||
npm: { | |||
devDependencies: { | |||
'ember-cli-htmlbars-inline-precompile': '~1.0.5', |
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 think this needs to be moved to dependencies
(not devDependencies
), otherwise we would have dependencies
of 2.0.0
and devDependencies
of 1.0.5
and my guess is that yarn
chooses dependencies
to "win" over dev deps.
Also can you change these to ^1.0.5
config/ember-try.js
Outdated
@@ -68,6 +71,7 @@ module.exports = function() { | |||
name: 'ember-lts-2.12', | |||
npm: { | |||
devDependencies: { | |||
'ember-cli-htmlbars-inline-precompile': '~1.0.5', |
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 we need any modification to this one (since 2.12 already comes from npm and is supported by 2.0.0 of ember-cli-htmlbars-inline-precompile).
183bb45
to
acd2bda
Compare
Yeah, that did the tick - I added it to |
Thank you @mydea! |
\#### 🚀 Enhancement * [emberjs#498](emberjs/ember-test-helpers#498) Add ability to opt-out of automatic settledness waiting in teardown. ([@rwjblue](https://github.com/rwjblue)) \#### 🐛 Bug Fix * [emberjs#497](emberjs/ember-test-helpers#497) Only customize RSVP's async for Ember older than 1.7. ([@rwjblue](https://github.com/rwjblue)) * [emberjs#481](emberjs/ember-test-helpers#481) Allow ember-cli-htmlbars-inline-precompile 2.x and 1.x ([@mydea](https://github.com/mydea)) \#### 🏠 Internal * [emberjs#491](emberjs/ember-test-helpers#491) TravisCI: Remove deprecated `sudo: false` option ([@Turbo87](https://github.com/Turbo87)) * [emberjs#480](emberjs/ember-test-helpers#480) Extract Prettier configuration to .prettierrc.js file. ([@rwjblue](https://github.com/rwjblue)) * [emberjs#463](emberjs/ember-test-helpers#463) Improve type declarations ([@Turbo87](https://github.com/Turbo87)) \#### Committers: 4 - Francesco Novy ([@mydea](https://github.com/mydea)) - Peter Wagenet ([@wagenet](https://github.com/wagenet)) - Robert Jackson ([@rwjblue](https://github.com/rwjblue)) - Tobias Bieniek ([@Turbo87](https://github.com/Turbo87))
See #468
This PR allows ember-cli-htmlbars-inline-precompile 2.x as well as 1.x, to continue supporting Ember <= 2.12.