Add branding configuration and assets for Sepehr tenant
Production CI / validate-and-build (push) Failing after 1m2s
Production CI / validate-and-build (push) Failing after 1m2s
- Created branding.config.ts to define branding settings including app title, support contact information, and working hours. - Added brandingAssets.ts to import and export logo and login images for the Sepehr tenant. - Introduced config.ts to specify application type as POS for the Sepehr tenant.
This commit is contained in:
+61
-10
@@ -81,6 +81,54 @@
|
||||
"outputHashing": "all",
|
||||
"outputPath": "dist/production"
|
||||
},
|
||||
"sepehr": {
|
||||
"assets": [
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "public-sepehr"
|
||||
}
|
||||
],
|
||||
"budgets": [
|
||||
{
|
||||
"maximumError": "3MB",
|
||||
"maximumWarning": "2MB",
|
||||
"type": "initial"
|
||||
},
|
||||
{
|
||||
"maximumError": "8kB",
|
||||
"maximumWarning": "4kB",
|
||||
"type": "anyComponentStyle"
|
||||
}
|
||||
],
|
||||
"fileReplacements": [
|
||||
{
|
||||
"replace": "src/config.ts",
|
||||
"with": "src/tenants/sepehr/config.ts"
|
||||
},
|
||||
{
|
||||
"replace": "src/assets/images/brandingAssets.ts",
|
||||
"with": "src/tenants/sepehr/brandingAssets.ts"
|
||||
},
|
||||
{
|
||||
"replace": "src/environments/environment.ts",
|
||||
"with": "src/environments/environment.sepehr.ts"
|
||||
},
|
||||
{
|
||||
"replace": "src/app.routes.ts",
|
||||
"with": "src/tenants/sepehr/app.routes.ts"
|
||||
},
|
||||
{
|
||||
"replace": "src/app/branding/branding.config.ts",
|
||||
"with": "src/tenants/sepehr/branding.config.ts"
|
||||
}
|
||||
],
|
||||
"outputHashing": "all",
|
||||
"outputPath": "dist/sepehr",
|
||||
"styles": [
|
||||
"src/assets/styles.scss",
|
||||
"src/assets/psp.scss"
|
||||
]
|
||||
},
|
||||
"staging": {
|
||||
"extractLicenses": true,
|
||||
"fileReplacements": [
|
||||
@@ -100,10 +148,6 @@
|
||||
"input": "public-tis"
|
||||
}
|
||||
],
|
||||
"styles": [
|
||||
"src/assets/styles.scss",
|
||||
"src/assets/psp.scss"
|
||||
],
|
||||
"budgets": [
|
||||
{
|
||||
"maximumError": "3MB",
|
||||
@@ -139,7 +183,11 @@
|
||||
}
|
||||
],
|
||||
"outputHashing": "all",
|
||||
"outputPath": "dist/tis"
|
||||
"outputPath": "dist/tis",
|
||||
"styles": [
|
||||
"src/assets/styles.scss",
|
||||
"src/assets/psp.scss"
|
||||
]
|
||||
},
|
||||
"tis-development": {
|
||||
"assets": [
|
||||
@@ -148,10 +196,6 @@
|
||||
"input": "public-tis"
|
||||
}
|
||||
],
|
||||
"styles": [
|
||||
"src/assets/styles.scss",
|
||||
"src/assets/psp.scss"
|
||||
],
|
||||
"budgets": [
|
||||
{
|
||||
"maximumError": "2.5MB",
|
||||
@@ -190,7 +234,11 @@
|
||||
"optimization": false,
|
||||
"outputHashing": "all",
|
||||
"outputPath": "dist/tis",
|
||||
"sourceMap": true
|
||||
"sourceMap": true,
|
||||
"styles": [
|
||||
"src/assets/styles.scss",
|
||||
"src/assets/psp.scss"
|
||||
]
|
||||
}
|
||||
},
|
||||
"defaultConfiguration": "production",
|
||||
@@ -233,6 +281,9 @@
|
||||
"production": {
|
||||
"buildTarget": "pos.client:build:production"
|
||||
},
|
||||
"sepehr": {
|
||||
"buildTarget": "pos.client:build:sepehr"
|
||||
},
|
||||
"staging": {
|
||||
"buildTarget": "pos.client:build:staging"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user