Skip to content

Commit

Permalink
chore: resolved failed linting
Browse files Browse the repository at this point in the history
  • Loading branch information
rustygreen committed Sep 30, 2024
1 parent 0c7f2c2 commit 02f3272
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
1 change: 1 addition & 0 deletions libs/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"peerDependencies": {
"@angular/common": ">=18.0.0",
"@angular/core": ">=18.0.0",
"@angular/forms": ">=18.0.0",
"@angular/router": ">=18.0.0",
"rxjs": ">=7.8.0",
"@supabase/supabase-js": ">=2.39.1"
Expand Down
1 change: 1 addition & 0 deletions libs/primeng/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"@angular/common": ">=18.0.0",
"@angular/core": ">=18.0.0",
"@angular/forms": ">=18.0.0",
"@angular/router": ">=18.0.0",
"primeng": ">=18.0.0-beta.2",
"primeicons": ">=7.0.0",
"rxjs": ">=7.8.0",
Expand Down
5 changes: 1 addition & 4 deletions libs/primeng/src/lib/register/register.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,7 @@ <h1>{{ title }}</h1>
</div>

<!-- Error message -->
@for (message of messages(); track message;) {
<p-message [text]="message.text" [closable]="true" severity="danger">
</p-message>
}
<supabase-messages [messages]="messages()"></supabase-messages>

<!-- Socials -->
<supabase-socials-grid
Expand Down
8 changes: 4 additions & 4 deletions libs/primeng/src/lib/register/register.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ import { ReactiveFormsModule } from '@angular/forms';
import { ChangeDetectionStrategy, Component, signal } from '@angular/core';

// 3rd party.
import { Message } from 'primeng/message';
import { ButtonModule } from 'primeng/button';
import { MessageModule } from 'primeng/message';
import { AuthError } from '@supabase/supabase-js';
import { CheckboxModule } from 'primeng/checkbox';
import { InputTextModule } from 'primeng/inputtext';
Expand All @@ -17,6 +15,8 @@ import { InputIconModule } from 'primeng/inputicon';
import { RegisterComponent as CoreRegisterComponent } from '@ng-supabase/core';

// Local.
import { Message } from '../messages/message';
import { MessagesComponent } from '../messages/messages.component';
import { WaitMessageComponent } from '../wait-message/wait-message.component';
import { SocialsGridComponent } from '../socials-grid/socials-grid.component';

Expand All @@ -26,11 +26,11 @@ import { SocialsGridComponent } from '../socials-grid/socials-grid.component';
imports: [
CommonModule,
ButtonModule,
MessageModule,
CheckboxModule,
InputTextModule,
IconFieldModule,
InputIconModule,
MessagesComponent,
ReactiveFormsModule,
WaitMessageComponent,
SocialsGridComponent,
Expand All @@ -50,7 +50,7 @@ export class RegisterComponent extends CoreRegisterComponent {
severity: 'error',
closable: true,
text: detail,
} as any, // TODO,
},
]);
}
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"build": "nx build",
"build:demo": "nx build demo --configuration=production",
"build:ci": "nx run-many -t build --parallel=5 --configuration=production && npm run script -- scripts/update-lib-packages.ts",
"ci": "nx run-many -t build lint test --parallel=5 --configuration=production && stylelint",
"start": "nx serve",
"serve": "nx serve",
"script": "ts-node -r tsconfig-paths/register --project scripts/tsconfig.json",
Expand Down

0 comments on commit 02f3272

Please sign in to comment.