Skip to content

Upgrade AxeOS to Angular 19#1651

Open
mutatrum wants to merge 24 commits into
bitaxeorg:masterfrom
mutatrum:angular-19
Open

Upgrade AxeOS to Angular 19#1651
mutatrum wants to merge 24 commits into
bitaxeorg:masterfrom
mutatrum:angular-19

Conversation

@mutatrum
Copy link
Copy Markdown
Collaborator

@mutatrum mutatrum commented Apr 8, 2026

This is an experimental migration to Angular 19. One of the biggest changes is that it's based off a default theme, instead of a copy-drop into the project. Not all elements are styled the same, so it needs polish, but this is mainly a feasibility exercise, and probably needs to be done again after #1622 and maybe other pending PRs.

The line count of this PR is massive, however, if you break it down:

  • package-lock.json: +8958/-7,850
  • theme files: 0/-8,675 (94 files deleted, 226kB)
  • Actual changes: +689/-490

Rationale was that Angular 18 is no longer supported and the increasing number of security issues in the npm build part, which for a large part were coming from the Angular 18 dependencies:

Before: 60 vulnerabilities (9 low, 11 moderate, 39 high, 1 critical)
After: 8 vulnerabilities (1 moderate, 7 high)

Following this, the next step would be to migrate from PrimeFlex to Tailwind. But that can be done gradually.

Prior art: #885

It would be prudent to move forward to Angular 20 or latest, as Angular 19 is also almost EOL.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 8, 2026

Test Results

 2 files  ±0   2 suites  ±0   0s ⏱️ ±0s
88 tests ±0  88 ✅ ±0  0 💤 ±0  0 ❌ ±0 
90 runs  ±0  90 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 6c0c89b. ± Comparison against base commit 7ab1024.

♻️ This comment has been updated with latest results.

@mutatrum mutatrum changed the title Angular 19 Upgrade AxeOS to Angular 19 Apr 9, 2026
@mutatrum mutatrum marked this pull request as ready for review May 6, 2026 12:27
@mutatrum mutatrum added critical Needs to be worked on ASAP cleanup Code cleanup labels May 10, 2026
…angular-19

# Conflicts:
#	main/http_server/axe-os/src/app/components/home/home.component.html
#	main/http_server/axe-os/src/app/components/pool/pool.component.html
@WantClue
Copy link
Copy Markdown
Collaborator

heck of a PR, will start the review this weekend

@mutatrum
Copy link
Copy Markdown
Collaborator Author

heck of a PR, will start the review this weekend

It's smaller than it looks, see comment above. It just deletes a gazillion files and package-lock.json is updated.

@mutatrum mutatrum added this to the 2.15.0 milestone May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup Code cleanup critical Needs to be worked on ASAP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants