Skip to content

Commit e812b3c

Browse files
committed
refactor(package): renamed the module to MatPasswordStrengthModule
1 parent c9205eb commit e812b3c

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export * from './module/ngx-material-password-strength.module';
1+
export * from './module/mat-password-strength.module';

src/module/ngx-material-password-strength.module.ts renamed to src/module/mat-password-strength.module.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ import {MatCardModule, MatIconModule, MatProgressBarModule} from '@angular/mater
44

55
import {PasswordStrengthComponent} from './component/ngx-material-password-strength/password-strength.component';
66
import {
7-
NgxMaterialPasswordStrengthInfoComponent
8-
} from './component/ngx-material-password-strength-info/ngx-material-password-strength-info.component';
7+
MatPasswordStrengthInfoComponent
8+
} from './component/mat-password-strength-info/mat-password-strength-info.component';
99

1010
// Export module's public API
1111
export {PasswordStrengthComponent} from './component/ngx-material-password-strength/password-strength.component';
1212
export {
13-
NgxMaterialPasswordStrengthInfoComponent
14-
} from './component/ngx-material-password-strength-info/ngx-material-password-strength-info.component';
13+
MatPasswordStrengthInfoComponent
14+
} from './component/mat-password-strength-info/mat-password-strength-info.component';
1515

1616

1717
@NgModule({
@@ -21,13 +21,13 @@ export {
2121
MatCardModule,
2222
MatIconModule
2323
],
24-
exports: [PasswordStrengthComponent, NgxMaterialPasswordStrengthInfoComponent],
25-
declarations: [PasswordStrengthComponent, NgxMaterialPasswordStrengthInfoComponent]
24+
exports: [PasswordStrengthComponent, MatPasswordStrengthInfoComponent],
25+
declarations: [PasswordStrengthComponent, MatPasswordStrengthInfoComponent]
2626
})
27-
export class NgxMaterialPasswordStrengthModule {
27+
export class MatPasswordStrengthModule {
2828
static forRoot(): ModuleWithProviders {
2929
return {
30-
ngModule: NgxMaterialPasswordStrengthModule,
30+
ngModule: MatPasswordStrengthModule,
3131
providers: []
3232
};
3333
}

tslint.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,13 @@
110110
"directive-selector": [
111111
true,
112112
"attribute",
113-
"ngx-material-password",
113+
"mat",
114114
"camelCase"
115115
],
116116
"component-selector": [
117117
true,
118118
"element",
119-
"ngx-material-password",
119+
"mat",
120120
"kebab-case"
121121
],
122122
"use-input-property-decorator": true,

0 commit comments

Comments
 (0)