Skip to content

Upgrade the UI to Angular 22 and Node 26 - #950

Merged
miredirex merged 2 commits into
devfrom
chore/ui-upgrade
Nov 13, 2026
Merged

miredirex merged 2 commits into
devfrom
chore/ui-upgrade

Conversation

@Force67

@Force67 Force67 commented Nov 10, 2026

Copy link
Copy Markdown
Member
  • Angular 16 to 22, TypeScript 6.0, Node 26 LTS, pnpm 12. Everything else on latest. pnpm audit goes from 238 vulnerabilities to 0.
  • Switches to the esbuild application builder. Output is still dist/UI, production builds take about 3s instead of 45s.
  • @ngneat/transloco is replaced by @jsverse/transloco. Sass moves from @import to @use. Font Awesome 7 icons are kept at their old width.
  • Removes the ESLint setup and lint target, which had been broken for a long time.
  • CI uses Node lts/lithium and takes the pnpm version from package.json.
  • Tested in game with a local server: overlay, connect, chat, party, settings, language switch and disconnect.

Clears all 238 npm audit vulnerabilities. Moves to the esbuild application builder, transloco's new package and Sass modules, and drops the long-broken ESLint setup.

@miredirex miredirex left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. The only problem I found is

pnpm start

$ ng serve --host 0.0.0.0 --disable-host-check --configuration=browser
Error: Unknown argument: disable-host-check
[ELIFECYCLE] Command failed with exit code 1.

@Force67

Force67 commented Nov 12, 2026

Copy link
Copy Markdown
Member Author

@miredirex fixed, thanks. Vite dropped --disable-host-check, so I removed it from the start script. Access by IP still works.

@miredirex
miredirex merged commit 35ea49b into dev Nov 13, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants