Skip to content

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

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

renemadsen merged 4 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>
…r Angular 21

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

Runtime dependency resolution changes still need human verification of dialog and report interactions in a browser.

No open issues 🎉

What changed in this PR

Updates the outer/inner resource plugin for the frontend’s Angular 21 migration, with standalone components and compatible build tooling.

Changes:

  • Moves template dependencies into standalone components and removes NgModule declarations.
  • Retains feature-level dialog providers.
  • Aligns PR frontend checkout with the target branch and enables Corepack for Yarn.
File Description
eform-client/​src/​app/​plugins/​modules/​outer-inner-resource-pn/​outer-inner-resource-pn.module.ts Imports standalone layout and settings.
eform-client/​src/​app/​plugins/​modules/​outer-inner-resource-pn/​modules/​reports/​reports.module.ts Imports standalone report components.
eform-client/​src/​app/​plugins/​modules/​outer-inner-resource-pn/​modules/​reports/​components/​report-preview-table/​report-preview-table.component.ts Adds standalone grid dependency.
eform-client/​src/​app/​plugins/​modules/​outer-inner-resource-pn/​modules/​reports/​components/​report-generator-form/​report-generator-form.component.ts Adds form and control dependencies.
eform-client/​src/​app/​plugins/​modules/​outer-inner-resource-pn/​modules/​reports/​components/​report-generator-container/​report-generator-container.component.ts Imports report child components.
eform-client/​src/​app/​plugins/​modules/​outer-inner-resource-pn/​modules/​outer-resources/​outer-resources.module.ts Imports standalone components; retains dialog providers.
eform-client/​src/​app/​plugins/​modules/​outer-inner-resource-pn/​modules/​outer-resources/​components/​outer-resources-page/​outer-resources-page.component.ts Adds page template dependencies.
eform-client/​src/​app/​plugins/​modules/​outer-inner-resource-pn/​modules/​outer-resources/​components/​outer-resource-edit/​outer-resource-edit.component.ts Adds edit dialog dependencies.
eform-client/​src/​app/​plugins/​modules/​outer-inner-resource-pn/​modules/​outer-resources/​components/​outer-resource-delete/​outer-resource-delete.component.ts Adds delete dialog dependencies.
eform-client/​src/​app/​plugins/​modules/​outer-inner-resource-pn/​modules/​outer-resources/​components/​outer-resource-create/​outer-resource-create.component.ts Adds create dialog dependencies.
eform-client/​src/​app/​plugins/​modules/​outer-inner-resource-pn/​modules/​inner-resources/​inner-resources.module.ts Imports standalone components; retains dialog providers.
eform-client/​src/​app/​plugins/​modules/​outer-inner-resource-pn/​modules/​inner-resources/​components/​inner-resources-page/​inner-resources-page.component.ts Adds page template dependencies.
eform-client/​src/​app/​plugins/​modules/​outer-inner-resource-pn/​modules/​inner-resources/​components/​inner-resource-edit/​inner-resource-edit.component.ts Adds edit dialog dependencies.
eform-client/​src/​app/​plugins/​modules/​outer-inner-resource-pn/​modules/​inner-resources/​components/​inner-resource-delete/​inner-resource-delete.component.ts Adds delete dialog dependencies.
eform-client/​src/​app/​plugins/​modules/​outer-inner-resource-pn/​modules/​inner-resources/​components/​inner-resource-create/​inner-resource-create.component.ts Adds create dialog dependencies.
eform-client/​src/​app/​plugins/​modules/​outer-inner-resource-pn/​layouts/​outer-inner-resource-pn-layout.component.ts Imports standalone router outlet.
eform-client/​src/​app/​plugins/​modules/​outer-inner-resource-pn/​components/​outer-inner-resource-settings/​outer-inner-resource-settings.component.ts Adds settings template dependencies.
Dockerfile Enables Corepack and builds with Yarn.
.github/​workflows/​dotnet-core-pr.yml Uses target frontend branch and enables Corepack.
.github/​workflows/​dotnet-core-master.yml Enables Corepack before dependency installation.

Review effort: Balanced

…vide it

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

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

The cross-repository migration still needs human runtime validation of dialogs and report controls against the Angular 21 host.

No open issues 🎉

Review effort: Balanced

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