Commit fc4ea40
committed
v7
Add pnpm patches for ember-cli and @embroider/compat paths fix
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>
Add ember-cli-htmlbars patch, fix sourcemap test
- 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>
Fix ember-cli-htmlbars patch: use dist/dev/ path for v7
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>
Patch ember-auto-import to handle missing absolutePaths
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>
Use require.resolve instead of hardcoded dist path in patches
Replace hardcoded `dist/dev/packages/ember-template-compiler/index.js`
with `require.resolve('ember-source/ember-template-compiler/index.js')`
which resolves through the package exports map, making the patches
resilient to dist layout changes.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Remove pnpm patches for ember-cli-htmlbars, ember-auto-import, @embroider/compat
These patches were temporary shims for v7 compatibility. The upstream
PRs have landed:
- ember-cli-htmlbars: ember-cli/ember-cli-htmlbars#793
- ember-auto-import: embroider-build/ember-auto-import#708
- @embroider/compat: embroider-build/embroider#2695
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Lockfile1 parent 524f6ee commit fc4ea40
18 files changed
Lines changed: 199 additions & 1471 deletions
File tree
- broccoli/amd-compat-entrypoints
- lib
- packages
- @ember/-internals/deprecations
- ember-template-compiler
- loader
- lib
- smoke-tests
- benchmark-app
- node-template/tests/node
- scenarios
- tsconfig
- types
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
Lines changed: 0 additions & 206 deletions
This file was deleted.
This file was deleted.
0 commit comments