-
Notifications
You must be signed in to change notification settings - Fork 159
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
Fix ci and get working with Ember 5 #916
Conversation
When running against Ember 4.4 our CI was failing, because ember-cli-babel incorrectly gets confused about which actual ember-source is in use. --- Without this change, the various ember-cli-babel processes were identifying that [email protected] was in use and was therefore transpiling all `@ember/***` module usage to `Ember` global usage. This is "fine" for Ember 3.26, but under 3.27+ "real" modules exist and globals rewriting is no longer needed.
38cf419
to
74a747e
Compare
7a16150
to
b786946
Compare
@@ -16,15 +16,15 @@ describe('FastBootLocation Configuration', function () { | |||
|
|||
return app | |||
.create('fastboot-location-config', { | |||
emberVersion: 'latest', | |||
emberDataVersion: 'latest', | |||
emberVersion: '~3.28.12', |
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.
@Gaurav0, thanks heaps for doing this.
Why fix the version to 3.?
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.
It matches the default version of the ember-cli-fastboot addon being used in the test.
In a followup PR, we should probably update all the defaults to 4.12. Right now, just want to get things working again.
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.
Thanks heaps for doing this @Gaurav0 Looks great to me
Nice work @Gaurav0 ! How can we help with this? I'm happy to do some testing with existing apps. |
I'm closing this for now. I've looked into it and it seems like the fix is in the wrong place. Also the PR is too big to realistically review properly. For anyone following this work I'm taking back up the mantle of fixing ember-cli-fastboot this week so don't worry about this getting lost 👍 |
Merges #898 , #907, and #915
fastboot-shoebox-test was broken by #905
Only one test is failing, and it is due to this bug: emberjs/ember.js#20377
Update: the test is "Fixed", but only because the current release is now Ember 5.0