P0080 | Upgrade angular from 14 to 21#481
Open
dvCodeWorld wants to merge 17 commits intodevelopmentfrom
Open
Conversation
P0079::Proxy-auth script bugs and improvements
- Replace all lodash imports with lodash-es for tree-shaking - Remove duplicate MatMenuModule (logs.module.ts), FormsModule (register.module.ts) - Fix duplicate createCustomElement in element.module.ts, remove dead commented code - Remove console.log in layout.component.ts and otp.effects.ts - Remove empty tap/finalize in http-wrapper and error-interceptor - Fix typo swtichClientSuccess → switchClientSuccess (reducer/selector/component) - Fix bug: getAllProjectsError not dispatched + all 4 effects hasError pattern - Fix wrong property name projects → allProjects in getAllProjectsError reducer - Remove enableIvy flags from tsconfigs (removed in v15) - Remove ngcc postinstall script (removed in v15) - Update @angular-builders/custom-webpack 14 → 15 - Update ngx-build-plus 14 → 15 - Add node types to tsconfig.app.json for process.env compilation - Add local build configuration to proxy project.json - Update proxy-auth production budget to 3mb - Run nx migrations, workspace.json split to project.json files - Both proxy and proxy-auth apps build successfully on Angular 15.2.9
- Upgrade Angular core/CDK/Material: 14.2.x → 17.3.9 - Upgrade @ngrx/*: 14.x → 17.2.0 - Upgrade @angular/fire: 7.5.0 → 17.1.0 (firebase: 9.16.0 → 10.12.0) - Upgrade Nx/nrwl: 15.9.7 → 17.3.2 - Upgrade TypeScript: 4.9.5 → 5.2.2 - Upgrade zone.js: 0.12.0 → 0.14.8 - Upgrade @angular-devkit/build-angular: 15.2.9 → 17.3.9 - Upgrade @angular-eslint/*: 15.0.0 → 17.5.2 Material MDC Migration (zero MatLegacy* remaining): - Replace all MatLegacy* imports with MDC equivalents across all apps and libs - Migrate SCSS theme: legacy-core/all-legacy-component-themes → MDC core/all-component-themes - Use all-component-colors() for dark theme to avoid duplicate style emissions - Update MAT_LEGACY_*_DEFAULT_OPTIONS tokens to MDC equivalents in app.module.ts Nx/tooling fixes: - Remove @nrwl/cli (deprecated at v16+), update all build scripts to ./node_modules/.bin/nx - Switch nx.json runner from @nrwl/nx-cloud to nx/tasks-runners/default - Run Nx guard migration: remove deprecated CanActivate/Resolve interface implements clauses Zone.js fix: - Fix deep import zone.js/dist/webapis-shadydom.js → zone.js/bundles/webapis-shadydom.umd.js Docs: - Add docs/angular-v14-to-v17-migration-report.md with full compliance checklist
Deleted unused UI components: - angular-mentions (kept - used), removed: browser-recording, calendly-dialog, cmd-enter-preference, color-picker, color-functions, code-snippet-dialog, compose-wrapper, days-autocomplete-chip-list, drag-resizable, editor, file-upload, ivr-dialer, mat-autocomplete-wrapper, multi-select, no-network, no-permission, object-viewer, phone-number-material, phone-recording, qr-code, reject-reason, route-loader, sorting-bottom-sheet, template-preview, time-picker, tts-recording, variable-input Deleted unused pipes: - currency-formatter, custom-date-pipe, duration-pipe, filename-pipe, filter-control-pipe, get-hash-code-pipe, get-short-name-pipe, greeting-pipe, linkify-pipe, mobile-number-pipe, number-format-pipe, sanitize-html-pipe, seconds-to-hms, time-conversion-pipe, tooltip-list-pipe, user-setting-pipe, utc-to-local-date-pipe, country-currency-symbol, floor, flow, join, relative-time-pipe, repeater-condition, show-days-format, split, string-masking, timer Deleted unused directives: - auto-focus-directive, custom-tooltip-directive, highlight-directive, open-datepicker-on-focus-directive, timeago-directive Deleted unused services/other: - services/admin, services/shared, shared/, chart-ui/ Updated tsconfig.base.json: removed all 63 deleted path aliases (95 → 50 paths) Both proxy and proxy-auth apps verified building successfully after cleanup.
- Upgraded Angular core/material/cdk to v19.2.x - Upgraded NgRx to v19.2.1 (added @ngrx/operators for tapResponse) - Upgraded Nx to v19.8.14, replaced @nrwl/* with @nx/* across workspace - TypeScript upgraded to 5.5.4 - Material v18: updated all M2 SCSS APIs to mat.m2-* prefix - Angular v19: added standalone: false to 46 non-standalone components/directives/pipes - Fixed @angular-devkit/build-webpack version for v18/v19 - Updated zone.js to 0.14.10 - Both proxy and proxy-auth apps build successfully
…gs (Angular CLI v17+)
…ation, build-elements dynamic main.js
…ntained proxy-auth.js bundle
…oxy-root exists in DOM
…emove disableOptionCentering, remove custom-webpack
…2, NgRx 21.0.1, @angular/fire 21.0.0-rc.0, Nx 21.6.10, TS 5.9.3)
|
PR review rate limit exceeded |
…eb-Solution/proxy-ui into P0080-development
… is always generated
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.