File tree Expand file tree Collapse file tree 4 files changed +49
-4
lines changed
features/landing/components/landing-footer Expand file tree Collapse file tree 4 files changed +49
-4
lines changed Original file line number Diff line number Diff line change
1
+ name : Standard Angular App Flow
2
+
3
+ on :
4
+ pull_request :
5
+ branches : [ "main", "development" ]
6
+
7
+ jobs :
8
+ lint :
9
+ name : Lint
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : Checkout code
13
+ uses : actions/checkout@v3
14
+
15
+ - name : Set up Node.js
16
+ uses : actions/setup-node@v3
17
+ with :
18
+ node-version : ' 18' # Adjust this to the Node.js version your project needs
19
+
20
+ - name : Install dependencies
21
+ run : npm install
22
+
23
+ - name : Run linting
24
+ run : npm run lint
25
+
26
+ build :
27
+ name : Build
28
+ runs-on : ubuntu-latest
29
+ needs : lint
30
+ steps :
31
+ - name : Checkout code
32
+ uses : actions/checkout@v3
33
+
34
+ - name : Set up Node.js
35
+ uses : actions/setup-node@v3
36
+ with :
37
+ node-version : ' 18' # Adjust this to the Node.js version your project needs
38
+
39
+ - name : Install dependencies
40
+ run : npm install
41
+
42
+ - name : Build app
43
+ run : npm run build
Original file line number Diff line number Diff line change 42
42
{
43
43
"type" : " anyComponentStyle" ,
44
44
"maximumWarning" : " 2kb" ,
45
- "maximumError" : " 4kb "
45
+ "maximumError" : " 400kb "
46
46
}
47
47
],
48
48
"outputHashing" : " all"
Original file line number Diff line number Diff line change 1
1
import { NgModule } from '@angular/core' ;
2
2
import { HashLocationStrategy , LocationStrategy } from '@angular/common' ;
3
+ // eslint-disable-next-line import/no-extraneous-dependencies
3
4
import { TranslateLoader , TranslateModule } from '@ngx-translate/core' ;
4
- import { HttpClient } from '@angular/common/http' ;
5
+ import { HttpClient , HttpClientModule } from '@angular/common/http' ;
5
6
import HttpLoaderFactory from 'src/assets/i18n/loader' ;
7
+ import { BrowserModule } from '@angular/platform-browser' ;
6
8
import AppComponent from './app.component' ;
7
9
import AppRoutingModule from './app-routing.module' ;
8
10
9
11
@NgModule ( {
10
12
declarations : [ AppComponent ] ,
11
13
imports : [
14
+ BrowserModule ,
12
15
AppRoutingModule ,
16
+ HttpClientModule ,
13
17
TranslateModule . forRoot ( {
14
18
loader : {
15
19
provide : TranslateLoader ,
Original file line number Diff line number Diff line change 1
1
import { Component , OnInit } from '@angular/core' ;
2
2
import { Router } from '@angular/router' ;
3
- import { LayoutService } from 'src/app/core/layout/service/app.layout.service' ;
4
3
import LanguageService from 'src/app/shared/services/language.service' ;
5
4
import LANGUAGES from '../../../../shared/constants/language.constants' ;
6
5
import ILanguage from '../../../../shared/models/shared.model' ;
@@ -17,7 +16,6 @@ export default class LandingFooterComponent implements OnInit {
17
16
18
17
// eslint-disable-next-line no-useless-constructor
19
18
constructor (
20
- public layoutService : LayoutService ,
21
19
public router : Router ,
22
20
private languageService : LanguageService , // eslint-disable-next-line no-empty-function
23
21
) { }
You can’t perform that action at this time.
0 commit comments