Skip to content

Commit 0ee52c1

Browse files
committed
fix: change selector and lint added to kusky prepush
1 parent b798e5b commit 0ee52c1

File tree

6 files changed

+8
-7
lines changed

6 files changed

+8
-7
lines changed

.husky/pre-push

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
npm run ngx-notion-cms:lint
12
# npm run ngx-notion-cms:test

projects/ngx-notion-cms/src/lib/components/database/notion-database.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import { LayoutContainerComponent } from '../layout-container/layout-container.c
3131
* @method goToPage(id: NotionDatabaseItem['id']) - Emits the `itemSelected` event with the selected item’s ID.
3232
*/
3333
@Component({
34-
selector: 'notion-database',
34+
selector: 'ngx-notion-database',
3535
standalone: true,
3636
imports: [DatabaseItemComponent, CommonModule, LayoutContainerComponent],
3737
templateUrl: './notion-database.component.html',

projects/ngx-notion-cms/src/lib/components/notion-page/notion-page.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import { NotionTableOfContentsComponent } from '../table-of-contents/notion-tabl
3333
* @method scrollToBlock(id: string) - Scrolls smoothly to the block with the given ID and triggers change detection.
3434
*/
3535
@Component({
36-
selector: 'notion-page',
36+
selector: 'ngx-notion-page',
3737
standalone: true,
3838
imports: [
3939
CommonModule,
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<notion-page [pageId]="'11511ba7512b805c8961ce7d7264d45c'" />
1+
<ngx-notion-page [pageId]="'11511ba7512b805c8961ce7d7264d45c'" />
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<notion-page [pageId]="pageId()" />
1+
<ngx-notion-page [pageId]="pageId()" />
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
<notion-database
2-
(itemSelected)="setPageItemSelected($event)"
3-
[dataBaseId]="'e9c95945794e462d92fe07e34d26b368'" />
1+
<ngx-notion-database
2+
(itemSelected)="setPageItemSelected($event)"
3+
[dataBaseId]="'e9c95945794e462d92fe07e34d26b368'" />

0 commit comments

Comments
 (0)