wip avec résolution de conflits
This commit is contained in:
parent
63b2d2b256
commit
ef19ba2b72
208 changed files with 178625 additions and 192002 deletions
25
justfile
25
justfile
|
|
@ -1,8 +1,4 @@
|
|||
set shell := ["fish", "-c"]
|
||||
set unstable := true
|
||||
|
||||
cacheFolder := ".cache"
|
||||
prettierCacheFile := "prettiercache"
|
||||
|
||||
# Recette par défaut.
|
||||
default: dev
|
||||
|
|
@ -22,19 +18,17 @@ update:
|
|||
[group('qualité')]
|
||||
format:
|
||||
bun prettier \
|
||||
--cache \
|
||||
--cache-location "{{ cacheFolder }}/{{ prettierCacheFile }}" \
|
||||
--ignore-unknown \
|
||||
--parallel-workers 8 \
|
||||
--write \
|
||||
.
|
||||
dprint fmt
|
||||
--cache --cache-location ".cache/prettiercache" \
|
||||
--config "cfg/prettier.config.ts" \
|
||||
--ignore-path "cfg/prettierignore" \
|
||||
--ignore-unknown \
|
||||
--parallel-workers 8 \
|
||||
--write .
|
||||
# TwigCsFixher
|
||||
-vendor/bin/twig-cs-fixer fix web/app/themes/haiku-atelier-2024/
|
||||
# Mago
|
||||
mago fmt
|
||||
# PhpCsFixer
|
||||
-vendor/bin/php-cs-fixer fix --allow-risky yes
|
||||
dprint --config "~/.config/dprint/dprint.jsonc" fmt
|
||||
fish scripts/format-sort-files.fish
|
||||
|
||||
# Compile, minifie et optimise Sass vers CSS.
|
||||
|
|
@ -87,7 +81,7 @@ watch-css:
|
|||
# Compile TypeScript en JavaScript.
|
||||
[group('js')]
|
||||
build-js:
|
||||
@bun vite build
|
||||
@bun --bun vite build --config "cfg/vite.config.ts"
|
||||
|
||||
# Compile tout.
|
||||
[group('css')]
|
||||
|
|
@ -107,14 +101,13 @@ watch-js:
|
|||
[group('qualité')]
|
||||
lint-js:
|
||||
-bun eslint "web/app/themes/haiku-atelier-2024/src/scripts"
|
||||
-bun biome check --reporter=summary "web/app/themes/haiku-atelier-2024/src/scripts"
|
||||
-bun oxlint "web/app/themes/haiku-atelier-2024/src/scripts"
|
||||
|
||||
# Vérifie le code Sass avec Stylelint.
|
||||
[group('css')]
|
||||
[group('qualité')]
|
||||
lint-css:
|
||||
-bun stylelint "web/app/themes/haiku-atelier-2024/src/sass/" --fix
|
||||
-bun stylelint --config "cfg/stylelint.config.ts" "web/app/themes/haiku-atelier-2024/src/sass/" --fix
|
||||
|
||||
# Vérifie le code TypeScript mort avec knip
|
||||
[group('js')]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue