0.0.12
This commit is contained in:
parent
62ee424274
commit
c0620280e6
13 changed files with 237 additions and 127 deletions
18
justfile
18
justfile
|
|
@ -2,12 +2,18 @@ set shell := ["/usr/bin/fish", "-c"]
|
|||
|
||||
# Formate le code.
|
||||
format:
|
||||
bun prettier --cache --cache-location ".cache/prettiercache" --ignore-unknown --parallel-workers 8 --write .
|
||||
bun prettier \
|
||||
--cache --cache-location ".cache/prettiercache" \
|
||||
--config "cfg/prettier.config.ts" \
|
||||
--ignore-path "cfg/prettierignore" \
|
||||
--ignore-unknown \
|
||||
--parallel-workers 8 \
|
||||
--write .
|
||||
dprint fmt --config ~/.config/dprint/dprint.jsonc
|
||||
|
||||
# Met à jour les dépendances NPM.
|
||||
update:
|
||||
bun update
|
||||
bun update --interactive
|
||||
|
||||
# Analyse le code TypeScript avec ESLint.
|
||||
lint-js:
|
||||
|
|
@ -15,12 +21,14 @@ lint-js:
|
|||
|
||||
# Analyse le code mort et les dépendances inutilisées du projet.
|
||||
find-dead-code:
|
||||
bun knip
|
||||
bun knip --production
|
||||
-bun --bun knip --cache --cache-location ".cache/knipcache" --strict
|
||||
-bun --bun knip --cache --cache-location ".cache/knipcache" --production --strict
|
||||
|
||||
# Compile le projet.
|
||||
build:
|
||||
bun tsdown --attw --publint
|
||||
bun tsdown \
|
||||
--config "cfg/tsdown.config.ts" \
|
||||
--attw --publint
|
||||
|
||||
# Nettoie le dosiser de compilation.
|
||||
clean:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue