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

only register v2 addons with parent addons #1937

Merged
merged 1 commit into from
May 22, 2024
Merged

Conversation

mansona
Copy link
Member

@mansona mansona commented May 22, 2024

This is something that is needed for #1936

Up until this point, if the parent of an addon has version: 2 in it's ember-addon package.json it was always going to be an addon. With recent changes in the authoring format of a v2 app we now need to check that the parent is indeed an addon, so we just ignore it if it has type: app

This PR is marked as a bug which technically isn't true because this is new design work, but it's safe enough (and important) that this goes out in a patch release 👍

@mansona mansona merged commit 0d42d71 into main May 22, 2024
377 of 379 checks passed
@mansona mansona deleted the v2-addon-registration branch May 22, 2024 14:37
@github-actions github-actions bot mentioned this pull request May 22, 2024
@mansona mansona restored the v2-addon-registration branch May 22, 2024 15:03
@mansona mansona deleted the v2-addon-registration branch May 22, 2024 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants