Commit Graph

14 Commits

Author SHA1 Message Date
Guido Zuidhof
e44e49683d Make it windows friendly 2021-07-27 04:08:09 +01:00
RecuencoJones
7e5607f443 ADD unzip support 2020-03-21 11:34:19 +01:00
RecuencoJones
ea4cba1c34 ADD missing arch mapping arm64 2020-02-12 20:35:26 +01:00
RecuencoJones
40e5bed491 UPDATE getUrl with actual mappings 2020-02-12 20:27:48 +01:00
David Recuenco
a16e524d99 Merge pull request #3 from RecuencoJones/feature/fix-incorrect-bin-path
ADD changes from https://github.com/sanathkr/go-npm/pull/7
2020-02-05 13:27:05 +01:00
David Recuenco
13f1dd6e9a ADD changes from https://github.com/sanathkr/go-npm/pull/7 2020-02-05 13:23:20 +01:00
David Recuenco
9274e3da16 ALLOW platform specific url patterns 2020-02-05 12:26:09 +01:00
RecuencoJones
444a19000c UPDATE error message 2019-03-25 20:46:51 +01:00
RecuencoJones
8257010937 ADD unit tests, split and refactor source code 2019-03-25 20:38:29 +01:00
David Recuenco
6eaf5fc9af ADD win_ext to URL template variables 2019-03-25 15:18:43 +01:00
David Recuenco
6204be6ab1 UPDATE resource handling strategies 2019-03-21 10:34:52 +01:00
David Recuenco
ff032969a8 ALLOW download non .tar.gz releases 2019-03-20 13:47:40 +01:00
Jan Molak
1b0d186011 Ensure the installation path exists
When a `go-npm`-enabled module is installed, `go-npm` will pick a destination directory for said module's binary based on the output of `npm bin`. However, if there's no `node_modules` sub-directory present (which is the case when `npm` hoists the dependencies of such module up), the installation directory suggested by `npm bin` doesn't exist and the installation fails.

This fix ensures that the installation directory exists.
2017-09-27 13:30:21 +01:00
Sanath Kumar Ramesh
e18f2df020 Compile to ES6 2017-08-10 23:47:34 -07:00