-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
"packageManager": "[email protected]"
- Loading branch information
1 parent
5db0bb6
commit ff93d7f
Showing
35 changed files
with
5,171 additions
and
8,799 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
#!/usr/bin/env bash | ||
# -*- coding: UTF-8 -*- | ||
# | ||
# author : JV-conseil | ||
# credits : JV-conseil | ||
# copyright : Copyright (c) 2019-2024 JV-conseil | ||
# All rights reserved | ||
#==================================================== | ||
|
||
# shellcheck source=/dev/null | ||
. ".bash/incl/all.sh" | ||
|
||
_jvcl_::npm_audit() { | ||
_jvcl_::h1 "npm audit..." | ||
yarn npm audit || : | ||
npx depcheck --detailed || : | ||
} | ||
|
||
_jvcl_::webpack() { | ||
_jvcl_::h1 "yarn run format..." | ||
yarn run format | ||
if [ "${WEBPACK_MODE}" == "production" ]; then | ||
yarn run build | ||
else | ||
yarn run dev | ||
fi | ||
} | ||
|
||
_jvcl_::npm_package_version() { | ||
# shellcheck disable=SC2317 | ||
npm info "${1%%/*}" version | ||
} | ||
|
||
_jvcl_::_sass_bootstrap() { | ||
_jvcl_::h1 "copy node_modules..." | ||
cp -pvrf "./node_modules/bootstrap/scss/"{_functions,_variables,_maps,_mixins,_utilities,_grid,_forms,_buttons,forms,mixins,vendor}* "./_sass/bootstrap" | ||
} | ||
|
||
_jvcl_::_sass_tippyjs() { | ||
local _gh_repo="https://github.com/atomiks/tippyjs.git" _dest="_sass/tippyjs_" _tmp="${HOME}/tmp" | ||
git clone "${_gh_repo}" "${_tmp}" | ||
mkdir -pv "${_dest}" | ||
cp -pvrf "${_tmp}/src/scss/"{animations,_mixins,_vars,index}* "${_dest}" | ||
rm -rf "${_dest}/animations/"{per,sca,shi}*.scss | ||
rm -rf "${_tmp}" | ||
} | ||
|
||
_jvcl_::yarn_update() { | ||
if ! type "yarn" &>/dev/null; then | ||
printf "\nERROR: yarn is not installed\n" | ||
return | ||
fi | ||
_jvcl_::h1 "yarn update..." | ||
yarn set version stable && | ||
yarn install && | ||
yarn up && | ||
yarn upgrade-interactive | ||
} | ||
|
||
_jvcl_::main() { | ||
_jvcl_::yarn_update || : | ||
_jvcl_::npm_audit | ||
_jvcl_::_sass_bootstrap | ||
# _jvcl_::_sass_tippyjs | ||
_jvcl_::webpack | ||
} | ||
|
||
_jvcl_::main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,5 +6,5 @@ ignores: [ | |
"bootstrap", | ||
"depcheck", | ||
"@fontsource/*", | ||
"webpack-cli" | ||
"webpack-cli", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
nodeLinker: node-modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.