Skip to content

Add pnpm patches for ember-cli and @embroider/compat #21262

Merged
NullVoxPopuli merged 4 commits intoemberjs:nvp/v7-testfrom
NullVoxPopuli-ai-agent:fix-smoke-test-patches
Mar 28, 2026
Merged

Add pnpm patches for ember-cli and @embroider/compat #21262
NullVoxPopuli merged 4 commits intoemberjs:nvp/v7-testfrom
NullVoxPopuli-ai-agent:fix-smoke-test-patches

Conversation

@NullVoxPopuli-ai-agent
Copy link
Copy Markdown

Summary

Adds pnpm patches so the v7 smoke tests can pass without waiting for upstream releases:

These patches can be removed once the upstream PRs are released.

Test plan

  • Classic smoke tests pass (classicUseModulesFeature-basics)
  • Embroider webpack smoke tests pass (embroiderWebpack-basics)
  • Embroider vite smoke tests pass (embroiderVite-basics)

🤖 Generated with Claude Code

Patches ember-cli@6.11.0 (ember-cli/ember-cli#10971) and
@embroider/compat@4.1.16 (embroider-build/embroider#2695) to handle
ember-source no longer exporting `paths` in v7.

- ember-cli: guard `_initVendorFiles` against missing `paths`
- @embroider/compat: skip legacy vendor file creation when `paths` absent

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@NullVoxPopuli NullVoxPopuli changed the title Add pnpm patches for ember-cli and @embroider/compat paths fix Add pnpm patches for ember-cli and @embroider/compat Mar 28, 2026
- Patch ember-cli-htmlbars@7.0.0 to handle missing absolutePaths in
  v7 ember-source, falling back to the ESM template compiler path.
- Update sourcemap-test.js for v7's ESM-only dist structure
  (dist/ember.debug.js no longer exists).
- Include template-compiler-test.js fix for ESM imports.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
NullVoxPopuli and others added 2 commits March 28, 2026 00:48
The v7 build outputs to dist/dev/packages/ and dist/prod/packages/,
not dist/packages/. The template compiler fallback path must use the
dev directory.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
ember-auto-import also accesses emberSource.absolutePaths.templateCompiler
for babel template compilation config. Add the same fallback to the
dist/dev/ ESM template compiler path for v7.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@NullVoxPopuli NullVoxPopuli merged commit 31b3de0 into emberjs:nvp/v7-test Mar 28, 2026
34 checks passed
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.

2 participants