Skip to content
This repository was archived by the owner on May 9, 2025. It is now read-only.

Commit c2f9b0b

Browse files
part 3 is current
1 parent 3fe7c5f commit c2f9b0b

File tree

126 files changed

+18052
-5208
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+18052
-5208
lines changed

.editorconfig

100644100755
File mode changed.

.firebaserc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"projects": {
3+
"default": "angularblog-267d7"
4+
}
5+
}

.gitignore

100644100755
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,9 @@ testem.log
4040
# System files
4141
.DS_Store
4242
Thumbs.db
43+
44+
# Firebase
45+
.firebase
46+
*-debug.log
47+
.runtimeconfig.json
48+
adminSdkConf.json

.vscode/extensions.json

100644100755
File mode changed.

.vscode/launch.json

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
33
"version": "0.2.0",
44
"configurations": [
5+
56
{
67
"name": "ng serve",
78
"type": "chrome",

.vscode/tasks.json

100644100755
File mode changed.

README.md

100644100755
File mode changed.

angular.json

100644100755
Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": 1,
44
"newProjectRoot": "projects",
55
"projects": {
6-
"AngularBlogApp": {
6+
"angularblogapp": {
77
"projectType": "application",
88
"schematics": {
99
"@schematics/angular:component": {
@@ -20,6 +20,9 @@
2020
"outputPath": "dist/angular-blog-app",
2121
"index": "src/index.html",
2222
"browser": "src/main.ts",
23+
"allowedCommonJsDependencies": [
24+
"highlight.js"
25+
],
2326
"polyfills": [
2427
"zone.js"
2528
],
@@ -36,7 +39,10 @@
3639
],
3740
"scripts": [],
3841
"server": "src/main.server.ts",
39-
"prerender": true,
42+
"prerender":
43+
{
44+
"routesFile": "routes.txt"
45+
},
4046
"ssr": {
4147
"entry": "server.ts"
4248
}
@@ -60,7 +66,13 @@
6066
"development": {
6167
"optimization": false,
6268
"extractLicenses": false,
63-
"sourceMap": true
69+
"sourceMap": true,
70+
"fileReplacements": [
71+
{
72+
"replace": "src/environments/environment.ts",
73+
"with": "src/environments/environment.development.ts"
74+
}
75+
]
6476
}
6577
},
6678
"defaultConfiguration": "production"
@@ -69,10 +81,10 @@
6981
"builder": "@angular-devkit/build-angular:dev-server",
7082
"configurations": {
7183
"production": {
72-
"buildTarget": "AngularBlogApp:build:production"
84+
"buildTarget": "angularblogapp:build:production"
7385
},
7486
"development": {
75-
"buildTarget": "AngularBlogApp:build:development"
87+
"buildTarget": "angularblogapp:build:development"
7688
}
7789
},
7890
"defaultConfiguration": "development"
@@ -103,5 +115,8 @@
103115
}
104116
}
105117
}
118+
},
119+
"cli": {
120+
"analytics": "f7fe95f7-84ab-47b5-8c91-01a9d9068465"
106121
}
107122
}

firebase.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"functions": [
3+
{
4+
"source": "functions",
5+
"codebase": "default",
6+
"ignore": [
7+
"node_modules",
8+
".git",
9+
"firebase-debug.log",
10+
"firebase-debug.*.log",
11+
"*.local"
12+
],
13+
"predeploy": [
14+
"npm --prefix \"$RESOURCE_DIR\" run build"
15+
]
16+
}
17+
]
18+
}

functions/.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Compiled JavaScript files
2+
lib/**/*.js
3+
lib/**/*.js.map
4+
5+
# TypeScript v1 declaration files
6+
typings/
7+
8+
# Node.js dependency directory
9+
node_modules/
10+
*.local

0 commit comments

Comments
 (0)