@@ -65,9 +65,9 @@ export default class extends Command {
6565 ? ansi . error ( " DIRTY " )
6666 : "-" ) } ,
6767 "pushed" : { "title" : ansi . hl ( "NOT\nPUSHED" ) , "width" : 8 , "align" : "end" , "headerAlign" : "center" } ,
68- "last " : { "title" : ansi . hl ( "LAST\nRELEASE" ) , "width" : 20 , "align" : "end" , "headerAlign" : "center" } ,
69- "current " : { "title" : ansi . hl ( "CURRENT\nRELEASE" ) , "width" : 23 , "align" : "end" , "headerAlign" : "center" } ,
70- "unreleased " : { "title" : ansi . hl ( "UNRELEASED\nCOMMITS" ) , "width" : 12 , "align" : "end" , "headerAlign" : "center" } ,
68+ "lastRelease " : { "title" : ansi . hl ( "LAST\nRELEASE" ) , "width" : 20 , "align" : "end" , "headerAlign" : "center" } ,
69+ "currentRelease " : { "title" : ansi . hl ( "CURRENT\nRELEASE" ) , "width" : 23 , "align" : "end" , "headerAlign" : "center" } ,
70+ "unreleasedCommits " : { "title" : ansi . hl ( "UNRELEASED\nCOMMITS" ) , "width" : 12 , "align" : "end" , "headerAlign" : "center" } ,
7171 } ,
7272 } ) . pipe ( process . stdout ) ;
7373
@@ -120,11 +120,11 @@ export default class extends Command {
120120 "pushed" : currentBranchPushStatus
121121 ? ansi . error ( ` ${ currentBranchPushStatus } ` )
122122 : " - " ,
123- "last " : this . #formatVersion( status . releases . lastRelease , pkg . isReleaseEnabled ) ,
124- "current " : this . #formatVersion( status . currentRelease , pkg . isReleaseEnabled ) + ( status . currentRelease && status . releases ?. lastRelease . eq ( status . currentRelease )
123+ "lastRelease " : this . #formatVersion( status . releases . lastRelease , pkg . isReleaseEnabled ) ,
124+ "currentRelease " : this . #formatVersion( status . currentRelease , pkg . isReleaseEnabled ) + ( status . currentRelease && status . releases ?. lastRelease . eq ( status . currentRelease )
125125 ? " 🚩"
126126 : " " ) ,
127- "unreleased " : pkg . isReleaseEnabled
127+ "unreleasedCommits " : pkg . isReleaseEnabled
128128 ? ( status . currentReleaseDistance
129129 ? ansi . error ( ` ${ status . currentReleaseDistance } ` )
130130 : " - " )
0 commit comments