-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[BUGFIX beta] Make the ember-source build work. #14658
Conversation
6ba9925
to
f3ee405
Compare
bcf86c0
to
148ce7f
Compare
jqueryPath = path.dirname(resolve.sync('jquery/package.json', { basedir: this.project.root })); | ||
} catch (error) { | ||
jqueryPath = path.dirname(require.resolve('jquery/package.json')); | ||
} |
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.
Do we want to do a finally
here and to make sure we have a jqueryPath
and if not throw?
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.
If we don't have a jqueryPath
at this point something else is going to have resulted in this breaking long before we got this far. The one in the catch
statement is depended upon by ember-source
itself.
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.
SG
148ce7f
to
1a95068
Compare
@@ -30,7 +30,6 @@ | |||
"broccoli-funnel": "^1.0.6", | |||
"broccoli-merge-trees": "^1.1.4", | |||
"broccoli-rollup": "^1.0.3", | |||
"broccoli-stew": "^1.2.0", |
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.
This was already in dependencies
.
1a95068
to
682ef2f
Compare
The build in 2.11.0-beta.1 is "broken" as
dist
doesn't include jQuery. It should do so dynamically so that it gets SemVer drift instead of being hard-set bundled per build.It should also prefer a user-installed version of
jquery
to the version bundled withember-source
.This PR:
ember-source
if not user-specified.I think we broke this here: https://github.com/emberjs/ember.js/pull/14556/files