mirror of https://github.com/searxng/searxng.git
[mod] remove .nvm_packages, add eslint to package.json
This commit is contained in:
parent
6d701d2fea
commit
cac0352986
|
@ -1,8 +0,0 @@
|
|||
# -*- coding: utf-8; mode: conf-unix -*-
|
||||
#
|
||||
# Developement tools pre-installed in NVM's node installation [1]
|
||||
#
|
||||
# [1] https://github.com/nvm-sh/nvm#default-global-packages-from-file-while-installing
|
||||
|
||||
eslint
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"dependencies": {
|
||||
"eslint": "^8.7.0",
|
||||
"pyright": "^1.1.212"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -117,7 +117,6 @@ nvm.install() {
|
|||
info_msg "checkout ${NVM_VERSION_TAG}"
|
||||
git checkout "${NVM_VERSION_TAG}" 2>&1 | prefix_stdout " ${_Yellow}||${_creset} "
|
||||
popd &> /dev/null
|
||||
cp "${REPO_ROOT}/.nvm_packages" "${NVM_DIR}/default-packages"
|
||||
nvm.env
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue