From 43beef627e978efc1f817523bed32842049a8bb9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 7 Apr 2026 04:49:45 +0000 Subject: [PATCH 1/2] build(deps-dev): bump vite from 6.4.1 to 6.4.2 Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.4.1 to 6.4.2. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/v6.4.2/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v6.4.2/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-version: 6.4.2 dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index cb39bf7f..2d226449 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3541,9 +3541,9 @@ vite-node@3.0.9: vite "^5.0.0 || ^6.0.0" "vite@^5.0.0 || ^6.0.0", vite@^6.2.3: - version "6.4.1" - resolved "https://registry.npmjs.org/vite/-/vite-6.4.1.tgz" - integrity sha512-+Oxm7q9hDoLMyJOYfUYBuHQo+dkAloi33apOPP56pzj+vsdJDzr+j1NISE5pyaAuKL4A3UD34qd0lx5+kfKp2g== + version "6.4.2" + resolved "https://registry.yarnpkg.com/vite/-/vite-6.4.2.tgz#a4e548ca3a90ca9f3724582cab35e1ba15efc6f2" + integrity sha512-2N/55r4JDJ4gdrCvGgINMy+HH3iRpNIz8K6SFwVsA+JbQScLiC+clmAxBgwiSPgcG9U15QmvqCGWzMbqda5zGQ== dependencies: esbuild "^0.25.0" fdir "^6.4.4" From dd65a9ddc32fa0cf4cdb180b92072a2b6eca07d1 Mon Sep 17 00:00:00 2001 From: Andrei Borza Date: Wed, 8 Apr 2026 14:05:07 +0900 Subject: [PATCH 2/2] Read angular.json via fs instead of import --- e2e-tests/tests/angular-17.test.ts | 9 ++++++--- e2e-tests/tests/angular-19.test.ts | 9 ++++++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/e2e-tests/tests/angular-17.test.ts b/e2e-tests/tests/angular-17.test.ts index 7d861104..c464b71b 100644 --- a/e2e-tests/tests/angular-17.test.ts +++ b/e2e-tests/tests/angular-17.test.ts @@ -11,6 +11,7 @@ import { getWizardCommand, modifyFile, } from '../utils'; +import * as fs from 'fs'; import * as path from 'path'; import { TEST_ARGS } from '../utils'; import { test, expect, describe, beforeAll, afterAll, it } from 'vitest'; @@ -224,12 +225,14 @@ function checkAngularProject( ]); }); - test('angular.json is updated correctly', async () => { + test('angular.json is updated correctly', () => { const angularJsonFile = path.resolve(projectDir, 'angular.json'); checkFileExists(angularJsonFile); - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const angularJson = (await import(angularJsonFile)) as Record; + const angularJson = JSON.parse( + fs.readFileSync(angularJsonFile, 'utf-8'), + // eslint-disable-next-line @typescript-eslint/no-explicit-any + ) as Record; // eslint-disable-next-line @typescript-eslint/no-explicit-any for (const [, project] of Object.entries( diff --git a/e2e-tests/tests/angular-19.test.ts b/e2e-tests/tests/angular-19.test.ts index bfdafe6f..64ad9257 100644 --- a/e2e-tests/tests/angular-19.test.ts +++ b/e2e-tests/tests/angular-19.test.ts @@ -11,6 +11,7 @@ import { getWizardCommand, modifyFile, } from '../utils'; +import * as fs from 'fs'; import * as path from 'path'; import { TEST_ARGS } from '../utils'; import { test, expect, describe, beforeAll, afterAll, it } from 'vitest'; @@ -222,12 +223,14 @@ function checkAngularProject( ]); }); - test('angular.json is updated correctly', async () => { + test('angular.json is updated correctly', () => { const angularJsonFile = path.resolve(projectDir, 'angular.json'); checkFileExists(angularJsonFile); - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const angularJson = (await import(angularJsonFile)) as Record; + const angularJson = JSON.parse( + fs.readFileSync(angularJsonFile, 'utf-8'), + // eslint-disable-next-line @typescript-eslint/no-explicit-any + ) as Record; // eslint-disable-next-line @typescript-eslint/no-explicit-any for (const [, project] of Object.entries(