From aba53250550e99cfbc8c1da50ead05df202da58a Mon Sep 17 00:00:00 2001 From: Yogesh Chaudhary Date: Mon, 28 Sep 2026 09:07:37 +0530 Subject: [PATCH] fix(deps): add @angular/build as explicit devDependency Prevents npm from de-hoisting @angular/build when Angular core and build-tool packages diverge in patch versions, causing @analogjs/vite-plugin-angular to fail loading @angular/build/private at vitest startup. --- package-lock.json | 1 + package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/package-lock.json b/package-lock.json index e9f54d08..bac346ab 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,6 +27,7 @@ "@angular-eslint/eslint-plugin-template": "^20.7.0", "@angular-eslint/schematics": "^20.7.0", "@angular-eslint/template-parser": "^20.7.0", + "@angular/build": "^20.3.37", "@angular/cli": "^20.3.37", "@angular/compiler-cli": "^20.3.31", "@angular/forms": "^20.3.31", diff --git a/package.json b/package.json index 2f47f732..d2ae7c91 100644 --- a/package.json +++ b/package.json @@ -42,6 +42,7 @@ "@angular-eslint/eslint-plugin-template": "^20.7.0", "@angular-eslint/schematics": "^20.7.0", "@angular-eslint/template-parser": "^20.7.0", + "@angular/build": "^20.3.37", "@angular/cli": "^20.3.37", "@angular/compiler-cli": "^20.3.31", "@angular/forms": "^20.3.31",