Open yaronuliel opened 2 years ago
I personally haven't done any coding in a few years. And before that, I also wasn't using this project because I had changed to using containers.
So I'm happy to review PRs, add contributors, and eventually turn the project over to someone else.
One thing I was working on long ago was getting Babel set up for the project so the code base can be modernized. So obviously, getting things working with all current (and old) environments is a priority. Then probably getting CI working again, then maybe improving error messaging and assistance when things go wrong, and finally modernizing the code base.
If this is interesting to you, go for it!
direnv has largely obsoleted this project for me.
https://direnv.net/man/direnv-stdlib.1.html#codeuse-node-ltversiongtcode
I second @wyuenho 's advocacy of direnv, though I'd like to present a few usable .envrc 's as drop-ins for avn
's functionality:
# .envrc
use_nvm() {
local node_version=$1
local nvm_sh=~/.nvm/nvm.sh
if [[ -e $nvm_sh ]]; then
source $nvm_sh
nvm use $node_version
fi
}
use_nvm
The following also works (I personally found the documentation for NODE_VERSION_PREFIX
fairly ambiguous which is why I'm putting this here)
# .envrc
# In most cases, NVM_DIR is the following
# NVM_DIR="$HOME/.nvm"
# We need to tell it where to find our node versions
export NODE_VERSIONS="$NVM_DIR/versions/node"
# There's no prefix for how they appear in $NVM_DIR
export NODE_VERSION_PREFIX=""
use node
Having trying to follow along with the installation process on Node version 14.x and Node version 16.x - I got errors, which according to the rest of the issues in this repo are not specific to my environment.
When I switch back to Node version 10.x I seem to get through the process without errors (though I see some other issues)
The last commit in the project was on July 15th, 2020 (15 months ago at the day of writing) - and I see no announcement of decommissioning / deprecation of the project
It is safe to assume that no further development / bugfixes will be merged into the repo? I'd like to know if it is worth trying to contribute