Draft
Upgrade Angular 7 → 21, Nebular 3 → 17, modernize SSR#1
Conversation
Copilot
AI
changed the title
Upgrade Angular 7 → 21, Nebular 3 → 17, rewrite SSR, add proper README
Upgrade Angular 7 → 21, Nebular 3 → 17, modernize SSR
Jul 8, 2026
Copilot created this pull request from a session on behalf of
ehsanshrz
July 8, 2026 07:17
View session
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.
Project was on Angular 7 (2018) with a deprecated
@nguniversalSSR setup and a one-line README.Dependencies
@angular/*: 7 → 21.2.17;@nebular/theme: 3 → 17; TypeScript: 3.1 → 5.9; RxJS: 6 → 7.8; zone.js: 0.8 → 0.16@angular/ssr+express5; pinned@angular/cdkto~21.0.0(Nebular 17 uses internal CDK symbols removed in 21.2.x)@nguniversal/*,@angular/http,domino,core-js,tslint,phantomjs,protractor,webpack-cli,ts-loaderSSR
Replaced
@nguniversal/express-engine+ webpack bundle + domino window polyfills with the Angular-nativeCommonEngine:angular.jsonnow uses the unifiedapplicationbuilder (browser + server in one pass);webpack.server.config.jsdeleted.Angular 21 Breaking Changes
standalone: falseadded to all@Componentdecorators (Angular 19+ defaults to standalone)BrowserModule.withServerTransition()removed (dropped in v21) → plainBrowserModule'./sample/sample.module#SomePageModule') to dynamicimport()class Hero→interface Hero; strict-mode property initialization fixed across componentsmain.server.tsexportsAppServerModuleasdefault(required by Angular 17+ SSR bootstrap)Config
tsconfig.json: ES2022 target/module,moduleResolution: bundler, strict modetsconfig.app.json/tsconfig.spec.jsonadded (required by new builder)karma.conf.js:karma-coveragereplaces deprecatedkarma-coverage-istanbul-reporterREADME
Rewritten with setup steps, project structure, SSR architecture explanation, scripts reference, and dependency table.