Skip to content

Commit

Permalink
fix: release version
Browse files Browse the repository at this point in the history
-fixed release number
  • Loading branch information
SkyZeroZx committed Jul 27, 2023
1 parent 8551408 commit 36d2e65
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions libs/ngx-typed-writer/src/lib/ngx-typed-writer.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ import {
export class NgxTypedWriterComponent implements OnInit, OnDestroy {
@ViewChild('typedText', { static: true }) typedTextRef!: ElementRef;
@ViewChild('cursor')
cursor!: ElementRef;
cursorRef!: ElementRef;

@Input()
strings: string[] = [];
Expand Down Expand Up @@ -155,7 +155,7 @@ export class NgxTypedWriterComponent implements OnInit, OnDestroy {
this.renderer2.removeClass(typedElement, FADE_OUT_CLASS);

if (this.showCursor) {
const cursorElement = this.cursor?.nativeElement as HTMLSpanElement;
const cursorElement = this.cursorRef?.nativeElement as HTMLSpanElement;
this.renderer2.removeClass(cursorElement, FADE_OUT_CLASS);
}
}
Expand Down Expand Up @@ -285,7 +285,7 @@ export class NgxTypedWriterComponent implements OnInit, OnDestroy {
this.renderer2.addClass(typedElement, FADE_OUT_CLASS);

if (this.showCursor) {
const cursorElement = this.cursor.nativeElement as HTMLSpanElement;
const cursorElement = this.cursorRef.nativeElement as HTMLSpanElement;
this.renderer2.addClass(cursorElement, FADE_OUT_CLASS);
}

Expand Down
4 changes: 2 additions & 2 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ module.exports = {
[
'@semantic-release/exec',
{
prepareCmd: `VERSION=\${nextRelease.version} npx nx run-many -t release && VERSION=\${nextRelease.version} npx -p replace-json-property rjp ./package.json version \${nextRelease.version}`,
prepareCmd: `VERSION=\${01.0.1} npx nx run-many -t release && VERSION=\${01.0.1} npx -p replace-json-property rjp ./package.json version \${01.0.1}`,
},
],
[
'@semantic-release/git',
{
assets: [`libs/**/package.json`, `package.json`, `CHANGELOG.md`],
message:
'chore(release): -v${nextRelease.version} [skip ci]\n\n${nextRelease.notes}',
'chore(release): -v${01.0.1} [skip ci]\n\n${nextRelease.notes}',
},
],
],
Expand Down

0 comments on commit 36d2e65

Please sign in to comment.