-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Upgrade ember-source to 5.10 #1787
Conversation
Run & review this pull request in StackBlitz Codeflow. |
Footnotes
|
@@ -38,7 +38,8 @@ | |||
"ember-modifier": "^4.1.0", | |||
"ember-primitives": ">= 0.11.0", | |||
"ember-resources": ">= 6.4.2", | |||
"ember-source": ">= 5.9.0" | |||
"ember-source": ">= 5.10.0", | |||
"webpack": "^5.92.1" |
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.
adding webpack as a peer here to "forward" ember-source's peer resolves the peer issues embroider is telling us about (duplicate ember-sources)
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 feels super gross though, and I've asked about it here https://discord.com/channels/480462759797063690/568935504288940056/1260033731918299136
apps/repl/ember-cli-build.js
Outdated
// Adds: | ||
// - ember-template-compiler | ||
// - @glimmer/syntax | ||
app.import('vendor/ember/ember-template-compiler.js'); |
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 appears to not be required anymore -- presumably because:
- ef4 keeps chugging away at ember-source modernizations, making the template compiler findable by our build tooling
- I have no idea how this vendor/ember thing ever resolved in the first place, looking through source, it existed at dist/ember-template-compiler.js (looks to be some configamahwhoozits in lib/index.js)
ca7b05f
to
1241c97
Compare
Let's see if we can replicate or resolve emberjs/ember.js#20718