diff --git a/.bash/osx/npm.sh b/.bash/osx/npm.sh deleted file mode 100755 index 746bb0b3fa..0000000000 --- a/.bash/osx/npm.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/usr/bin/env bash -# -*- coding: UTF-8 -*- -# -# author : JV-conseil -# credits : JV-conseil -# copyright : Copyright (c) 2019-2023 JV-conseil -# All rights reserved -#==================================================== - -# shellcheck source=/dev/null -. ".bash/incl/all.sh" - -_jvcl_::update_npm() { - _jvcl_::h1 "Update Node.js packages..." - npm install npm@latest --verbose - npm update --save --verbose - npm list --omit=dev - npm list -} - -_jvcl_::webpack() { - npm run format - npm run build -} - -_jvcl_::npm_package_version() { - # shellcheck disable=SC2317 - npm info "${1%%/*}" version -} - -_jvcl_::npm_package_version() { - npm info "${1}" version -} - -if _jvcl_::brew_install_formula "node"; then - _jvcl_::update_npm - _jvcl_::webpack -fi diff --git a/.bash/osx/pipenv.sh b/.bash/osx/pipenv.sh deleted file mode 100755 index 759e807098..0000000000 --- a/.bash/osx/pipenv.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env bash -# -*- coding: UTF-8 -*- -# -# author : JV-conseil -# credits : JV-conseil -# copyright : Copyright (c) 2019-2023 JV-conseil -# All rights reserved -#==================================================== - -# shellcheck source=/dev/null -. ".bash/incl/all.sh" - -_jvcl_::pipenv_install() { - find . -type f -name "Pipfile*" -print -delete - pipenv --rm - pipenv --clear # clear cache - pipenv install --verbose --dev -r ./requirements-dev.txt - pipenv install --verbose -r ./requirements.txt - pipenv run pip freeze -r requirements.txt | grep -E "## The following requirements were added by pip freeze:" -B 100 - echo -} - -if _jvcl_::brew_install_formula "pipenv"; then - _jvcl_::pipenv_install -fi