43 Commits

Author SHA1 Message Date
40c5e5abb4 fix unlink 2023-12-11 13:51:21 +01:00
6a282f039d update tar package 2023-12-11 12:34:35 +01:00
Guido Zuidhof
8243e02285 Merge pull request #4 from alecmocatta/exdev-fix
Fix error "EXDEV: cross-device link not permitted"
2022-06-30 13:21:27 +02:00
alecmocatta
c8160d6ee1 fix "EXDEV: cross-device link not permitted, rename 'bin\starlit.exe' ->
'C:\npm\prefix\bin\starlit.exe'"
2022-06-16 12:44:34 +01:00
Guido Zuidhof
87e2c92559 Merge pull request #3 from quinyx-tjeerd/master
Fix readme, fix package name and example for windows extension
2022-03-29 00:03:24 +02:00
Tjeerd Ritsma
bb4abfbad3 Fix readme, fix package name and example for windows extension 2021-10-07 15:49:00 +02:00
Guido Zuidhof
602e804488 Document changes, ignore more files, release 0.1.13 2021-07-30 21:42:35 +01:00
Guido Zuidhof
0fcee1f1b1 Get rid of dependencies by bundling 2021-07-30 21:36:21 +01:00
Guido Zuidhof
40dd3948e1 Back to really outdated tar pkg, I don't have time for this 2021-07-27 04:33:38 +01:00
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
695a64f2f7 Merge pull request #2 from RecuencoJones/feature/allow-specific-platform-arch-url-patterns
ALLOW platform specific url patterns
2020-02-05 12:29:51 +01:00
David Recuenco
9274e3da16 ALLOW platform specific url patterns 2020-02-05 12:26:09 +01:00
David Recuenco
71ac4c1b0a Merge pull request #1 from RecuencoJones/bugfix/add-windows-ext-replace-opt
ADD win_ext to URL template variables
2019-03-25 20:51:51 +01:00
RecuencoJones
8071e517fb UPDATE travis targets 2019-03-25 20:48:27 +01:00
RecuencoJones
444a19000c UPDATE error message 2019-03-25 20:46:51 +01:00
RecuencoJones
6234737be2 ADD travis integration 2019-03-25 20:44:06 +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
9071f9b229 ADD unit testing for resource strategies 2019-03-21 10:53:17 +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
Sanath Kumar Ramesh
ff6d922659 Merge pull request #3 from jan-molak/master
Ensure the installation path exists
2017-09-29 12:20:07 -07: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
70405520b3 Updating Readme 2017-08-16 22:04:29 -07:00
Sanath Kumar Ramesh
e18f2df020 Compile to ES6 2017-08-10 23:47:34 -07:00
Sanath Kumar Ramesh
f3157c6c51 fixing typo 2017-08-10 23:19:46 -07:00
Sanath Kumar Ramesh
b3e2cb555f Updating package.json to add github link 2017-08-10 23:16:09 -07:00
Sanath Kumar Ramesh
6e80d13fea Windows binaries get a .exe extension 2017-08-10 23:09:01 -07:00
Sanath Kumar Ramesh
a3d7ec2081 v0.1.5 2017-08-10 22:38:52 -07:00
Sanath Kumar Ramesh
0c3ff082cb Deduce bin installation path 2017-08-10 22:37:54 -07:00
Sanath Kumar Ramesh
7a2120067b fixing bin path 2017-08-10 20:12:30 -07:00
Sanath Kumar Ramesh
b1a93ed857 v0.1.3 2017-08-10 20:10:13 -07:00
Sanath Kumar Ramesh
f03f985805 Moving to bin folder 2017-08-10 20:09:05 -07:00
Sanath Kumar Ramesh
5c19b1b1f9 Removing a wrong validation check
`bin` property of package.json must point to a binary that will
be copied by NPM into the NPM Installation's bin directory. This check
was assuming users would point to a directory containing the binary and
not the binary itself
2017-08-10 17:48:12 -07:00
Sanath Kumar Ramesh
5c337e9e48 v0.1.1 2017-08-07 23:43:09 -07:00
Sanath Kumar Ramesh
921f161b53 Do a global replace for URL interpolation 2017-08-07 23:37:01 -07:00
Sanath Kumar Ramesh
e879e81a02 Initial commit of Go NPM
Allows you to distribute and install Go binaries through NPM.
2017-08-07 23:18:49 -07:00
Sanath Kumar Ramesh
9e7c0a2a46 Initial commit 2017-08-07 23:15:48 -07:00