Skip to content

Commit

Permalink
feat: angular version upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
udayvunnam committed Nov 28, 2020
1 parent 50dbf89 commit f9388b5
Show file tree
Hide file tree
Showing 7 changed files with 739 additions and 789 deletions.
4 changes: 0 additions & 4 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
Expand Down Expand Up @@ -196,7 +195,6 @@
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
Expand Down Expand Up @@ -309,7 +307,6 @@
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
Expand Down Expand Up @@ -388,7 +385,6 @@
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
Expand Down
4 changes: 3 additions & 1 deletion apps/breadcrumb-demo/src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ export const appRoutes: Routes = [
];

@NgModule({
imports: [RouterModule.forRoot(appRoutes)],
imports: [
RouterModule.forRoot(appRoutes, { relativeLinkResolution: 'legacy' }),
],
exports: [RouterModule],
})
export class AppRoutingModule {}
2 changes: 1 addition & 1 deletion apps/demo/src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const routes: Routes = [
];

@NgModule({
imports: [RouterModule.forRoot(routes)],
imports: [RouterModule.forRoot(routes, { relativeLinkResolution: 'legacy' })],
exports: [RouterModule],
})
export class AppRoutingModule {}
7 changes: 6 additions & 1 deletion apps/got-demo/src/app/app.routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,12 @@ export const appRoutes: Routes = [
];

@NgModule({
imports: [RouterModule.forRoot(appRoutes, { initialNavigation: 'enabled' })],
imports: [
RouterModule.forRoot(appRoutes, {
initialNavigation: 'enabled',
relativeLinkResolution: 'legacy',
}),
],
exports: [RouterModule],
})
export class AppRoutingModule {}
Expand Down
4 changes: 3 additions & 1 deletion apps/simple-demo/src/app/app.routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ export const appRoutes: Routes = [
];

@NgModule({
imports: [RouterModule.forRoot(appRoutes)],
imports: [
RouterModule.forRoot(appRoutes, { relativeLinkResolution: 'legacy' }),
],
exports: [RouterModule],
})
export class AppRoutingModule {}
31 changes: 15 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,17 @@
},
"private": true,
"dependencies": {
"@angular/animations": "^10.1.0",
"@angular/animations": "^11.0.2",
"@angular/cdk": "^10.1.0",
"@angular/common": "^10.1.0",
"@angular/compiler": "^10.1.0",
"@angular/core": "^10.1.0",
"@angular/common": "^11.0.2",
"@angular/compiler": "^11.0.2",
"@angular/core": "^11.0.2",
"@angular/flex-layout": "^10.0.0-beta.32",
"@angular/forms": "^10.1.0",
"@angular/forms": "^11.0.2",
"@angular/material": "^10.1.0",
"@angular/platform-browser": "^10.1.0",
"@angular/platform-browser-dynamic": "^10.1.0",
"@angular/router": "^10.1.0",
"@angular/platform-browser": "^11.0.2",
"@angular/platform-browser-dynamic": "^11.0.2",
"@angular/router": "^11.0.2",
"@nrwl/angular": "10.4.0",
"angular-in-memory-web-api": "^0.11.0",
"faker": "^4.1.0",
Expand All @@ -54,11 +54,10 @@
"zone.js": "^0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.1001.3",
"@angular-devkit/build-ng-packagr": "0.1000.8",
"@angular/cli": "~10.1.3",
"@angular/compiler-cli": "^10.1.0",
"@angular/language-service": "^10.1.0",
"@angular-devkit/build-angular": "~0.1100.2",
"@angular/cli": "~11.0.2",
"@angular/compiler-cli": "^11.0.2",
"@angular/language-service": "^11.0.2",
"@commitlint/cli": "^9.1.2",
"@commitlint/config-conventional": "^9.1.2",
"@nrwl/cli": "10.3.0",
Expand All @@ -71,7 +70,7 @@
"@types/node": "~8.9.4",
"@typescript-eslint/eslint-plugin": "4.3.0",
"@typescript-eslint/parser": "4.3.0",
"codelyzer": "~5.0.1",
"codelyzer": "^6.0.0",
"cypress": "^4.1.0",
"danger": "^10.2.1",
"dotenv": "6.2.0",
Expand All @@ -83,14 +82,14 @@
"jest-preset-angular": "8.3.1",
"minimist": "^1.2.5",
"netlify": "^4.3.8",
"ng-packagr": "^10.1.0",
"ng-packagr": "^11.0.3",
"npm-run-all": "^4.1.5",
"prettier": "2.1.2",
"pretty-quick": "^2.0.1",
"standard-version": "^8.0.2",
"ts-jest": "26.4.0",
"ts-node": "~7.0.0",
"tslint": "~6.0.0",
"tslint": "~6.1.3",
"typescript": "~4.0.3"
}
}
Loading

0 comments on commit f9388b5

Please sign in to comment.