Commit Graph

319 Commits

Author SHA1 Message Date
Trevor Brown
6cf0f4f3f2
Merge pull request #97 from seuros/patch-1
Fix typo in Readme
2018-10-15 08:15:38 -04:00
Abdelkader Boudih
7c9c143462
fix typo. 2018-10-15 11:55:21 +01:00
Trevor Brown
4d5b1a500e
Merge pull request #95 from zoras/patch-1
Fixed typo on Readme
2018-09-18 10:23:02 -04:00
Saroj Maharjan
28fe9a5c87
Update README.md 2018-09-18 19:30:04 +05:45
Trevor Brown
ec898d0800
Merge pull request #94 from 105ron/patch-1
Update README.md
2018-09-13 15:28:23 -04:00
Rhys
aa373bf3fd
Update README.md
Proposed update to readme for Mac users who used `brew` to install the `asdf` package. `Brew` installed `asdf` in the folder `/usr/local/opt/`. I proposed this file change to help other Mac users who have decided to manage `asdf` installation with `brew`. Please close if you do not think this should be part of the readme for new users. Thank you.
2018-09-13 16:33:28 +08:00
Emilien Mottet
b5ee2365a0 add optionnal proxy for gpg 2018-08-03 10:52:09 +02:00
Trevor Brown
9f3e93df6c
Merge pull request #88 from dbernheisel/db-add-more-keyservers
Add more keyservers
2018-07-23 16:49:28 -04:00
David Bernheisel
9d323d367d Do it in both places 2018-07-23 16:45:56 -04:00
David Bernheisel
2346013a9e Make it consistent 2018-07-23 16:38:31 -04:00
David Bernheisel
06869f9483 Correct address 2018-07-23 16:34:29 -04:00
David Bernheisel
bc3534b5df Add more keyservers 2018-07-23 15:18:18 -04:00
Trevor Brown
bdc50572af
Merge pull request #87 from SunDoge/set-mirror
update readme
2018-07-19 11:14:39 -04:00
SunDoge
7ee656d3ad update readme 2018-07-19 22:39:06 +08:00
Trevor Brown
0f4ab109a2
Merge pull request #77 from SunDoge/set-mirror
Allow setting nodejs mirror url
2018-07-19 09:45:26 -04:00
Michael Clark
609fe16682 Fixes #85 - system npm fails to run via asdf
`.asdf/bin/private/asdf-exec` sets `$ASDF_INSTALL_PATH` to the result of
`find_install_path` in `.asdf/lib/utils.sh` - which, if version is
`"system"` (which it is for the system nodejs, of course), returns an
empty string. This then, is passed to
`.asdf/plugins/nodejs/bin/exec-env`, and, if `$NPM_CONFIG_PREFIX` is
`""`, it is set to `$ASDF_INSTALL_PATH/.npm` - resulting in `"/.npm"`.

In my shell w/o `asdf` enabled which can run `npm`, `$NPM_CONFIG_PREFIX`
is blank; therefore a possible patch would be to only set
`$NPM_CONFIG_PREFIX` if it is blank _and_ `$ASDF_INSTALL_PATH` is _not_.
2018-07-18 16:18:39 -06:00
Trevor Brown
9237a7fa0f
Merge pull request #83 from a1ph4g33k/a1ph/update_keyrings
Update keyring import scripts to match current teams for NodeJS
2018-07-02 14:38:12 -04:00
Benjamin Porter
3bcfc82506 Add handling for missing shasum
On some platforms, including Fedora and derivatives, and Arch and
derivatives, the binary `shasum` does not exist.  Instead, sha256sum
should be used.

This patch checks for the existence of sha256sum, as well as shasum,
and uses whichever is present.  If none are present, a helpful error
message is printed out.

Tested on Fedora 28
  - Scenarios tested:

    -------------------------------
    | Sha256sum | shasum | Works? |
    |    Yes    |   No   |  Yes   |
    |    No     |   Yes  |  Yes   |
    |    Yes    |   Yes  |  Yes   |
    |    No     |   No   |  Yes   |
    -------------------------------
2018-06-28 19:26:05 -06:00
Trevor Brown
84c111d2fc
Add Travis CI badge to readme. 2018-06-25 21:43:37 -04:00
Jeff Wood
07700847c5 Update release & previous keyring scripts to match current teams for NodeJS 2018-06-25 10:15:00 -07:00
Trevor Brown
d98745d9a5
Move path to installed Node.JS binaries to the front of PATH 2018-06-14 08:23:31 -04:00
Trevor Brown
aef9e98561
Merge pull request #76 from b0o/67-install-default-npm-packages-path
Fix issue #67: Default packages don't install correctly
2018-06-06 10:55:01 -04:00
Akash Manohar
f70fa9e5d2
Merge pull request #74 from andrewthauer/exec-path-fix
Fix Issue #56: Can't install latest version of npm globally
2018-05-25 15:04:10 +05:30
SunDoge
3d6c468770 ok to set taobao mirror 2018-05-12 01:25:18 +08:00
Maddison Hellstrom
6e8fc1fbab Override PATH env when calling npm install
A bug existed where, if no versions of `node` and `npm` are installed
already, running `asdf install node <version>` while having any packages
listed inside `.default-npm-packages` would fail to install those
default packages because the newly installed node version's `bin`
directory is not in the `PATH` yet.

Fixes #67
2018-05-04 22:43:28 -07:00
Andrew Thauer
7b6df2d0c6 Fix Issue #56: Can't install latest version of npm globally
This works in tandom with a change in asdf core that will look for the
exec-path command and use it appropriately when found to conditionally
route the npm & npx commands to the correct executable path.
2018-04-25 22:32:34 -04:00
Trevor Brown
7edd9d6b9a
Merge pull request #69 from a4z/hkppath
use explicit hkp to port 80
2018-02-21 16:51:12 -05:00
Harald
7eea231571 use explicit hkp to port 80
avoid timeout on system where port 11371 is blocked
2018-02-21 14:37:20 +01:00
Trevor Brown
c8f4518fc0
asdf reshim expects a plugin name and version. 2018-02-19 15:01:26 -05:00
Trevor Brown
9443d406db
Merge pull request #54 from taiansu/master
Support vX.X.X version name in legacy version file
2018-02-19 09:03:38 -05:00
Trevor Brown
622636c43b
Merge pull request #68 from rwstauner/gpg-error-message
Show error message when gpg is not found
2018-02-19 09:02:22 -05:00
Randy Stauner
6ea988b663 Show error message when gpg is not found
fixes #61
2018-02-13 08:34:12 -07:00
Trevor Brown
7f82424234
Replace 'Ruby' with 'Node.js' in the README. 2017-12-18 11:41:54 -05:00
Trevor Brown
1950ad3fed
Merge pull request #50 from pachonk/default-npm-packages
Add support for a default-npm-packages file
2017-12-18 11:40:19 -05:00
Trevor Brown
c7ebeffe99
Merge pull request #41 from petermm/patch-1
support arm 64bit (arm8)
2017-12-18 11:16:01 -05:00
Trevor Brown
b0b7c26516
Merge pull request #62 from rstacruz/patch-2
Readme: clarify installation instructions
2017-12-18 11:03:41 -05:00
Daniel Perez
a523eb3240
Merge pull request #64 from code-lever/import-keys-fallback
Try multiple keyservers before failing release key import
2017-11-20 23:36:57 +09:00
Nick Veys
e0513ca999 Try multiple keyservers before failing import 2017-11-08 16:25:13 -06:00
Daniel Perez
12c5acc117
Merge pull request #63 from jonknapp/patch-1
Adding new trusted release key
2017-11-02 08:39:43 +09:00
Jonathan Knapp
26c38fdc6e
Adding new trusted release key
Brought in in commit [add Gibson Fahnestock to Release team](46ca1775a3 (diff-04c6e90faac2675aa89e2176d2eec7d8))
2017-10-31 15:14:45 -04:00
Rico Sta. Cruz
6b410c4311 Readme: clarify installation instructions 2017-10-26 17:38:14 +08:00
Tai An Su
2e1ca0e15b Support vX.X.X version name 2017-09-26 00:24:56 +08:00
Victor Borja
31e60f839f Set executable bit for postinstall 2017-09-04 03:33:00 -05:00
Victor Borja
b900533294 Set executable bit for list-bin-paths 2017-09-04 03:31:47 -05:00
Daniel Perez
c853ad79d8 Merge pull request #48 from asdf-vm/use-list-bin-paths
Use list-bin-paths instead of custom hook
2017-08-19 14:37:06 +09:00
Daniel Perez
d182dca840 Use list-bin-paths instead of custom hook 2017-08-19 14:34:09 +09:00
Alex Piechowski
f3773e5371 Add support for a default-npm-packages file
Partial Credit: https://github.com/asdf-vm/asdf-ruby/pull/35
2017-07-30 23:54:07 -05:00
vic
be1deeebd3 Use a more portable version sort.
On some linux's sort command does not take the `-V` option (Alpine base image with busybox). Use a more portable `sort_versions` from rbenv. Also I guess this removes the dependency on gsort in OSX.
2017-07-23 05:39:44 -05:00
peter madsen
adef6e617f support arm 64bit (arm8)
uname -m returns aarch64 on arm8.

however nodejs serves the file as 'arm64' (eg. https://nodejs.org/dist/v6.10.3/node-v6.10.3-linux-arm64.tar.xz)

the arm6 and arm7 filenames looks to be correct.
2017-05-06 22:12:32 +02:00
Daniel Perez
eeaae91251 Merge pull request #39 from jechol/master
Change keyserver to ipv4.pool.sks-keyservers.net
2017-05-06 19:12:57 +09:00