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
Ember: Remove global Ember usage #17843
Conversation
☁️ Nx Cloud ReportCI is running/has finished running commands for commit e2fda25. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this branch ✅ Successfully ran 1 targetSent with 💌 from NxCloud. |
Hey @dbendaou thanks for this contribution! Is there a reason this PR is still a draft? Thanks! |
Updated! |
Could we move forward and have this merged? Since for now Storybook is unusable with Ember4 app |
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.
@shilman could you release this? Thanks
Hi @shilman when can we expect this to be released ? Our entire dev workflow is blocked as we are not able to use storybook with ember 4.x |
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.
@dbendaou @yannbf @krezicoder This PR breaks CI -- specifically, it looks like there's a missing dependency on @ember/component
:
Hey @shilman, I've updated my PR and updated the ember source dependencies to be able to leverage the module unification introduced in 3.27+ (previously it wasn't using "real" module) And I'm able to properly run the Ember example Also, ember-source doesn't provide type definition yet, they are working on it.. Do you know if I'm missing something ? |
You may be able to pull in |
10bb978
to
4cfd0c3
Compare
4cfd0c3
to
e98239a
Compare
…t on npm at all...
How could this possibly work? |
What's needed to move this forward? |
@gossi If you think this is good to merge, that's all that's required from me! Please merge!, I think you have the access-level to do that, don't you? |
Merging is blocked for me, @shilman requested changes. Can you unblock me or merge directly? |
@dbendaou we should backport this to storybook v6 - as it will take more time to make storybook v7 compatible with recent ember developments. |
@shilman @dbendaou @gossi @ndelangen I'm open to help cherry-pick these changes to v6 but little confused which branch it should target. should it be |
@SergeAstapov we’ll try to take care of it and will let you know if we need help cherry picking |
This is now available in 6.5.15-alpha.0 |
We didn't had any issue and it's currently working ok in the alpha, do you think we could add it in the next 6.x release? |
couple minor issues I've noticed with `peerDependencies: "@types/ember__component": "4.0.8",
"ember-source": "~3.28.1" this causes some issues... I believe these have to be changed to "@types/ember__component": "^4.0.8",
"ember-source": "~3.28.1 || ^4.0.0" |
@SergeAstapov Would you be open to opening a PR to remedy this? 🙏 |
Issue:
What I did
Remove Ember global usage in favor of
Component
directlyHow to test
If your answer is yes to any of these, please make sure to include it in your PR.