Skip to content

Commit 766cf9f

Browse files
committed
bump to angular 11
1 parent 626f2f0 commit 766cf9f

11 files changed

Lines changed: 1652 additions & 1190 deletions

package-lock.json

Lines changed: 1620 additions & 1158 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
},
1818
"private": true,
1919
"dependencies": {
20-
"@angular/animations": "10.0.4",
21-
"@angular/common": "10.0.4",
22-
"@angular/compiler": "10.0.4",
23-
"@angular/core": "10.0.4",
24-
"@angular/forms": "10.0.4",
25-
"@angular/platform-browser": "10.0.4",
26-
"@angular/platform-browser-dynamic": "10.0.4",
27-
"@angular/router": "10.0.4",
20+
"@angular/animations": "11.0.2",
21+
"@angular/common": "11.0.2",
22+
"@angular/compiler": "11.0.2",
23+
"@angular/core": "11.0.2",
24+
"@angular/forms": "11.0.2",
25+
"@angular/platform-browser": "11.0.2",
26+
"@angular/platform-browser-dynamic": "11.0.2",
27+
"@angular/router": "11.0.2",
2828
"@notiz/ngx-design": "0.0.26",
2929
"@scullyio/init": "1.0.1",
3030
"@scullyio/ng-lib": "1.0.0",
@@ -34,10 +34,10 @@
3434
"zone.js": "0.10.3"
3535
},
3636
"devDependencies": {
37-
"@angular-devkit/build-angular": "0.1000.3",
38-
"@angular/cli": "10.0.3",
39-
"@angular/compiler-cli": "10.0.4",
40-
"@angular/language-service": "10.0.4",
37+
"@angular-devkit/build-angular": "0.1100.2",
38+
"@angular/cli": "11.0.2",
39+
"@angular/compiler-cli": "11.0.2",
40+
"@angular/language-service": "11.0.2",
4141
"@notiz/scully-plugin-fouc": "file:plugins/fouc",
4242
"@notiz/scully-plugin-lazy-images": "file:plugins/lazy-images",
4343
"@notiz/scully-plugin-medium-zoom": "file:plugins/medium-zoom",
@@ -49,7 +49,7 @@
4949
"codelyzer": "5.2.2",
5050
"jasmine-core": "3.5.0",
5151
"jasmine-spec-reporter": "5.0.1",
52-
"karma": "4.4.1",
52+
"karma": "5.1.1",
5353
"karma-chrome-launcher": "3.1.0",
5454
"karma-coverage-istanbul-reporter": "2.1.1",
5555
"karma-jasmine": "3.1.1",
@@ -60,10 +60,10 @@
6060
"postcss-loader": "4.1.0",
6161
"postcss-scss": "3.0.4",
6262
"prettier": "2.0.5",
63-
"protractor": "5.4.3",
63+
"protractor": "7.0.0",
6464
"tailwindcss": "~2.0.1",
6565
"ts-node": "8.8.2",
6666
"tslint": "6.1.2",
67-
"typescript": "3.9.7"
67+
"typescript": "4.0.5"
6868
}
6969
}

src/app/app-routing.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const routes: Routes = [
1818
];
1919

2020
@NgModule({
21-
imports: [RouterModule.forRoot(routes)],
21+
imports: [RouterModule.forRoot(routes, { relativeLinkResolution: 'legacy' })],
2222
exports: [RouterModule]
2323
})
2424
export class AppRoutingModule {}

src/app/app.component.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import { TestBed, async } 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

55
describe('AppComponent', () => {
6-
beforeEach(async(() => {
6+
beforeEach(waitForAsync(() => {
77
TestBed.configureTestingModule({
88
imports: [RouterTestingModule],
99
declarations: [AppComponent]

src/app/blog/blog.component.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
1+
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
22

33
import { BlogComponent } from './Blog.component';
44

55
describe('BlogComponent', () => {
66
let component: BlogComponent;
77
let fixture: ComponentFixture<BlogComponent>;
88

9-
beforeEach(async(() => {
9+
beforeEach(waitForAsync(() => {
1010
TestBed.configureTestingModule({
1111
declarations: [ BlogComponent ]
1212
})

src/app/components/card/card.component.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
1+
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
22

33
import { CardComponent } from './card.component';
44

55
describe('CardComponent', () => {
66
let component: CardComponent;
77
let fixture: ComponentFixture<CardComponent>;
88

9-
beforeEach(async(() => {
9+
beforeEach(waitForAsync(() => {
1010
TestBed.configureTestingModule({
1111
declarations: [ CardComponent ]
1212
})

src/app/components/seo/seo.component.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
1+
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
22

33
import { SeoComponent } from './seo.component';
44

55
describe('SeoComponent', () => {
66
let component: SeoComponent;
77
let fixture: ComponentFixture<SeoComponent>;
88

9-
beforeEach(async(() => {
9+
beforeEach(waitForAsync(() => {
1010
TestBed.configureTestingModule({
1111
declarations: [ SeoComponent ]
1212
})

src/app/components/sidebar/sidebar.component.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
1+
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
22

33
import { SidebarComponent } from './sidebar.component';
44

55
describe('SidebarComponent', () => {
66
let component: SidebarComponent;
77
let fixture: ComponentFixture<SidebarComponent>;
88

9-
beforeEach(async(() => {
9+
beforeEach(waitForAsync(() => {
1010
TestBed.configureTestingModule({
1111
declarations: [ SidebarComponent ]
1212
})

src/app/doc/doc.component.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
1+
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
22

33
import { DocComponent } from './doc.component';
44

55
describe('DocComponent', () => {
66
let component: DocComponent;
77
let fixture: ComponentFixture<DocComponent>;
88

9-
beforeEach(async(() => {
9+
beforeEach(waitForAsync(() => {
1010
TestBed.configureTestingModule({
1111
declarations: [ DocComponent ]
1212
})

src/app/docs/docs.component.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
1+
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
22

33
import { DocsComponent } from './docs.component';
44

55
describe('DocsComponent', () => {
66
let component: DocsComponent;
77
let fixture: ComponentFixture<DocsComponent>;
88

9-
beforeEach(async(() => {
9+
beforeEach(waitForAsync(() => {
1010
TestBed.configureTestingModule({
1111
declarations: [ DocsComponent ]
1212
})

0 commit comments

Comments
 (0)