Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit f7f5e33

Browse files
authored
chore: Bump dependencies (#2008)
1 parent 7fad67a commit f7f5e33

File tree

7 files changed

+606
-554
lines changed

7 files changed

+606
-554
lines changed

demos/package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,25 @@
1010
},
1111
"private": true,
1212
"dependencies": {
13-
"@angular/common": "~8.2.3",
14-
"@angular/compiler": "~8.2.3",
15-
"@angular/core": "~8.2.3",
16-
"@angular/forms": "~8.2.3",
17-
"@angular/platform-browser": "~8.2.3",
18-
"@angular/platform-browser-dynamic": "~8.2.3",
19-
"@angular/router": "^8.2.3",
20-
"rxjs": "~6.5.2",
13+
"@angular/common": "~8.2.6",
14+
"@angular/compiler": "~8.2.6",
15+
"@angular/core": "~8.2.6",
16+
"@angular/forms": "~8.2.6",
17+
"@angular/platform-browser": "~8.2.6",
18+
"@angular/platform-browser-dynamic": "~8.2.6",
19+
"@angular/router": "^8.2.6",
20+
"rxjs": "~6.5.3",
2121
"tslib": "^1.10.0",
2222
"zone.js": "~0.9.1"
2323
},
2424
"devDependencies": {
25-
"@angular-devkit/build-angular": "^0.803.0",
26-
"@angular/cli": "^8.3.0",
27-
"@angular/compiler-cli": "~8.2.3",
28-
"@types/node": "^12.7.2",
25+
"@angular-devkit/build-angular": "^0.803.4",
26+
"@angular/cli": "^8.3.4",
27+
"@angular/compiler-cli": "~8.2.6",
28+
"@types/node": "^12.7.5",
2929
"highlight.js": "^9.15.10",
3030
"ngx-highlightjs": "^3.0.3",
31-
"ts-node": "^8.3.0",
31+
"ts-node": "^8.4.1",
3232
"tslint": "~5.18.0",
3333
"typescript": "<3.6.0"
3434
}

demos/src/app/app.module.ts

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,26 @@
1-
import { NgModule } from '@angular/core';
2-
import { BrowserModule } from '@angular/platform-browser';
3-
import { HttpClientModule } from '@angular/common/http';
4-
import { APP_BASE_HREF } from '@angular/common';
1+
import {NgModule} from '@angular/core';
2+
import {BrowserModule} from '@angular/platform-browser';
3+
import {HttpClientModule} from '@angular/common/http';
4+
import {APP_BASE_HREF} from '@angular/common';
55

6-
import { environment } from '../environments/environment';
7-
import { SharedModule } from './shared.module';
8-
import { AppComponent } from './app.component';
9-
import { AppRoutingModule, DEMO_DECLARATIONS } from './app-routing.module';
6+
import {environment} from '../environments/environment';
7+
import {SharedModule} from './shared.module';
8+
import {AppComponent} from './app.component';
9+
import {AppRoutingModule, DEMO_DECLARATIONS} from './app-routing.module';
1010

11-
import { HighlightModule } from 'ngx-highlightjs';
11+
import {HighlightModule} from 'ngx-highlightjs';
1212

1313
import typescript from 'highlight.js/lib/languages/typescript';
1414
import scss from 'highlight.js/lib/languages/scss';
1515
import xml from 'highlight.js/lib/languages/xml';
16+
import shell from 'highlight.js/lib/languages/shell';
1617

1718
export function hljsLanguages() {
1819
return [
19-
{ name: 'typescript', func: typescript },
20-
{ name: 'scss', func: scss },
21-
{ name: 'xml', func: xml }
20+
{name: 'typescript', func: typescript},
21+
{name: 'scss', func: scss},
22+
{name: 'shell', func: shell},
23+
{name: 'xml', func: xml}
2224
];
2325
}
2426

@@ -28,13 +30,13 @@ export function hljsLanguages() {
2830
HttpClientModule,
2931
AppRoutingModule,
3032
SharedModule,
31-
HighlightModule.forRoot({ languages: hljsLanguages })
33+
HighlightModule.forRoot({languages: hljsLanguages})
3234
],
3335
declarations: [
3436
AppComponent,
3537
DEMO_DECLARATIONS
3638
],
37-
providers: [{ provide: APP_BASE_HREF, useValue: environment.production ? '/angular-mdc-web/' : '/' }],
39+
providers: [{provide: APP_BASE_HREF, useValue: environment.production ? '/angular-mdc-web/' : '/'}],
3840
bootstrap: [AppComponent]
3941
})
40-
export class AppModule { }
42+
export class AppModule {}

demos/src/app/getting-started/getting-started.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ <h1 class="demo-panel-title">Getting started</h1>
66
<p>For existing apps, follow these steps to begin using Angular MDC.</p>
77
<h2 class="demo-panel-references">Step 1: Install Angular MDC</h2>
88
<h4>npm</h4>
9-
<pre><code [highlight]="npmCmd"></code></pre>
9+
<pre><code [highlight]="npmCmd" [languages]="langShell"></code></pre>
1010

1111
<h4>yarn</h4>
12-
<pre><code [highlight]="yarnCmd"></code></pre>
12+
<pre><code [highlight]="yarnCmd" [languages]="langShell"></code></pre>
1313

1414
<h2 class="demo-panel-references">Step 2: Use Roboto font</h2>
1515
To get started, first include the Roboto font with the 300, 400 and 500

demos/src/app/getting-started/getting-started.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
import { Component } from '@angular/core';
1+
import {Component} from '@angular/core';
22

33
@Component({
44
templateUrl: './getting-started.html'
55
})
66
export class GettingStarted {
7+
langShell = ['shell'];
78
npmCmd = `npm i @angular-mdc/web`;
89
yarnCmd = `yarn add @angular-mdc/web`;
910
materialIconsLink = `<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">`;

0 commit comments

Comments
 (0)