WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@piyushsinghgaur1
Copy link

This pull request introduces a major upgrade of the Angular framework and related dependencies to version 19, modernizes the builder component to use Angular standalone/component-level inputs and outputs, and removes the legacy ngx-popperjs dependency in favor of Angular CDK overlays. Additionally, it adds a GitHub Actions workflow for Trivy security scanning and makes several configuration and style improvements to align with the latest Angular best practices.

Key changes include:

Angular Upgrade and Dependency Updates

  • Upgraded Angular and related dependencies from v13 to v19 in both root and package-level package.json files, including @ng-select/ng-select, zone.js, and development tools such as @angular-eslint and typescript. Removed ngx-popperjs and updated or removed related configuration overrides. [1] [2] [3] [4]
  • Updated angular.json to use new Angular 19 build options and builder (@angular-devkit/build-angular:application), and restructured polyfills and style entries for compatibility. [1] [2] [3] [4]

Builder Component Refactor

  • Refactored BuilderComponent to use Angular standalone component APIs, replacing legacy @Input/@Output with input()/output(), and removed OnChanges in favor of Angular signals and effects for reactive input handling. [1] [2]
  • Updated template bindings to use new input getter methods (templateMap(), allColumns()) and removed references to the old popup template. [1] [2] [3]
  • Replaced ngx-popperjs-based popups with Angular CDK overlay implementation, including new overlay template and event handling for node popups. [1] [2]

Testing and Style Updates

  • Updated the builder component spec to remove NgxPopperjsModule and provide necessary mocks and input values for the new input API.
  • Updated SCSS to use Angular 19's @use syntax for style imports and replaced variable references accordingly. [1] [2] [3] [4]

CI/CD and Security

  • Added a new GitHub Actions workflow (.github/workflows/trivy.yml) to run Trivy security scans on pull requests targeting the master branch.

These changes modernize the codebase for compatibility with Angular 19, improve maintainability by adopting new Angular patterns, and enhance security and CI/CD practices.

…and add trivy workflow

replace input output decorators with signal-based inputs and add trivy workflow

BREAKING CHANGE:
Yes

GH-97
@github-actions
Copy link

==== Karma Test Coverage ====
Statements: 40.8% ( 774/1897 )
Branches : 19.22% ( 124 /645 )
Functions : 38.74% ( 160 /413 )
Lines : 41.48% ( 767 /1849 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade to Angular 19, Remove Vulnerabilities, and Migrate to Signals & Standalone Components

2 participants