Skip to content

Commit ca20f29

Browse files
committed
Cleanup + ng lint fixes
1 parent 7ef521b commit ca20f29

File tree

9 files changed

+7
-32
lines changed

9 files changed

+7
-32
lines changed

client/angular.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@
5050
"extractLicenses": true,
5151
"vendorChunk": false,
5252
"buildOptimizer": true,
53+
"aot": true,
54+
"statsJson": true,
55+
"progress": true,
5356
"budgets": [
5457
{
5558
"type": "initial",

client/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"prettier:check": "prettier --check \"**/*.{js,json,css,scss,less,md,ts,html,component.html}\"",
88
"start:dev": "ng serve --proxy-config proxy.conf.json",
99
"start": "ng serve",
10-
"build": "ng build --sourceMap=false --baseHref=/nfe/",
11-
"build:prod": "ng build --baseHref=/nfe/ --configuration production=true --aot=true --buildOptimizer=true --sourceMap=false --statsJson=true --optimization=true --progress=true",
10+
"build": "ng build --baseHref=/nfe/",
11+
"build:prod": "ng build --baseHref=/nfe/ --configuration=production",
1212
"test": "jest",
1313
"test:watch": "jest --watch",
1414
"lint": "ng lint && yarn lint:sass",
@@ -105,4 +105,4 @@
105105
"pre-commit": "yarn format:fix:staged"
106106
}
107107
}
108-
}
108+
}

client/src/app/modules/about-page/about-page.module.ts

Lines changed: 0 additions & 9 deletions
This file was deleted.

client/src/app/modules/about-page/components/about-page.component.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

client/src/app/modules/about-page/components/about-page.component.scss

Whitespace-only changes.

client/src/app/modules/about-page/components/about-page.component.spec.ts

Whitespace-only changes.

client/src/app/modules/about-page/components/about-page.component.ts

Lines changed: 0 additions & 12 deletions
This file was deleted.

client/src/app/modules/app-routing/app-routing.module.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ const routes: Routes = [
2121
path: 'new',
2222
loadChildren: () => import('../new-project/new-project.module').then(m => m.NewProjectModule)
2323
},
24-
{
25-
path: 'about',
26-
loadChildren: () => import('../about-page/about-page.module').then(m => m.AboutPageModule)
27-
},
2824
{
2925
path: 'login',
3026
loadChildren: () => import('../login/login.module').then(m => m.LoginModule)

client/src/app/modules/project-page/components/header.component.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { ProjectData, ProjectLink } from '../../../domain/project';
66
templateUrl: './header.component.html',
77
styleUrls: ['./header.component.scss']
88
})
9-
export class ProjectHeaderComponent implements OnInit {
9+
export class ProjectHeaderComponent {
1010
@Input() project: ProjectData;
1111
@Input() projectLinks: ProjectLink[];
1212
@Input() editMode: boolean;
@@ -18,8 +18,6 @@ export class ProjectHeaderComponent implements OnInit {
1818

1919
constructor() {}
2020

21-
ngOnInit(): void {}
22-
2321
emitActivateEditMode(flag: boolean) {
2422
this.activateEditMode.emit(flag);
2523
}

0 commit comments

Comments
 (0)