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

Upgrade @embroider/* packages to 1.0.0 #840

Merged
merged 1 commit into from
Jan 25, 2022

Conversation

SergeAstapov
Copy link
Contributor

This supersedes #838 and #822 and makes CI pass.
This should help ecosystem migrate to v1 of @embroider/* packages.

@@ -6,7 +6,7 @@ import {
} from '@embroider/macros';

if (macroCondition(dependencySatisfies('ember-qunit', '*'))) {
let { module, test } = importSync('qunit');
let { module, test } = importSync('qunit').default;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I assume previous versions of @embroider/macro happily "swallowed" qunit not being an ES module but now we need to be explicit.

I assume this has changed in embroider-build/embroider#1076 ad should be way to move forward in such scenarios.

@ef4 would appreciate you can confirm

Copy link
Contributor

Choose a reason for hiding this comment

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

I think you're correct. It was a bug that we allowed this to work before with .default.

@rwjblue rwjblue merged commit 9964867 into ember-cli:master Jan 25, 2022
@SergeAstapov SergeAstapov deleted the bump-embroider-deps branch January 25, 2022 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants