Repository navigation
Support @glimmer/component 2.2, vitest 5 and ember-vitest 0.9; drop create-app pins - #146
Merged
Merged
Conversation
…reate-app pins Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
create-app copies the demo vite config from main, so it has to keep loading for apps that install an ember-tui release without the shim. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Open
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.
Removes the temporary pins added to
bin/create-app.jsin #144 and upgrades ember-tui / ember-tui-demo to the latest test deps.vitest/browserunconditionally (Browser Mode only). ember-tui ships a small node shim (ember-tui/test-utils/vitest-browser-shim) and the demo's vite config aliasesvitest/browserto it (absolute path, so embroider doesn't reject it as an undeclared ember-vitest dependency).The alias is only added when the installed ember-tui ships the shim, because create-app copies this config from
mainand ember-tui itself comes from npm (older releases don't have it).tests/types/ember-vitest.d.tsoverride now augmentsember-vitest/manualand returns its ownTerminalRenderingContext(merging into ember-vitest'sRenderingContextcan't changeelementfromHTMLDivElement).module was not found for app/-embroider-entrypoint.js. Disabled viatest.fsModuleCache: false.@ember/componentdirectly, so it needs to be inlined (deps.inline) like ember-tui.@glimmer/component,ember-vitest,vitestunpinned. NewEMBER_TUI_TEMPLATE_BASEenv var lets it copy the demo files from a local checkout;scripts/test-create-app.shuses it so CI tests this branch's demo config instead of GitHubmain's.Verified locally: ember-tui lint + unit tests, each ember-tui-demo test file individually, and
scripts/test-create-app.sh(generated app gets @glimmer/component 2.2.0, ember-vitest 0.9.0, vitest 5.0.5, vite 8; start + tests pass).🤖 Generated with Claude Code