Skip to content

Conversation

@petruki
Copy link
Member

@petruki petruki commented Sep 24, 2025

This pull request introduces several updates to modernize the Angular project, including migration to the new Angular build system, dependency upgrades, and build configuration improvements. The changes aim to align the project with the latest Angular standards, streamline build outputs, and improve maintainability.

Build system migration and configuration updates:

  • Migrated from @angular-devkit/build-angular to the new @angular/build builders in angular.json, updating build, serve, and extract-i18n targets, and refactored related build options (e.g., outputPath, serviceWorker configuration, removed deprecated options). [1] [2] [3] [4] [5]
  • Updated Dockerfile to copy the correct browser build output directory (dist/switcher-management/browser) for deployment.

Dependency and tooling updates:

  • Upgraded Angular dependencies and related packages to the latest patch versions in package.json, and replaced deprecated devDependencies with their modern equivalents. [1] [2]
  • Migrated ESLint configuration from CommonJS (eslint.config.js) to ESM (eslint.config.mjs) using the new defineConfig API and ES module imports.

Other improvements:

  • Removed redundant import of @angular/localize/init from src/main.ts as it is now included via the build configuration.

@petruki petruki added this to the v2.1.1 milestone Sep 24, 2025
@petruki petruki self-assigned this Sep 24, 2025
@petruki petruki added the enhancement New feature or request label Sep 24, 2025
@petruki petruki merged commit 0e11222 into master Sep 24, 2025
3 checks passed
@petruki petruki deleted the staging branch September 24, 2025 02:07
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.

2 participants