Skip to content

Commit

Permalink
"packageManager": "[email protected]"
Browse files Browse the repository at this point in the history
  • Loading branch information
JV-conseil committed Feb 29, 2024
1 parent 5db0bb6 commit ff93d7f
Show file tree
Hide file tree
Showing 35 changed files with 5,171 additions and 8,799 deletions.
2 changes: 1 addition & 1 deletion .bash/incl/.shebang.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# author : JV-conseil
# credits : JV-conseil
# copyright : Copyright (c) 2019-2023 JV-conseil
# copyright : Copyright (c) 2019-2024 JV-conseil
# All rights reserved
#====================================================

2 changes: 1 addition & 1 deletion .bash/incl/_aliases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# author : JV-conseil
# credits : JV-conseil
# copyright : Copyright (c) 2019-2023 JV-conseil
# copyright : Copyright (c) 2019-2024 JV-conseil
# All rights reserved
#====================================================

Expand Down
2 changes: 1 addition & 1 deletion .bash/incl/_colors.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# author : JV-conseil
# credits : JV-conseil
# copyright : Copyright (c) 2019-2023 JV-conseil
# copyright : Copyright (c) 2019-2024 JV-conseil
# All rights reserved
#
# shellcheck disable=SC2034
Expand Down
2 changes: 1 addition & 1 deletion .bash/incl/_debug.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# author : JV-conseil
# credits : JV-conseil
# copyright : Copyright (c) 2019-2023 JV-conseil
# copyright : Copyright (c) 2019-2024 JV-conseil
# All rights reserved
#====================================================

Expand Down
2 changes: 1 addition & 1 deletion .bash/incl/_homebrew.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# author : JV-conseil
# credits : JV-conseil
# copyright : Copyright (c) 2019-2023 JV-conseil
# copyright : Copyright (c) 2019-2024 JV-conseil
# All rights reserved
#====================================================

Expand Down
2 changes: 1 addition & 1 deletion .bash/incl/_set.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# author : JV-conseil
# credits : JV-conseil
# copyright : Copyright (c) 2019-2023 JV-conseil
# copyright : Copyright (c) 2019-2024 JV-conseil
# All rights reserved
#
# settings to write safe scripts
Expand Down
2 changes: 1 addition & 1 deletion .bash/incl/all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# author : JV-conseil
# credits : JV-conseil
# copyright : Copyright (c) 2019-2023 JV-conseil
# copyright : Copyright (c) 2019-2024 JV-conseil
# All rights reserved
#====================================================

Expand Down
2 changes: 1 addition & 1 deletion .bash/osx/gem.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# author : JV-conseil
# credits : JV-conseil
# copyright : Copyright (c) 2019-2023 JV-conseil
# copyright : Copyright (c) 2019-2024 JV-conseil
# All rights reserved
#
# bundle add github-pages jekyll-avatar jekyll-mentions --group "jekyll_plugins"
Expand Down
2 changes: 1 addition & 1 deletion .bash/osx/jekyll.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# author : JV-conseil
# credits : JV-conseil
# copyright : Copyright (c) 2019-2023 JV-conseil
# copyright : Copyright (c) 2019-2024 JV-conseil
# All rights reserved
#
# Jekyll on macOS
Expand Down
2 changes: 1 addition & 1 deletion .bash/osx/npm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# author : JV-conseil
# credits : JV-conseil
# copyright : Copyright (c) 2019-2023 JV-conseil
# copyright : Copyright (c) 2019-2024 JV-conseil
# All rights reserved
#====================================================

Expand Down
68 changes: 68 additions & 0 deletions .bash/osx/yarn.sh
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
4 changes: 2 additions & 2 deletions .bash/settings.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
#
# author : JV-conseil
# credits : JV-conseil
# copyright : Copyright (c) 2019-2023 JV-conseil
# copyright : Copyright (c) 2019-2024 JV-conseil
# All rights reserved
#====================================================

BASH_STRICT_MODE=1
DEBUG=3
JEKYLL_ENV=production #development
JEKYLL_ENV=production #development
WEBPACK_MODE=production #development

# GitHub Metadata
Expand Down
2 changes: 1 addition & 1 deletion .depcheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ ignores: [
"bootstrap",
"depcheck",
"@fontsource/*",
"webpack-cli"
"webpack-cli",
]
2 changes: 1 addition & 1 deletion .github/codeql/codeql-config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# Specifying directories to scan
# See <https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/customizing-code-scanning#specifying-directories-to-scan>
# Copyright (c) 2019-2023 JV-conseil, All rights reserved
# Copyright (c) 2019-2024 JV-conseil, All rights reserved

name: "CodeQL config"

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
# Copyright (c) 2019-2023 JV-conseil, All rights reserved
# Copyright (c) 2019-2024 JV-conseil, All rights reserved
name: "CodeQL"

on:
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:

# Configuration file
# See <https://github.com/github/codeql-action#configuration-file>
# Copyright (c) 2019-2023 JV-conseil, All rights reserved
# Copyright (c) 2019-2024 JV-conseil, All rights reserved
config-file: ./.github/codeql/codeql-config.yml

# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/jekyll-docker-gh-pages.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Jekyll Builder for GitHub Pages (Action)
# See <https://github.com/marketplace/actions/jekyll-builder-for-github-pages>
# Copyright (c) 2019-2023 JV-conseil, All rights reserved
# Copyright (c) 2019-2024 JV-conseil, All rights reserved
name: Deploy Jekyll v4.3.3 to GitHub Pages (Docker)

