Skip to content

Commit

Permalink
firebase tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
duluca committed Nov 5, 2023
1 parent 7004cc1 commit e9748d0
Show file tree
Hide file tree
Showing 20 changed files with 4,915 additions and 10,379 deletions.
9 changes: 9 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
{
"targets": {
"lemon-mart-007": {
"hosting": {
"lemon-mart": [
"lemon-mart-007"
]
}
}
},
"projects": {
"default": "lemon-mart-007"
}
Expand Down
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,13 @@ testem.log
.DS_Store
Thumbs.db

# Firebase
.firebase
*-debug.log
.runtimeconfig.json

.env
cache
.firebase
*.tar**
cypress/videos
cypress/screenshots
Expand Down
33 changes: 20 additions & 13 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,6 @@
"namedChunks": true
},
"lemon-mart-server": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.lemon-mart-server.ts"
}
],

"budgets": [
{
"type": "initial",
Expand All @@ -99,16 +92,16 @@
"maximumWarning": "6kb",
"maximumError": "10kb"
}
]
},
"firebase": {
],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.firebase.ts"
"with": "src/environments/environment.lemon-mart-server.ts"
}
],

"outputHashing": "all"
},
"firebase": {
"budgets": [
{
"type": "initial",
Expand All @@ -120,7 +113,14 @@
"maximumWarning": "6kb",
"maximumError": "10kb"
}
]
],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.firebase.ts"
}
],
"outputHashing": "all"
}
},
"defaultConfiguration": "production"
Expand Down Expand Up @@ -230,6 +230,13 @@
"devServerTarget": "lemon-mart:serve:development"
}
}
},
"deploy": {
"builder": "@angular/fire:deploy",
"options": {
"version": 2,
"browserTarget": "lemon-mart:build:firebase"
}
}
}
},
Expand Down
1 change: 1 addition & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"hosting": {
"target": "lemon-mart",
"public": "dist/lemon-mart",
"ignore": [
"firebase.json",
Expand Down
Loading

0 comments on commit e9748d0

Please sign in to comment.