Enable Glint by default for both JS and TS addons#141
Open
wagenet wants to merge 1 commit intoember-cli:mainfrom
Open
Enable Glint by default for both JS and TS addons#141wagenet wants to merge 1 commit intoember-cli:mainfrom
wagenet wants to merge 1 commit intoember-cli:mainfrom
Conversation
Implements RFC #976 (emberjs/rfcs#976): install and configure Glint v2 in addon blueprint output regardless of --typescript. JS addons get IDE tooling via jsconfig.json + the TypeScript Server plugin; TS addons get the full template type-check via the ember-tsc CLI. - Move @glint/ember-tsc, @glint/template, @glint/tsserver-plugin, and typescript out of the <% if (typescript) %> blocks in package.json so they install for both paths. lint:types stays TS-only (ember-tsc --noEmit). @ember/{app,library}-tsconfig were already always-installed. - Add files/jsconfig.json for the JS path (extends @ember/app-tsconfig, noEmit:true). Filter it out for TS addons in index.js. - Drop the dead loose-mode artifacts: src/template-registry.ts, the rollup template-registry public entrypoint, the matching test assertions in smoke and explicit-imports tests, and the v1-registry fixture files. Glint v2 supports template-tag (.gts/.gjs) only; the registry pattern is gone. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This was referenced May 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements RFC #976: Enable Glint by Default for the addon blueprint. Mirrors the app-blueprint change at ember-cli/ember-app-blueprint#273.
Related
Test plan
🤖 Generated with Claude Code