4 Commits

Author SHA1 Message Date
John Jones e525938f74 Adding newline to ensure added token works 2019-03-22 21:24:56 -05:00
Andy Trevorah ab05668267 fix plugin trashing existing .npmrc
The fix is to append the contents of ~/.npmrc to the local /npmrc rather than overwrite it.

Also, this fixes an issue where only the first line would be appended (`always-auth` etc was getting lost). This was caused by echo only printing to the first carriage return. I've also stopped replacing whitespace with newlines as it seems error prone.
2019-01-14 16:16:01 +00:00
Robert Stettner d93e60b04d Adds token as a method of authentication 2018-07-16 16:53:02 +01:00
Robert Stettner 719fc279b6 initial commit 2017-07-27 11:22:16 +01:00