Skip to content

Commit 4dca596

Browse files
committed
fix(demo): updated the demo apps
1 parent 6deecef commit 4dca596

File tree

11 files changed

+1156
-1938
lines changed

11 files changed

+1156
-1938
lines changed

demo/browserslist

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2+
# For additional information regarding the format and rule options, please see:
3+
# https://github.com/browserslist/browserslist#queries
4+
5+
# You can see what browsers were selected by your queries by running:
6+
# npx browserslist
7+
8+
> 0.5%
9+
last 2 versions
10+
Firefox ESR
11+
not dead
12+
not IE 9-11 # For IE 9-11 support, remove 'not'.

demo/package-lock.json

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

demo/package.json

Lines changed: 26 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -29,51 +29,50 @@
2929
"dependencies": {
3030
"@angular-material-extensions/jumbotron": "^1.0.1",
3131
"@angular-material-extensions/pages": "^2.1.0",
32-
"@angular/animations": "7.2.15",
32+
"@angular/animations": "8.0.0",
3333
"@angular/cdk": "^7.3.7",
34-
"@angular/common": "7.2.15",
35-
"@angular/compiler": "7.2.15",
36-
"@angular/core": "7.2.15",
37-
"@angular/flex-layout": "^7.0.0-beta.24",
38-
"@angular/forms": "7.2.15",
39-
"@angular/http": "7.2.15",
34+
"@angular/common": "8.0.0",
35+
"@angular/compiler": "8.0.0",
36+
"@angular/core": "8.0.0",
37+
"@angular/flex-layout": "^8.0.0-beta.26",
38+
"@angular/forms": "8.0.0",
4039
"@angular/material": "^7.3.7",
41-
"@angular/platform-browser": "7.2.12",
42-
"@angular/platform-browser-dynamic": "7.2.15",
43-
"@angular/platform-server": "7.2.15",
44-
"@angular/router": "7.2.15",
45-
"@angular/service-worker": "7.2.15",
46-
"@ng-bootstrap/ng-bootstrap": "^4.1.3",
40+
"@angular/platform-browser": "8.0.0",
41+
"@angular/platform-browser-dynamic": "8.0.0",
42+
"@angular/platform-server": "8.0.0",
43+
"@angular/router": "8.0.0",
44+
"@angular/service-worker": "8.0.0",
45+
"@ng-bootstrap/ng-bootstrap": "^4.2.0",
4746
"@ngx-translate/core": "^11.0.1",
4847
"@ngx-translate/http-loader": "^4.0.0",
4948
"bootstrap": "^4.3.1",
50-
"core-js": "^2.6.7",
49+
"core-js": "^2.6.9",
5150
"font-awesome": "^4.7.0",
5251
"hammerjs": "^2.0.8",
53-
"highlight.js": "^9.15.6",
52+
"highlight.js": "^9.15.8",
5453
"include-media": "^1.4.9",
5554
"material-design-icons": "^3.0.1",
56-
"ngx-clipboard": "^11.1.9",
55+
"ngx-clipboard": "^12.1.0",
5756
"ngx-disqus": "^2.4.3",
5857
"ngx-highlightjs": "^3.0.3",
59-
"ngx-markdown": "^7.1.4",
58+
"ngx-markdown": "^8.0.2",
6059
"rxjs": "^6.5.2",
6160
"rxjs-compat": "^6.5.2",
62-
"zone.js": "^0.8.27"
61+
"zone.js": "~0.9.1"
6362
},
6463
"devDependencies": {
65-
"@angular-devkit/build-angular": "^0.13.9",
66-
"@angular/cli": "^7.3.9",
67-
"@angular/compiler-cli": "7.2.15",
68-
"@angular/language-service": "7.2.15",
64+
"@angular-devkit/build-angular": "~0.800.0",
65+
"@angular/cli": "^8.0.1",
66+
"@angular/compiler-cli": "8.0.0",
67+
"@angular/language-service": "8.0.0",
6968
"@angularclass/hmr": "~2.1.3",
7069
"@nguniversal/express-engine": "^7.1.1",
7170
"@nguniversal/module-map-ngfactory-loader": "^7.1.1",
72-
"@types/jasmine": "^3.3.12",
71+
"@types/jasmine": "^3.3.13",
7372
"@types/jasminewd2": "^2.0.6",
74-
"@types/node": "^10.14.7",
75-
"codelyzer": "^4.5.0",
76-
"express": "^4.17.0",
73+
"@types/node": "^10.14.8",
74+
"codelyzer": "^5.0.1",
75+
"express": "^4.17.1",
7776
"jasmine-core": "~3.3.0",
7877
"jasmine-spec-reporter": "~4.2.1",
7978
"karma": "^3.1.4",
@@ -87,7 +86,7 @@
8786
"ts-loader": "^5.4.5",
8887
"ts-node": "^7.0.1",
8988
"tslint": "~5.16.0",
90-
"typescript": "~3.2.4",
89+
"typescript": "~3.4.5",
9190
"webpack-cli": "^3.3.2",
9291
"webpack-node-externals": "~1.7.2"
9392
}

