2024-08-13
This commit is contained in:
parent
bd804e6083
commit
d26f851139
332 changed files with 1371 additions and 309 deletions
14
justfile
14
justfile
|
|
@ -25,9 +25,10 @@ update:
|
|||
# Formatte avec Prettier et dprint
|
||||
format:
|
||||
@echo "Formatage de l'ensemble du code avec Prettier et dprint."
|
||||
pnpm prettier --cache \
|
||||
pnpm prettier \
|
||||
--cache \
|
||||
--cache-location "{{ cacheFolder }}/{{ prettierCacheFile }}" \
|
||||
-u \
|
||||
--ignore-unknown \
|
||||
--write \
|
||||
.
|
||||
dprint fmt
|
||||
|
|
@ -50,3 +51,12 @@ watch-css:
|
|||
--update \
|
||||
--watch \
|
||||
"web/app/themes/haiku-atelier-2024/src/sass":"web/app/themes/haiku-atelier-2024/assets/css"
|
||||
|
||||
# Compile TypeScript en JavaScript
|
||||
build-js:
|
||||
swc web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-produit.ts \
|
||||
-o web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit.js
|
||||
|
||||
# Compile TypeScript à chaque changement de fichier
|
||||
watch-js:
|
||||
watchexec -w web/app/themes/haiku-atelier-2024/src/scripts just build-js
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue