show [package] version in prompt
sujaykumarh opened this issue ยท 0 comments
sujaykumarh commented
-
Show NodeJS package version if
package.json
available -
Show git tag if available
Example
no tag but package.json
version
user@host [ ~/node-project ] on ๐ฟ main ๐ฆ v1.0.0
โ
when current commit is a tag with package.json
version
user@host [ ~/node-project ] on ๐ฟ main ๐ท๏ธ v1.0.0 ๐ฆ v1.0.0
โ