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

Support v2 ember-source #2164

Merged
merged 1 commit into from
Nov 5, 2024
Merged

Support v2 ember-source #2164

merged 1 commit into from
Nov 5, 2024

Conversation

ef4
Copy link
Contributor

@ef4 ef4 commented Nov 5, 2024

These minor compatibility tweaks are needed to support an upcoming ember-source release that declares itself as a v2 addon.

These minor compatibility tweaks are needed to support an upcoming ember-source release that declares itself as a v2 addon.
@ef4 ef4 added the enhancement New feature or request label Nov 5, 2024
@@ -1036,7 +1036,7 @@ export class CompatAppBuilder {

let resolver = new Resolver(resolverConfig);
let resolution = resolver.nodeResolve(
'ember-source/vendor/ember/ember-template-compiler',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is only present on disk in the rewritten form of ember-source. Once it's v2 it doesn't get rewritten.

@ef4 ef4 merged commit b7cefa1 into stable Nov 5, 2024
223 checks passed
@ef4 ef4 deleted the v2-ember-source branch November 5, 2024 20:13
@github-actions github-actions bot mentioned this pull request Nov 5, 2024
@bartocc
Copy link

bartocc commented Dec 6, 2024

Upgrading from embroider/[email protected] to embroider/[email protected] breaks the build of our app because of the following error in an .hbs template

<Foo @class='!grid-cols-["auto_auto_1fr"]' />

The error is

/Users/foobar/my-app/web/node_modules/.embroider/rewritten-packages/core.647e0685/node_modules/core/components/foo/index.hbs.js/index.hbs.js: " is not a valid character within attribute names: (error occurred in 'core/components/foo/index.hbs' @ line 20 : column 82)

Since this PR is the only one that shipped for embroider/[email protected], I guess it is related, but I don't really understand what could cause this…

Any idea @ef4 ? Thx

cc @fannyvanrell

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

Successfully merging this pull request may close these issues.

2 participants