demo/src/app/app-routing.module.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {NgModule} from '@angular/core';
2-
import {Routes, RouterModule} from '@angular/router';
2+
import {RouterModule, Routes} from '@angular/router';
33

44
const routes: Routes = [
55
{
@@ -9,11 +9,11 @@ const routes: Routes = [
99
},
1010
{
1111
path: 'getting-started',
12-
loadChildren: 'app/getting-started/getting-started.module#GettingStartedModule'
12+
loadChildren: () => import('app/getting-started/getting-started.module').then(m => m.GettingStartedModule)
1313
},
1414
{
1515
path: 'examples',
16-
loadChildren: 'app/examples/examples.module#ExamplesModule'
16+
loadChildren: () => import('app/examples/examples.module').then(m => m.ExamplesModule)
1717
}];
1818

1919
@NgModule({

demo/src/app/home/home.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {MatPasswordStrengthComponent} from '@angular-material-extensions/passwor
1111
})
1212
export class HomeComponent implements OnInit {
1313

14-
@ViewChild('passwordComponentWithConfirmation')
14+
@ViewChild('passwordComponentWithConfirmation', { static: true })
1515
passwordComponentWithConfirmation: MatPasswordStrengthComponent;
1616

1717
constructor(private titleService: Title) {

demo/src/tsconfig.app.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"compilerOptions": {
44
"outDir": "../out-tsc/app",
55
"baseUrl": "./",
6-
"module": "es2015",
76
"types": [],
87
"paths": {
98
"@angular/*": ["../node_modules/@angular/*"]

demo/src/tsconfig.spec.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
"compilerOptions": {
44
"outDir": "../out-tsc/spec",
55
"baseUrl": "./",
6-
"module": "commonjs",
7-
"target": "es5",
86
"types": [
97
"jasmine",
108
"node"

demo/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
22
"compileOnSave": false,
33
"compilerOptions": {
4+
"module": "esnext",
45
"outDir": "./dist/out-tsc",
56
"sourceMap": true,
67
"declaration": false,
78
"moduleResolution": "node",
89
"emitDecoratorMetadata": true,
910
"experimentalDecorators": true,
10-
"target": "es5",
11+
"target": "es2015",
1112
"typeRoots": [
1213
"node_modules/@types"
1314
],

demo/tslint.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,12 @@
129129
"kebab-case"
130130
],
131131
"no-output-on-prefix": true,
132-
"use-input-property-decorator": true,
133-
"use-output-property-decorator": true,
134-
"use-host-property-decorator": true,
132+
"no-inputs-metadata-property": true,
133+
"no-outputs-metadata-property": true,
134+
"no-host-metadata-property": true,
135135
"no-input-rename": true,
136136
"no-output-rename": true,
137-
"use-life-cycle-interface": true,
137+
"use-lifecycle-interface": true,
138138
"use-pipe-transform-interface": true,
139139
"component-class-suffix": true,
140140
"directive-class-suffix": true

demo2/package-lock.json

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

demo2/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
},
1212
"private": true,
1313
"dependencies": {
14-
"@angular-material-extensions/password-strength": "^3.8.1",
1514
"@angular/animations": "~8.0.0",
1615
"@angular/cdk": "~7.3.7",
1716
"@angular/common": "~8.0.0",
1817
"@angular/compiler": "~8.0.0",
1918
"@angular/core": "~8.0.0",
19+
"@angular/flex-layout": "^8.0.0-beta.26",
2020
"@angular/forms": "~8.0.0",
2121
"@angular/material": "~7.3.7",
2222
"@angular/platform-browser": "~8.0.0",

0 commit comments

Comments
 (0)