From 202c7faf41ee13d2f0ab8a73396c93318ab84f29 Mon Sep 17 00:00:00 2001 From: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com> Date: Sun, 5 Apr 2026 14:40:26 -0400 Subject: [PATCH] Hoist ember-primitives to fix resolution for transitive consumers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ember-mobile-menu depends on ember-primitives directly. With pnpm's strict isolation, it resolves through the pnpm store's injected copy. When turbo replays cached builds, the injected copy may not have dist/ yet due to race conditions in the sync timing. Hoisting ember-primitives (alongside the existing workspace:^ override) ensures all packages — including transitive consumers like ember-mobile-menu — resolve to the same hoisted copy in root node_modules, which is always up to date after builds. Co-Authored-By: Claude Opus 4.6 (1M context) --- .npmrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.npmrc b/.npmrc index 4fe88bd10..cc06a6e22 100644 --- a/.npmrc +++ b/.npmrc @@ -15,6 +15,7 @@ peers-suffix-max-length=40 dedupe-injected-deps=true dedupe-peer-dependents=true public-hoist-pattern[]=ember-source +public-hoist-pattern[]=ember-primitives sync-injected-deps-after-scripts[]=build sync-injected-deps-after-scripts[]=sync inject-workspace-packages=true