Have `npm version` not prepend “v” to the git tag

Use a .npmrc file – you may already have one (it stores your configuration for npm). You can either have:

  • a global one in somewhere like ~/.npmrc
  • or a specific for each project in /var/myprojects/awesomeproject/.npmrc

Then, just specify the tag-version-prefix key in it like:

tag-version-prefix=""

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)