Skip to content

Commit cbd1285

Browse files
Merge pull request #496 from shanmukhateja/feat-ng-11
Angular 11 support
2 parents 64461f8 + 8061b11 commit cbd1285

File tree

4 files changed

+25
-21
lines changed

4 files changed

+25
-21
lines changed

package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@
2222
},
2323
"private": true,
2424
"dependencies": {
25-
"@angular/animations": "10.2.4",
26-
"@angular/common": "10.2.4",
27-
"@angular/compiler": "10.2.4",
28-
"@angular/core": "10.2.4",
29-
"@angular/forms": "10.2.4",
30-
"@angular/platform-browser": "10.2.4",
31-
"@angular/platform-browser-dynamic": "10.2.4",
32-
"@angular/router": "10.2.4",
25+
"@angular/animations": "11.1.0",
26+
"@angular/common": "11.1.0",
27+
"@angular/compiler": "11.1.0",
28+
"@angular/core": "11.1.0",
29+
"@angular/forms": "11.1.0",
30+
"@angular/platform-browser": "11.1.0",
31+
"@angular/platform-browser-dynamic": "11.1.0",
32+
"@angular/router": "11.1.0",
3333
"@fortawesome/fontawesome-svg-core": "1.2.30",
3434
"@fortawesome/free-solid-svg-icons": "5.14.0",
3535
"@fortawesome/react-fontawesome": "0.1.11",
@@ -40,7 +40,7 @@
4040
"font-awesome": "4.7.0",
4141
"marked": "1.1.1",
4242
"ng-samurai": "2.0.5",
43-
"ngx-markdown": "9.1.1",
43+
"ngx-markdown": "11.0.1",
4444
"prism-themes": "1.4.0",
4545
"renamer": "2.0.1",
4646
"rxjs": "6.6.2",
@@ -49,11 +49,11 @@
4949
"zone.js": "0.10.3"
5050
},
5151
"devDependencies": {
52-
"@angular-devkit/build-angular": "0.1002.1",
52+
"@angular-devkit/build-angular": "0.1101.1",
5353
"@angular-devkit/build-ng-packagr": "0.1002.1",
54-
"@angular/cli": "10.2.1",
55-
"@angular/compiler-cli": "10.2.4",
56-
"@angular/language-service": "10.2.4",
54+
"@angular/cli": "11.1.1",
55+
"@angular/compiler-cli": "11.1.0",
56+
"@angular/language-service": "11.1.0",
5757
"@commitlint/cli": "9.1.1",
5858
"@commitlint/config-conventional": "9.1.1",
5959
"@fortawesome/fontawesome-free": "5.14.0",
@@ -74,12 +74,12 @@
7474
"jasmine-spec-reporter": "5.0.2",
7575
"jest": "26.4.0",
7676
"jest-preset-angular": "8.2.1",
77-
"karma": "5.1.1",
77+
"karma": "5.2.3",
7878
"karma-chrome-launcher": "3.1.0",
7979
"karma-coverage-istanbul-reporter": "3.0.3",
8080
"karma-jasmine": "3.3.1",
8181
"karma-jasmine-html-reporter": "1.5.4",
82-
"ng-packagr": "10.1.2",
82+
"ng-packagr": "11.1.2",
8383
"prettier": "2.0.5",
8484
"pretty-quick": "2.0.1",
8585
"protractor": "7.0.0",

projects/bulma-app/src/app/app-routing.module.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ const routes: Routes = [
5959
},
6060
{
6161
path: 'elements/table',
62-
loadChildren: () =>
63-
import('./table/table.module').then((table) => table.TableModule),
62+
loadChildren: () => import('./table/table.module').then((table) => table.TableModule),
6463
},
6564
{
6665
path: 'layout/container',
@@ -124,7 +123,12 @@ const routes: Routes = [
124123
];
125124

126125
@NgModule({
127-
imports: [RouterModule.forRoot(routes, { scrollPositionRestoration: 'top' })],
126+
imports: [
127+
RouterModule.forRoot(routes, {
128+
scrollPositionRestoration: 'top',
129+
relativeLinkResolution: 'legacy',
130+
}),
131+
],
128132
exports: [RouterModule],
129133
})
130134
export class AppRoutingModule {}

projects/bulma-app/src/app/app.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { async, TestBed } from '@angular/core/testing';
1+
import { TestBed, waitForAsync } from '@angular/core/testing';
22
import { RouterTestingModule } from '@angular/router/testing';
33
import { AppComponent } from './app.component';
44

projects/ngx-bulma/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"save": "dependencies"
77
},
88
"peerDependencies": {
9-
"@angular/common": "^8.2.7 || ^9.0.0",
10-
"@angular/core": "^8.2.7 || ^9.0.0"
9+
"@angular/common": "^11.1.0",
10+
"@angular/core": "^11.1.0"
1111
}
1212
}

0 commit comments

Comments
 (0)