Skip to content

Upgrade @embroider/* packages to 1.0.0#840

Merged
rwjblue merged 1 commit intoember-cli:masterfrom
SergeAstapov:bump-embroider-deps
Jan 25, 2022
Merged

Upgrade @embroider/* packages to 1.0.0#840
rwjblue merged 1 commit intoember-cli:masterfrom
SergeAstapov:bump-embroider-deps

Conversation

@SergeAstapov
Copy link
Contributor

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


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