chore(deps): update external major (major)
This PR contains the following updates:
Release Notes
angular/angular-cli (@angular-devkit/build-angular)
v21.0.0
Breaking Changes
@angular/cli
- The
ngcommands will no longer automatically detect and usecnpmas the package manager. As an alternative use the.npmrcfile to ensure npm uses the cnpm registry.
@angular/build
-
- TypeScript versions older than 5.9 are no longer supported.
- The
javascriptEnabledoption for Less is no longer supported. Projects relying on inline JavaScript within Less files will need to refactor their stylesheets to remove this dependency.
@schematics/angular
| Commit | Type | Description |
|---|---|---|
| e417c89f9 | feat | Add addTypeToClassName option to relevant schematics |
| ede5e52bc | feat | add include option to jasmine-to-vitest schematic |
| c119910f4 | feat | add AGENTS.md support to ai-config schematic |
| d0d2a17b8 | feat | add Jasmine spy API transformations to jasmine-to-vitest schematic |
| e7d955bed | feat | add matcher transformations to jasmine-to-vitest schematic |
| 629f5cb18 | feat | add misc transformations to jasmine-to-vitest schematic |
| 4912f3990 | feat | add Tailwind CSS option to application schematic and ng new |
| 2a518016d | feat | Applications are zoneless by default |
| 2ffc527b1 | feat | configure Vitest for new projects and allow runner choice |
| 58474ec7d | feat | introduce initial jasmine-to-vitest unit test refactor schematic |
| 9f255f2b3 | feat | set packageManager in package.json on new projects |
| 4e6c94f21 | feat | support different file name style guides in ng new |
| 77741f5ee | fix | add 'update-typescript-lib' migration |
| f89750b27 | fix | add addImports option to jasmine-vitest schematic |
| 9dab5780a | fix | add fixture.whenStable in spec files when zoneless apps |
| 8f0f6a5f1 | fix | add migration to update moduleResolution to bundler |
| e8feba9ee | fix | add missing typeSeparator to main.ts.template file |
| 515b09c4f | fix | add Vitest config generation and runner checks |
| 0e83fe1a8 | fix | add warnings and improve Karma config generation |
| b91fa31f2 | fix | align Karma project generation with unified unit-test builder |
| c967a447c | fix | correct spacing in application spec tsconfig |
| 00d941c43 | fix | correct style guide paths for standalone components |
| e33e77d12 | fix | flag '--file-name-style-guide=2016' - wrong import in main.ts |
| f35b9f331 | fix | improve comment preservation in jasmine-to-vitest |
| 6615fcf03 | fix | issues in apps generated with '--file-name-style-guide=2016' flag |
| e304821d5 | fix | make ai-config schematic non-destructive |
| 512ad282a | fix | preserve blank lines in jasmine-to-vitest schematic |
| b524ba426 | fix | remove empty i18n-extract target for new projects |
| 8e6e0a293 | fix | remove explicit flag for host bindings |
| afb4d3e37 | fix | remove extra space before async in spec templates |
| b983ea8e5 | fix | respect skip-install for tailwind schematic |
| 54c4eae2a | fix | transform Jasmine type annotations in jasmine-to-vitest schematic |
| 14c0a9bac | perf | optimize AST traversal utilities |
@angular/cli
| Commit | Type | Description |
|---|---|---|
| 58d101d5e | feat | add --json output to ng version |
| d014630fa | feat | add advanced filtering to MCP example search |
| 6d3a3c579 | feat | add ai-tutor mcp tool |
| 1c06b16a9 | feat | add builder info to list_projects MCP tool |
| 301b50da4 | feat | add fallback support for packages without direct ng add functionality |
| 3040b777e | feat | add style language detection to list_projects tool |
| 45024e836 | feat | add unit test framework detection to list_projects tool |
| 104c90768 | feat | enhance ng version output with more details |
| 286b6204c | feat | make documentation search tool version-aware |
| 406315d09 | feat | make find_examples tool version-aware |
| 68e711307 | feat | make get_best_practices tool version-aware |
| 50453fdee | feat | overhaul ng version command output |
| 1ee9ce3c9 | feat | promote MCP find_examples tool to a stable tool |
| 0d53e82d5 | feat | provide detailed peer dependency conflict errors in ng add |
| f513089e2 | feat | remove direct support for cnpm |
| c17d7a929 | fix | add schema versioning and metadata to example database |
| dbf1aaf70 | fix | add snippet support to example search MCP tool |
| dfb4242b3 | fix | add vitest to version command output |
| 11cee1acb | fix | correct boolean parsing in MCP example front matter |
| 122a8c0e2 | fix | correct frontmatter parsing in MCP examples tool |
| 431106559 | fix | correct query in find_examples to prevent runtime error |
| def412a55 | fix | enhance find_examples MCP tool with structured output |
| 0922a033f | fix | improve JSON schema parsing for command options |
| f099c9157 | fix | improve list_projects MCP tool to find all workspaces in monorepos |
| 1be35b343 | fix | promote zoneless migration MCP tool to stable |
| e5aed6d65 | fix | show planned actions in ng add dry run |
| 4deac3ec7 | fix | support multi-database search in find_examples MCP tool |
| aeb49dd52 | perf | cache dependency lookups during ng add |
| 5e534090e | perf | parallelize peer dependency checks in ng add |
@angular-devkit/build-angular
| Commit | Type | Description |
|---|---|---|
| 6e395fc0c | fix | ensure vitest code coverage handles virtual files correctly |
| 53899511a | fix | expand jest and jest-environment-jsdom to allow version 30 |
| 7a8c94615 | fix | make zone.js optional in server and app-shell builders |
@angular/build
| Commit | Type | Description |
|---|---|---|
| 00426e315 | feat | add --list-tests flag to unit-test builder |
| a908bf3d4 | feat | add 'filter' option to unit-test builder |
| 3e0209d0a | feat | add browserViewport option for vitest browser tests |
| 3b7dabbf1 | feat | add advanced coverage options to unit-test builder |
| c0b00d78e | feat | add reporter output file option for unit-test |
| 66dd6dd83 | feat | allow options for unit test reporters |
| a90bea5b5 | feat | support .test.ts files by default in unit test builder |
| b2f048773 | fix | add --ui option for Vitest runner |
| 530d9270e | fix | add define option to dev-server |
| b554bd73a | fix | add temporary directory cleanup for Vitest executor |
| c6176f6df | fix | add upfront dependency validation for unit-test runners |
| 63c98741a | fix | add webcontainer support for Vitest browser provider |
| fcdbf6c19 | fix | allow globals to be set to false |
| 542d52868 | fix | allow custom runner configuration file for unit-test |
| 0505f954d | fix | allow unit-test progress option passthrough for building |
| 931c62d20 | fix | allow unit-test runner config with absolute path |
| a11dd31f0 | fix | configure Vitest cache to use Angular cache |
| abf003268 | fix | correct Vitest builder watch mode execution |
| f05ffd104 | fix | correct Vitest coverage include handling for virtual files |
| cd5c92b99 | fix | correct Vitest coverage reporting for test files |
| 07f712253 | fix | correctly handle absolute paths and casing in test discovery |
| bf468e1eb | fix | direct check include file exists in unit-test discovery |
| 50e330d33 | fix | disable glob directory expansion when finding tests |
| 49b65aba8 | fix | disable Vitest test isolation by default |
| 1529595d4 | fix | drop support for TypeScript 5.8 |
| a44f8fa94 | fix | dynamically select Vitest DOM environment |
| ae35543af | fix | enhance Vitest config merging and validation |
| fec106b60 | fix | enhance Vitest dependency externalization and pre-bundling |
| f7c4a4c1d | fix | enhance Vitest resolution for optimal package loading |
| ee5e127d5 | fix | ensure ɵgetOrCreateAngularServerApp is always defined after errors |
| 0830f4fb5 | fix | ensure TestBed cleanup hooks are always registered |
| 41b12509a | fix | ensure TestBed setup is robust in non-isolated Vitest |
| 55145f582 | fix | ensure Vitest setup files are executed in order |
| 3478aa332 | fix | exclude .angular from coverage instrumentation |
| 7c529c1bc | fix | externalize Angular dependencies in Vitest runner |
| 69c3b1226 | fix | improve error handling in unit-test builder |
| bab5806c2 | fix | introduce vitest-base.config for test configuration |
| 73621998f | fix | normalize paths for Vitest runner output files |
| fa5c92346 | fix | prioritize string type for runnerConfig schema |
| d0787c11d | fix | provide default excludes for vitest coverage |
| ac10f323e | fix | relax requirement for files to be in TS compilation |
| 139758586 | fix | remove deprecated javascriptEnabled option for Less |
| 6576bb598 | fix | remove explicit test isolation configuration |
| 9132e6af9 | fix | resolve browser provider packages using project resolver |
| 26127bd3b | fix | resolve PostCSS plugins relative to config file |
| dae732059 | fix | serve build assets and styles in vitest |
| 705af2278 | fix | set coverage report directory to coverage/project-name |
| 0851d2eae | fix | show full aggregate errors from vitest |
| cc2668f57 | fix | simplify SSL handling for ng serve with SSR (#31723) |
| 907eabdd3 | fix | support ESM PostCSS plugins |
Configuration
📅 Schedule: Branch creation - "after 1pm on Monday" in timezone Europe/Zurich, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:
⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
- any of the package files in this branch needs updating, or
- the branch becomes conflicted, or
- you click the rebase/retry checkbox if found above, or
- you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: @adobe/[email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/eslint
npm ERR! dev eslint@"^9.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^7.20.0 || ^8.0.0" from @angular-eslint/[email protected]
npm ERR! node_modules/@angular-eslint/eslint-plugin
npm ERR! dev @angular-eslint/eslint-plugin@"^17.0.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /tmp/renovate/cache/others/npm/_logs/2024-04-17T16_06_21_757Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2024-04-17T16_06_21_757Z-debug-0.log
⚠️ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
- any of the package files in this branch needs updating, or
- the branch becomes conflicted, or
- you click the rebase/retry checkbox if found above, or
- you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: package-lock.json
npm warn Unknown env config "store". This will stop working in the next major version of npm.
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: @adobe/[email protected]
npm error Found: [email protected]
npm error node_modules/zone.js
npm error dev zone.js@"~0.11.4" from the root project
npm error
npm error Could not resolve dependency:
npm error peer zone.js@"~0.15.0" from @angular/[email protected]
npm error node_modules/@angular/core
npm error dev @angular/core@"^19.0.0" from the root project
npm error peer @angular/core@"19.2.1" from @angular/[email protected]
npm error node_modules/@angular/common
npm error dev @angular/common@"^19.0.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /runner/cache/others/npm/_logs/2025-03-11T19_05_48_648Z-eresolve-report.txt
npm error A complete log of this run can be found in: /runner/cache/others/npm/_logs/2025-03-11T19_05_48_648Z-debug-0.log