Skip to content

Commit

Permalink
chore(deps): upgrade to angular v19
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideViolante committed Jan 22, 2025
1 parent 7c17f05 commit 64a8ed9
Show file tree
Hide file tree
Showing 19 changed files with 3,942 additions and 4,145 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.
# See https://docs.github.com/get-started/getting-started-with-git/ignoring-files for more about ignoring files.

# Compiled output
/dist
Expand Down
2 changes: 1 addition & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
},
"cli": {
"schematicCollections": [
"@angular-eslint/schematics"
"angular-eslint"
]
}
}
3 changes: 2 additions & 1 deletion client/app/about/about.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { Component } from '@angular/core';
@Component({
selector: 'app-about',
templateUrl: './about.component.html',
styleUrls: ['./about.component.scss']
styleUrls: ['./about.component.scss'],
standalone: false
})
export class AboutComponent {

Expand Down
3 changes: 2 additions & 1 deletion client/app/account/account.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import { User } from '../shared/models/user.model';

@Component({
selector: 'app-account',
templateUrl: './account.component.html'
templateUrl: './account.component.html',
standalone: false
})
export class AccountComponent implements OnInit {

Expand Down
3 changes: 2 additions & 1 deletion client/app/add-cat-form/add-cat-form.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import { Cat } from '../shared/models/cat.model';
@Component({
selector: 'app-add-cat-form',
templateUrl: './add-cat-form.component.html',
styleUrls: ['./add-cat-form.component.scss']
styleUrls: ['./add-cat-form.component.scss'],
standalone: false
})

export class AddCatFormComponent {
Expand Down
3 changes: 2 additions & 1 deletion client/app/admin/admin.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import { User } from '../shared/models/user.model';

@Component({
selector: 'app-admin',
templateUrl: './admin.component.html'
templateUrl: './admin.component.html',
standalone: false
})
export class AdminComponent implements OnInit {

Expand Down
3 changes: 2 additions & 1 deletion client/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { AuthService } from './services/auth.service';

@Component({
selector: 'app-root',
templateUrl: './app.component.html'
templateUrl: './app.component.html',
standalone: false
})
export class AppComponent implements AfterViewChecked {

Expand Down
3 changes: 2 additions & 1 deletion client/app/cats/cats.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import { Cat } from '../shared/models/cat.model';
@Component({
selector: 'app-cats',
templateUrl: './cats.component.html',
styleUrls: ['./cats.component.scss']
styleUrls: ['./cats.component.scss'],
standalone: false
})
export class CatsComponent implements OnInit {

Expand Down
3 changes: 2 additions & 1 deletion client/app/login/login.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import { ToastComponent } from '../shared/toast/toast.component';

@Component({
selector: 'app-login',
templateUrl: './login.component.html'
templateUrl: './login.component.html',
standalone: false
})
export class LoginComponent implements OnInit {

Expand Down
3 changes: 2 additions & 1 deletion client/app/logout/logout.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { AuthService } from '../services/auth.service';

@Component({
selector: 'app-logout',
template: ''
template: '',
standalone: false
})
export class LogoutComponent implements OnInit {

Expand Down
3 changes: 2 additions & 1 deletion client/app/not-found/not-found.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import { Component } from '@angular/core';

@Component({
selector: 'app-not-found',
templateUrl: './not-found.component.html'
templateUrl: './not-found.component.html',
standalone: false
})
export class NotFoundComponent {

Expand Down
3 changes: 2 additions & 1 deletion client/app/register/register.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import { ToastComponent } from '../shared/toast/toast.component';

@Component({
selector: 'app-register',
templateUrl: './register.component.html'
templateUrl: './register.component.html',
standalone: false
})
export class RegisterComponent {

Expand Down
3 changes: 2 additions & 1 deletion client/app/shared/loading/loading.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import { Component, Input } from '@angular/core';

@Component({
selector: 'app-loading',
templateUrl: './loading.component.html'
templateUrl: './loading.component.html',
standalone: false
})
export class LoadingComponent {
@Input() condition = false;
Expand Down
3 changes: 2 additions & 1 deletion client/app/shared/toast/toast.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { Component, Input } from '@angular/core';
@Component({
selector: 'app-toast',
templateUrl: './toast.component.html',
styleUrls: ['./toast.component.scss']
styleUrls: ['./toast.component.scss'],
standalone: false
})
export class ToastComponent {
@Input() message = { body: '', type: '' };
Expand Down
3 changes: 3 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ module.exports = tseslint.config(
style: "kebab-case",
},
],
"@angular-eslint/prefer-standalone": [
"off"
],
"arrow-spacing": "error",
"comma-spacing": "error",
"indent": ["error", 2],
Expand Down
Loading

0 comments on commit 64a8ed9

Please sign in to comment.