parent
2d42549967
commit
9623a363ed
30
apps/client/ngsw-config.json
Normal file
30
apps/client/ngsw-config.json
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{
|
||||||
|
"$schema": "../../node_modules/@angular/service-worker/config/schema.json",
|
||||||
|
"index": "/index.html",
|
||||||
|
"assetGroups": [
|
||||||
|
{
|
||||||
|
"name": "app",
|
||||||
|
"installMode": "prefetch",
|
||||||
|
"resources": {
|
||||||
|
"files": [
|
||||||
|
"/favicon.ico",
|
||||||
|
"/index.html",
|
||||||
|
"/assets/site.webmanifest",
|
||||||
|
"/*.css",
|
||||||
|
"/*.js"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "assets",
|
||||||
|
"installMode": "lazy",
|
||||||
|
"updateMode": "prefetch",
|
||||||
|
"resources": {
|
||||||
|
"files": [
|
||||||
|
"/assets/**",
|
||||||
|
"/*.(svg|cur|jpg|jpeg|png|apng|webp|avif|gif|otf|ttf|woff|woff2)"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
"name": "client",
|
||||||
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
||||||
"projectType": "application",
|
"projectType": "application",
|
||||||
"generators": {
|
"generators": {
|
||||||
@ -43,6 +44,11 @@
|
|||||||
"input": "apps/client/src/assets",
|
"input": "apps/client/src/assets",
|
||||||
"output": "./../"
|
"output": "./../"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"glob": "site.webmanifest",
|
||||||
|
"input": "apps/client/src/assets",
|
||||||
|
"output": "./../"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"glob": "**/*",
|
"glob": "**/*",
|
||||||
"input": "node_modules/ionicons/dist/ionicons",
|
"input": "node_modules/ionicons/dist/ionicons",
|
||||||
@ -66,7 +72,9 @@
|
|||||||
"buildOptimizer": false,
|
"buildOptimizer": false,
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"optimization": false,
|
"optimization": false,
|
||||||
"namedChunks": true
|
"namedChunks": true,
|
||||||
|
"serviceWorker": true,
|
||||||
|
"ngswConfigPath": "apps/client/ngsw-config.json"
|
||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"development-de": {
|
"development-de": {
|
||||||
|
@ -26,6 +26,7 @@ import { GfHeaderModule } from './components/header/header.module';
|
|||||||
import { authInterceptorProviders } from './core/auth.interceptor';
|
import { authInterceptorProviders } from './core/auth.interceptor';
|
||||||
import { httpResponseInterceptorProviders } from './core/http-response.interceptor';
|
import { httpResponseInterceptorProviders } from './core/http-response.interceptor';
|
||||||
import { LanguageService } from './core/language.service';
|
import { LanguageService } from './core/language.service';
|
||||||
|
import { ServiceWorkerModule } from '@angular/service-worker';
|
||||||
|
|
||||||
export function NgxStripeFactory(): string {
|
export function NgxStripeFactory(): string {
|
||||||
return environment.stripePublicKey;
|
return environment.stripePublicKey;
|
||||||
@ -50,7 +51,11 @@ export function NgxStripeFactory(): string {
|
|||||||
MatNativeDateModule,
|
MatNativeDateModule,
|
||||||
MatSnackBarModule,
|
MatSnackBarModule,
|
||||||
NgxSkeletonLoaderModule,
|
NgxSkeletonLoaderModule,
|
||||||
NgxStripeModule.forRoot(environment.stripePublicKey)
|
NgxStripeModule.forRoot(environment.stripePublicKey),
|
||||||
|
ServiceWorkerModule.register('ngsw-worker.js', {
|
||||||
|
enabled: environment.production,
|
||||||
|
registrationStrategy: 'registerImmediately'
|
||||||
|
})
|
||||||
],
|
],
|
||||||
providers: [
|
providers: [
|
||||||
authInterceptorProviders,
|
authInterceptorProviders,
|
||||||
|
@ -1,24 +1,25 @@
|
|||||||
{
|
{
|
||||||
"background_color": "transparent",
|
"background_color": "#FFFFFF",
|
||||||
"categories": ["finance", "utilities"],
|
"categories": ["finance", "utilities"],
|
||||||
"description": "Open Source Wealth Management Software",
|
"description": "Open Source Wealth Management Software",
|
||||||
"display": "standalone",
|
"display": "standalone",
|
||||||
"icons": [
|
"icons": [
|
||||||
{
|
{
|
||||||
"sizes": "192x192",
|
"sizes": "192x192",
|
||||||
"src": "/en/assets/android-chrome-192x192.png",
|
"src": "/assets/android-chrome-192x192.png",
|
||||||
"type": "image/png"
|
"type": "image/png",
|
||||||
|
"purpose": "any maskable"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"sizes": "512x512",
|
"sizes": "512x512",
|
||||||
"src": "/en/assets/android-chrome-512x512.png",
|
"src": "/assets/android-chrome-512x512.png",
|
||||||
"type": "image/png"
|
"type": "image/png"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"name": "Ghostfolio",
|
"name": "Ghostfolio",
|
||||||
"orientation": "portrait",
|
"orientation": "portrait",
|
||||||
"short_name": "Ghostfolio",
|
"short_name": "Ghostfolio",
|
||||||
"start_url": "https://www.ghostfol.io",
|
"start_url": "/en/",
|
||||||
"theme_color": "#FFFFFF",
|
"theme_color": "#FFFFFF",
|
||||||
"url": "https://www.ghostfol.io"
|
"url": "https://www.ghostfol.io"
|
||||||
}
|
}
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
content="initial-scale=1, viewport-fit=cover, width=device-width"
|
content="initial-scale=1, viewport-fit=cover, width=device-width"
|
||||||
name="viewport"
|
name="viewport"
|
||||||
/>
|
/>
|
||||||
|
<meta content="#FFFFFF" name="theme-color" />
|
||||||
<meta content="" property="og:description" />
|
<meta content="" property="og:description" />
|
||||||
<meta
|
<meta
|
||||||
content="Ghostfolio – Open Source Wealth Management Software"
|
content="Ghostfolio – Open Source Wealth Management Software"
|
||||||
|
@ -63,6 +63,7 @@
|
|||||||
"@angular/platform-browser": "14.2.0",
|
"@angular/platform-browser": "14.2.0",
|
||||||
"@angular/platform-browser-dynamic": "14.2.0",
|
"@angular/platform-browser-dynamic": "14.2.0",
|
||||||
"@angular/router": "14.2.0",
|
"@angular/router": "14.2.0",
|
||||||
|
"@angular/service-worker": "14.2.0",
|
||||||
"@codewithdan/observable-store": "2.2.11",
|
"@codewithdan/observable-store": "2.2.11",
|
||||||
"@dfinity/agent": "0.12.1",
|
"@dfinity/agent": "0.12.1",
|
||||||
"@dfinity/auth-client": "0.12.1",
|
"@dfinity/auth-client": "0.12.1",
|
||||||
@ -138,6 +139,7 @@
|
|||||||
"@angular/compiler-cli": "14.2.0",
|
"@angular/compiler-cli": "14.2.0",
|
||||||
"@angular/language-service": "14.2.0",
|
"@angular/language-service": "14.2.0",
|
||||||
"@angular/localize": "14.2.0",
|
"@angular/localize": "14.2.0",
|
||||||
|
"@angular/pwa": "14.2.9",
|
||||||
"@nestjs/schematics": "9.0.3",
|
"@nestjs/schematics": "9.0.3",
|
||||||
"@nestjs/testing": "9.1.4",
|
"@nestjs/testing": "9.1.4",
|
||||||
"@nrwl/cli": "15.0.0",
|
"@nrwl/cli": "15.0.0",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user