mirror of
https://github.com/asdf-vm/asdf-nodejs.git
synced 2024-10-06 07:42:08 +08:00
Merge pull request #33 from somlor/master
update README w/ note about .nvmrc
This commit is contained in:
commit
b868350895
@ -27,6 +27,14 @@ When installing Node.js using `asdf install`, you can pass custom configure opti
|
|||||||
* `NODEJS_EXTRA_CONFIGURE_OPTIONS` - append these configure options along with ones that this plugin already uses
|
* `NODEJS_EXTRA_CONFIGURE_OPTIONS` - append these configure options along with ones that this plugin already uses
|
||||||
* `NODEJS_CHECK_SIGNATURES` - `strict` is default. Other values are `no` and `yes`. Checks downloads against OpenPGP signatures from the Node.js release team.
|
* `NODEJS_CHECK_SIGNATURES` - `strict` is default. Other values are `no` and `yes`. Checks downloads against OpenPGP signatures from the Node.js release team.
|
||||||
|
|
||||||
|
### `.nvmrc` file
|
||||||
|
|
||||||
|
asdf uses the `.tool-versions` for auto-switching between software versions. To ease migration, you can have it read an existing `.nvmrc` file to find out what version of Node.js should be used. To do this, add the following to `$HOME/.asdfrc`:
|
||||||
|
|
||||||
|
```
|
||||||
|
legacy_version_file = yes
|
||||||
|
```
|
||||||
|
|
||||||
## Using a dedicated OpenPGP keyring
|
## Using a dedicated OpenPGP keyring
|
||||||
|
|
||||||
The `gpg` commands above imports the OpenPGP public keys in your main OpenPGP keyring. However, you can also use a dedicated keyring in order to mitigate [this issue](https://github.com/nodejs/node/issues/9859).
|
The `gpg` commands above imports the OpenPGP public keys in your main OpenPGP keyring. However, you can also use a dedicated keyring in order to mitigate [this issue](https://github.com/nodejs/node/issues/9859).
|
||||||
|
Loading…
Reference in New Issue
Block a user