Skip to content

Update the classic app to Glint v2 - #11047

Open
Windvis wants to merge 1 commit into
ember-cli:masterfrom
Windvis:classic-app-glint-v2
Open

Update the classic app to Glint v2#11047
Windvis wants to merge 1 commit into
ember-cli:masterfrom
Windvis:classic-app-glint-v2

Conversation

@Windvis

@Windvis Windvis commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Closes #11046

@Windvis
Windvis marked this pull request as ready for review July 30, 2026 08:03
@Windvis
Windvis marked this pull request as draft July 30, 2026 08:04
@Windvis

Windvis commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

I think we are missing fixture tests for the classic app blueprint. I only updated the addon fixtures, but the tests are all passing.

The app version is being skipped here:

if (isExperimentEnabled('VITE')) {
this.skip();
}

That Vite experiment is always enabled at the moment:

const enabledExperiments = Object.freeze(['VITE']);

Do we need new fixture files for the classic app and update the new command so it uses the classic blueprint specifically? Or will that not work in the test setup?

@Windvis
Windvis force-pushed the classic-app-glint-v2 branch from 1484534 to 03dfa32 Compare July 30, 2026 08:59
@Windvis
Windvis marked this pull request as ready for review July 30, 2026 09:44
@@ -1 +1 @@
import '@glint/environment-ember-loose';
import '@glint/ember-tsc/types';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

can we delete this file and move it to the tsconfig's compilerOptions#types?

@NullVoxPopuli NullVoxPopuli left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

thanks for doing this! this is really close -- just one change I'd like to see that brings it closer to the v2 app blueprint

@Windvis
Windvis force-pushed the classic-app-glint-v2 branch from 03dfa32 to 74ffb50 Compare August 6, 2026 12:21
@Windvis
Windvis force-pushed the classic-app-glint-v2 branch from 74ffb50 to 5ce7fe2 Compare August 6, 2026 12:28
@Windvis

Windvis commented Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

thanks for doing this! this is really close -- just one change I'd like to see that brings it closer to the v2 app blueprint

Done.

The TS app blueprint still isn't being tested though. Not all fixtures were updated and the tests pass. I poked at it briefly but don't really know the way forward there.

Probably best to get the RFC out to deprecate the classic blueprint it so it can be removed in v8 (or earlier since it's not really linked to ember-source) 😄 .

@NullVoxPopuli

NullVoxPopuli commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

The TS app blueprint still isn't being tested though. Not all fixtures were updated and the tests pass. I poked at it briefly but don't really know the way forward there.

yeah, ember-cli doesn't fully test blueprints -- which was a huge motivation for pulling blueprints out to their own repos -- so we can spend more ci time on proper tests -- which we haven't had motivation to do with the blueprints we want to deprecate

deprecate the classic blueprint

yea, agreed -- I need to remind myself where this is at -- (ie: ask @mansona )

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.

Classic app blueprint (v6.11+) + typescript dependency issue

2 participants