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

Remove deprecated ember-cli-htmlbars-inline-precompile for v1-x #922

Conversation

dmytro-krekota
Copy link

In this pull request, I removed usage of ember-cli-htmlbars-inline-precompile in the currently latest stable v1 version.
Inspired by #821

@dmytro-krekota
Copy link
Author

Copy link
Member

@rwjblue rwjblue left a comment

Choose a reason for hiding this comment

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

I don't think we can land this in the 1.x series, it is a breaking change.

@@ -38,7 +38,7 @@
"broccoli-funnel": "^2.0.2",
"ember-assign-polyfill": "^2.6.0",
"ember-cli-babel": "^7.7.3",
"ember-cli-htmlbars-inline-precompile": "^2.1.0",
"ember-cli-htmlbars": "^4.4.0",
Copy link
Member

Choose a reason for hiding this comment

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

I think the problem with this (for the 1.x series) is with Node version support.

ember-cli-htmlbars@4 supports Node 8, 10, >= 12, but the 1.x branch of @ember/test-helpers supports Node 6.

https://github.com/ember-cli/ember-cli-htmlbars/blob/v4.4.0/package.json#L95

"node": "6.* || 8.* || >= 10.*"

Copy link
Author

Choose a reason for hiding this comment

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

Ok, thanks for the explanation, I see the problem now.

Then just want to share my problem. In my project, I try to upgrade dependencies and receive the next error in tests:
"Could not find module htmlbars-inline-precompile imported from @ember/test-helpers/setup-rendering-context".
I suspect that my PR can solve it or somehow need to use the not stable beta release of the library.

Maybe you or somebody can help me to fix it in another way.

Screenshot 2020-09-20 at 23 30 19

Copy link
Author

Choose a reason for hiding this comment

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

Looks like it is an issue related to updates in ember-cli-mirage: 1.1.4 => 1.1.6, so this PR can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants