Commit Graph

53 Commits

Author SHA1 Message Date
Augusto Moura
7c96d62ef8
feat: add GH Actions badge instead of Travis CI 2022-02-09 21:35:41 -03:00
Augusto Moura
2f7ed7520c
feat: add force rebuild variable 2022-02-09 20:12:37 -03:00
Augusto Moura
e0d3804a55
docs: better explanation of manually updating node-build 2021-12-15 14:17:39 -03:00
Augusto Moura
3e44540e9a
docs: better wording for the README 2021-12-07 00:15:06 -03:00
Augusto Moura
07fe573c33
docs: add section for running the wrapped node-build command
also some minor text adjustments
2021-11-29 12:53:18 -03:00
Augusto Moura
1dd98c407c
typo: change defitions to definitions 2021-11-29 12:49:58 -03:00
Augusto Moura
94bd796e02
docs: add information on nodebuild commands 2021-11-29 12:48:06 -03:00
Augusto Moura
67c382b8a2
docs: update README com new information about installation 2021-11-24 00:20:25 -03:00
Christoph Geschwind
e2d0822f05
Fix Installation Instructions (#247)
The `<name>` param of `asdf plugin add <name> [<git-url>]` got lost, resulting in:

```
$ asdf plugin add https://github.com/asdf-vm/asdf-nodejs.git
plugin https://github.com/asdf-vm/asdf-nodejs.git not found in repository
```
2021-07-21 08:06:07 -04:00
Augusto Moura
ad32fc9918
Merge branch 'master' into feature/npm-wrapper 2021-07-19 14:39:56 -03:00
Victor Chagas Seibert
7efbf9badb
Updating plugin add command (#238)
The command is in the old version
2021-06-16 09:18:52 -04:00
Augusto Moura
48bda37236
chore: typos 2021-05-16 21:09:27 -03:00
Augusto Moura
6ddcdfdb81
refactor(auto-reshim): add npm wrapper and remove npm hooks
Instead of relying in npm global installation hook for auto reshimming,
a pretty obscure functionality of npm, I just wrote a wrapper script
that intercept calls for npm and invokes asdf reshim whenever necessary.

The wrapper needs to be configured manually by the user, following the
practices of other plugins with similar settings.

I also wrote an utility for printing the current wrapper path easing the
configuration of new environments.

README now has an example of how to configure auto-reshimming.

There's also a notice on plugin installation about setting up the
auto-reshimming configuration.

A notice was also added to the install command, so that we reach more
people about the changes.
2021-05-16 21:06:10 -03:00
Augusto Moura
b23bbd9857 docs: refine the install section in README 2021-03-15 13:00:02 -03:00
Trevor Brown
3f4950047b
Merge pull request #210 from mortax/macostac
`list-all` no longer works on macOS
2021-03-12 14:37:33 -05:00
john r. durand
a0bb93cf40 Remove delcared coreutils dependency, correct macOS. 2021-03-12 11:05:39 -08:00
Dave Ashby
431010c33c Update README to reflect automatic import of keys 2021-03-09 12:27:10 -05:00
Trevor Brown
1624799560
Merge pull request #176 from augustobmoura/feature/oficial-versions-list
Refactor list all to use the official index.tab
2021-01-19 13:57:07 -05:00
Trevor Brown
a5aa464e96
Merge pull request #170 from brianvanburken/default-packages-location
Support non-default default-npm-packages location.
2020-12-21 08:44:43 -05:00
Nazar Hussain
403bfcd01b
🔒 Update relevant previous keys and add reference to readme 2020-10-28 16:57:08 +01:00
Augusto Moura
929686f880 refactor list all to use the official index.tab
also add support for lts aliases, giving it's trivial to implement after
processing the tab

also get better error messages for missing versions
2020-09-23 20:33:03 -03:00
Brian van Burken
9c9bc7f973
Support non-default default-npm-packages location. 2020-08-02 20:27:53 +02:00
Christopher Keele
e5e0078759
Make keyring instructions more flexible.
- Honoring `$ASDF_DATA_DIR` lets this command be plug-and-play for [custom installation locations](https://asdf-vm.com/#/core-configuration?id=environment-variables)
- Defaulting to `$HOME/.asdf` keeps it backwards-compatible with previous instructions
- Using `bash -c` with single quotes lets more shells execute the command with env var default and expansion correctly (fish in mind here)
2020-06-11 16:45:02 -07:00
Maurizio De Santis
e10902ec84
List curl as required dependency
Not all Linux systems come with `curl` pre-installed: for example, a clean Ubuntu installation doesn't have `curl` by default. This causes the plugin to raise errors like the following one:

```
> env LANG=C asdf list-all nodejs
/home/user/.asdf/plugins/nodejs/bin/list-all: line 7: curl: command not found
```

Here I added `curl` among the required dependencies to let users install it before than trying to use the plugin.
2020-04-26 19:43:31 +02:00
Joseph Caudle
c603dd399b
Clarify GPG instructions
This should make the wording a bit more clear and fix #123.
2019-04-27 23:47:28 -04:00
Trevor Brown
897b6fb5f2
Remove incorrect instructions for running the import-release-team-keyring script 2019-04-05 17:35:49 -04:00
Trevor Brown
5675a4cd9d
Replace dead link to article on verifying nodejs binaries with link to node readme 2019-03-20 22:42:27 -04:00
Lukas Elmer
9975c20a21
document reshim skipping 2019-01-23 19:10:05 +01:00
Eric Kelly
11eeecf719 Fix typo (#113)
Fixes a typo
2018-12-17 16:38:23 -05:00
Ruben Amortegui
9cc4f0acee Update Linux/Debian instructions. 2018-11-02 00:05:14 -06:00
Abdelkader Boudih
7c9c143462
fix typo. 2018-10-15 11:55:21 +01:00
Saroj Maharjan
28fe9a5c87
Update README.md 2018-09-18 19:30:04 +05:45
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
SunDoge
7ee656d3ad update readme 2018-07-19 22:39:06 +08:00
Trevor Brown
84c111d2fc
Add Travis CI badge to readme. 2018-06-25 21:43:37 -04: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
Rico Sta. Cruz
6b410c4311 Readme: clarify installation instructions 2017-10-26 17:38:14 +08: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
Daniel Perez
53200f1fba Merge pull request #36 from ypid/use/ASDF_DIR_env_var
Use ASDF_DIR environment variable if available
2017-05-06 19:08:00 +09:00
Robin Schneider
7e3e6e53ff
Use ASDF_DIR environment variable if available
Related to: https://github.com/asdf-vm/asdf/pull/156
2017-03-16 23:02:02 +01:00
Martin Schürrer
9aa1146150 Mention .node-version file in README 2017-03-03 12:17:57 +01:00
Sean Omlor
44cd6181bd update README w/ note about .nvmrc 2017-02-28 12:20:10 -05:00
Akash Manohar
8365aaa6d3 Remove typo line 2017-02-26 11:29:33 +05:30
Akash Manohar
9a25dd9f5f Simplify docs. Add copy-paste instructions 2017-02-26 11:28:55 +05:30
Akash Manohar
4e547ff5af Update README.md 2017-02-26 11:11:56 +05:30
Zura Guerra
6c0abb5b7a Document in the ReadMe file that coreutils is a requirement for MacOS users 2017-02-22 16:17:36 -06:00
Robin Schneider
2d0a443ad2
Fix CI testing of signatures/checksums checking
Fixes: #25
2017-02-20 19:21:05 +01:00
Robin Schneider
36fbaf2d60
Update README 2017-02-20 06:58:03 +01:00
Robin Schneider
dbe5e78886
Fix version note in README 2017-02-20 06:58:03 +01:00