Skip to content

Angular 21: standalone components, Vitest and angular19 CI - #1173

Merged
renemadsen merged 3 commits into
angular19from
ng21/migrate
Oct 18, 2026
Merged

renemadsen merged 3 commits into
angular19from
ng21/migrate

Conversation

@renemadsen

Copy link
Copy Markdown
Member

Part of the Angular 21 upgrade. The frontend's angular19 branch is now on Angular 21 with standalone components and Vitest (microting/eform-angular-frontend#8155).

  • CI: PR CI checks out the frontend at the branch the PR targets. Corepack is enabled before every yarn install, because the frontend's angular19 pins Yarn 4.
  • Standalone: every component now imports exactly what its template uses. NgModule declarations are removed. MatDialogModule stays in the feature modules, so plugin dialogs still resolve module-provided services.

Verified locally with ng build against frontend angular19, together with the other migrated plugins. Code reviewed. Not yet clicked through in a browser.

🤖 Generated with Claude Code

renemadsen and others added 3 commits October 18, 2026 08:00
PR CI checks out the frontend (and sibling plugins) at the branch the PR
targets instead of always stable. Corepack is enabled before every yarn
install, since the frontend's angular19 branch pins yarn@4; the Docker
build uses yarn for the frontend build as well. Dead WDIO config copies
are dropped (the frontend no longer has WDIO).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ervices

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 18, 2026 06:31

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Cross-repository CI compatibility and runtime dialog behavior still need verification before approval.

No open issues 🎉

What changed in this PR

Migrates the customers plugin to standalone components for compatibility with the Angular 21 frontend.

Changes:

  • Adds component-level template imports and removes NgModule declarations while retaining dialog and service providers.
  • Makes PR CI select the frontend branch matching the PR target.
  • Enables Corepack before dependency installation in CI and Docker.
File Description
eform-client/​src/​app/​plugins/​modules/​customers-pn/​layouts/​customer-pn-layout.component.ts Imports RouterOutlet directly.
eform-client/​src/​app/​plugins/​modules/​customers-pn/​customers-pn.module.ts Removes declarations and retains feature providers.
eform-client/​src/​app/​plugins/​modules/​customers-pn/​components/​customers-pn-table/​customers-pn-table.component.ts Adds standalone table dependencies.
eform-client/​src/​app/​plugins/​modules/​customers-pn/​components/​customers-pn-fields/​customers-pn-fields.component.ts Adds standalone field-settings dependencies.
eform-client/​src/​app/​plugins/​modules/​customers-pn/​components/​customers-pn-container/​customers-pn-container.component.ts Imports child components and template dependencies.
eform-client/​src/​app/​plugins/​modules/​customers-pn/​components/​customer-pn-import/​customer-pn-import.component.ts Adds standalone import-page dependencies.
eform-client/​src/​app/​plugins/​modules/​customers-pn/​components/​customer-pn-edit/​customer-pn-edit.component.ts Adds edit-dialog and reactive-form dependencies.
eform-client/​src/​app/​plugins/​modules/​customers-pn/​components/​customer-pn-delete/​customer-pn-delete.component.ts Adds delete-dialog dependencies.
eform-client/​src/​app/​plugins/​modules/​customers-pn/​components/​customer-pn-add/​customer-pn-add.component.ts Adds add-dialog and reactive-form dependencies.
Dockerfile Enables Corepack before Yarn installation.
.github/​workflows/​dotnet-core-pr.yml Aligns frontend checkout with the target branch and enables Corepack.
.github/​workflows/​dotnet-core-master.yml Enables Corepack before Yarn installation.

Review effort: Balanced

@renemadsen
renemadsen merged commit 8b01df0 into angular19 Oct 18, 2026
5 of 6 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