Skip to content
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

@embroider/router Ember 4 CI job compatibility #1027

Merged

Conversation

Windvis
Copy link
Collaborator

@Windvis Windvis commented Nov 20, 2021

This updates the blueprint to the latest version and adds some other changes to make the tests succeed on Ember v4.

Closes #1024
Closes #1028

@simonihmig
Copy link
Collaborator

@Windvis I enabled CI for your PR. It looks fine to me, but one test related to your (refactored!) used-in-child component is failing in the classic scenario! 🤔

This is a requirement for the ember-release CI job.
This fixes deprecation warnings for features that are removed in Ember v4.
@Windvis Windvis force-pushed the fix/router/blueprint-ember-4-compatibility branch from ea03e93 to 6d341d3 Compare November 23, 2021 19:56
function hasComponentTemplate(name) {
return Boolean(requirejs.entries[`${ENV.modulePrefix}/templates/components/${name}`]);
function hasComponent(name) {
return Boolean(requirejs.entries[`${ENV.modulePrefix}/components/${name}`]);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@simonihmig I updated the path and renamed the function. Should be good now! 🙏

@Windvis Windvis changed the title @embroider/router Ember 4 compatibility @embroider/router Ember 4 CI job compatibility Nov 30, 2021
@ef4
Copy link
Contributor

ef4 commented Dec 3, 2021

Thanks, nice work.

@ef4 ef4 merged commit 1f40072 into embroider-build:master Dec 3, 2021
@ef4 ef4 added the internal label Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants