Skip to content

fix(new): configure Angular allowed hosts for MES 12 apps - #910

Open
obimelo wants to merge 2 commits into
criticalmanufacturing:developmentfrom
obimelo:bug/new-app-html-fix-package-json
Open

obimelo wants to merge 2 commits into
criticalmanufacturing:developmentfrom
obimelo:bug/new-app-html-fix-package-json

Conversation

@obimelo

@obimelo obimelo commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

Summary

  • For App repositories targeting MES 12+, remove the allowed-hosts CLI flag from the generated serve script while retaining the app serve path.
  • Configure host.docker.internal in the Angular project serve.options.allowedHosts, preserving existing serve options.
  • Keep the existing serve script behavior for earlier MES versions.

Validation

  • CLI project build passed.
  • Commit-hook test suite: 848 passed, 2 skipped, 0 failed.
  • git diff --check passed.
  • Full scaffolding integration tests were not run; existing HTML scaffolding tests do not cover App repositories or this MES 12+ behavior.

@obimelo
obimelo requested a review from a team November 12, 2026 14:58

This branch has not been deployed

No deployments
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.

1 participant