Skip to content

Commit 89f345d

Browse files
committed
refactor: upgrade to Angular 5.0
2 parents ec712dd + 59beccc commit 89f345d

34 files changed

+1202
-3642
lines changed

.angular-cli.json

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,31 @@
2727
"dev": "environments/environment.ts",
2828
"prod": "environments/environment.prod.ts"
2929
}
30+
},
31+
{
32+
"name": "ssr",
33+
"root": "src",
34+
"outDir": "dist-ssr",
35+
"assets": [
36+
"assets",
37+
"favicon.ico"
38+
],
39+
"index": "index.html",
40+
"main": "main.server.ts",
41+
"test": "test.ts",
42+
"tsconfig": "tsconfig.server.json",
43+
"testTsconfig": "tsconfig.spec.json",
44+
"prefix": "app",
45+
"styles": [
46+
"styles.css"
47+
],
48+
"scripts": [],
49+
"environmentSource": "environments/environment.ts",
50+
"environments": {
51+
"dev": "environments/environment.ts",
52+
"prod": "environments/environment.prod.ts"
53+
},
54+
"platform": "server"
3055
}
3156
],
3257
"e2e": {
@@ -36,13 +61,16 @@
3661
},
3762
"lint": [
3863
{
39-
"project": "src/tsconfig.app.json"
64+
"project": "src/tsconfig.app.json",
65+
"exclude": "**/node_modules/**"
4066
},
4167
{
42-
"project": "src/tsconfig.spec.json"
68+
"project": "src/tsconfig.spec.json",
69+
"exclude": "**/node_modules/**"
4370
},
4471
{
45-
"project": "e2e/tsconfig.e2e.json"
72+
"project": "e2e/tsconfig.e2e.json",
73+
"exclude": "**/node_modules/**"
4674
}
4775
],
4876
"test": {

.editorconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Editor configuration, see http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
indent_style = space
7+
indent_size = 2
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
max_line_length = off
13+
trim_trailing_whitespace = false

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,3 @@ testem.log
4040
# System Files
4141
.DS_Store
4242
Thumbs.db
43-
44-
coverage

dist-ssr/.gitkeep

Whitespace-only changes.

dist-ssr/assets/contacts.json

Lines changed: 0 additions & 92 deletions
This file was deleted.

dist-ssr/assets/images/Iverson.jpg

-15.6 KB
Binary file not shown.

dist-ssr/assets/images/add.png

-88 Bytes
Binary file not shown.

dist-ssr/assets/images/back.png

-151 Bytes
Binary file not shown.

dist-ssr/assets/images/collect.png

-669 Bytes
Binary file not shown.

dist-ssr/assets/images/collected.png

-475 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)