on:
Expand Down
2 changes: 1 addition & 1 deletion .vscode/shellscript.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"# author : JV-conseil",
"# credits : JV-conseil",
"# license : EUPL-1.2 license",
"# copyright : Copyright (c) 2019-2023 JV-conseil",
"# copyright : Copyright (c) 2019-2024 JV-conseil",
"# All rights reserved",
"#====================================================",
""
Expand Down
49 changes: 19 additions & 30 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,52 +2,41 @@
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"type": "shell",
"presentation": {
"panel": "new",
"focus": true,
"revealProblems": "onProblem",
},
"problemMatcher": [],
"isBackground": false,
"tasks": [
{
"label": "gem",
"type": "shell",
"isBackground": false,
"osx": {
"command": ".bash/osx/gem.sh"
},
"linux": {
"command": ".bash/osx/gem.sh"
},
"command": ".bash/osx/gem.sh",
"detail": "Build a gem from this theme",
"problemMatcher": []
},
{
"label": "Jekyll",
"type": "shell",
"isBackground": false,
"label": "jekyll",
"runOptions": {
"runOn": "folderOpen"
},
"group": {
"kind": "build",
"isDefault": true
},
"osx": {
"command": ".bash/osx/jekyll.sh"
},
"linux": {
"command": ".bash/osx/jekyll.sh"
},
"command": ".bash/osx/jekyll.sh",
"detail": "Run server jekyll serve --config '_config-dev.yml' --livereload",
"problemMatcher": []
},
{
"label": "npm",
"type": "shell",
"isBackground": false,
"osx": {
"command": ".bash/osx/npm.sh"
},
"linux": {
"command": ".bash/osx/npm.sh"
},
"command": ".bash/osx/npm.sh",
"detail": "Update your Node.js packages for this repository",
"problemMatcher": []
}
},
{
"label": "yarn",
"command": ".bash/osx/yarn.sh",
"detail": "Upgrade package.json"
},
]
}
}
Binary file added .yarn/install-state.gz
Binary file not shown.
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
26 changes: 13 additions & 13 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (7.1.3)
activesupport (7.1.3.2)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
Expand Down Expand Up @@ -112,7 +112,7 @@ GEM
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.4)
listen (3.8.0)
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
Expand Down Expand Up @@ -144,25 +144,25 @@ GEM
rouge (4.2.0)
ruby2_keywords (0.0.5)
safe_yaml (1.0.5)
sass-embedded (1.71.0-aarch64-linux-gnu)
sass-embedded (1.71.1-aarch64-linux-gnu)
google-protobuf (~> 3.25)
sass-embedded (1.71.0-aarch64-linux-musl)
sass-embedded (1.71.1-aarch64-linux-musl)
google-protobuf (~> 3.25)
sass-embedded (1.71.0-arm-linux-gnueabihf)
sass-embedded (1.71.1-arm-linux-gnueabihf)
google-protobuf (~> 3.25)
sass-embedded (1.71.0-arm-linux-musleabihf)
sass-embedded (1.71.1-arm-linux-musleabihf)
google-protobuf (~> 3.25)
sass-embedded (1.71.0-arm64-darwin)
sass-embedded (1.71.1-arm64-darwin)
google-protobuf (~> 3.25)
sass-embedded (1.71.0-x86-linux-gnu)
sass-embedded (1.71.1-x86-linux-gnu)
google-protobuf (~> 3.25)
sass-embedded (1.71.0-x86-linux-musl)
sass-embedded (1.71.1-x86-linux-musl)
google-protobuf (~> 3.25)
sass-embedded (1.71.0-x86_64-darwin)
sass-embedded (1.71.1-x86_64-darwin)
google-protobuf (~> 3.25)
sass-embedded (1.71.0-x86_64-linux-gnu)
sass-embedded (1.71.1-x86_64-linux-gnu)
google-protobuf (~> 3.25)
sass-embedded (1.71.0-x86_64-linux-musl)
sass-embedded (1.71.1-x86_64-linux-musl)
google-protobuf (~> 3.25)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
Expand Down Expand Up @@ -215,4 +215,4 @@ DEPENDENCIES
wdm (~> 0.1.0)

BUNDLED WITH
2.5.4
2.5.6
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Simple test en langage Python pour connaître le nombre de villes dont l'intitul
#
# author : JV-conseil
# credits : JV-conseil
# copyright : Copyright (c) 2019-2023 JV-conseil
# copyright : Copyright (c) 2019-2024 JV-conseil
# All rights reserved
#====================================================

Expand Down
9 changes: 9 additions & 0 deletions _sass/bootstrap/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,15 @@
}
}

.btn-check:checked:focus-visible + & {
// Avoid using mixin so we can pass custom focus shadow properly
@if $enable-shadows {
box-shadow: var(--#{$prefix}btn-active-shadow), var(--#{$prefix}btn-focus-box-shadow);
} @else {
box-shadow: var(--#{$prefix}btn-focus-box-shadow);
}
}

&:disabled,
&.disabled,
fieldset:disabled & {
Expand Down
Loading

0 comments on commit ff93d7f

Please sign in to comment.