summaryrefslogtreecommitdiff
path: root/Justfile
diff options
context:
space:
mode:
authorArjun Satarkar <me@arjunsatarkar.net>2024-10-31 22:10:57 +0000
committerArjun Satarkar <me@arjunsatarkar.net>2024-10-31 22:10:57 +0000
commita3f597a5d39baeabff948d1cd13cfc3915fc4980 (patch)
tree336bf54f473f0fa32536a617fa9f9a0174af4ee3 /Justfile
parente91c7983cb07f1ae490c94ddef6c9fe6b7c6df90 (diff)
downloadthrow_simulation-a3f597a5d39baeabff948d1cd13cfc3915fc4980.tar
throw_simulation-a3f597a5d39baeabff948d1cd13cfc3915fc4980.tar.gz
throw_simulation-a3f597a5d39baeabff948d1cd13cfc3915fc4980.zip
Ensure Justfile installs correct prettier version
Previously if you cloned the repo and ran `just format`, npx would fetch the latest version of prettier temporarily. Now we run `npm install` first via get_dependencies.
Diffstat (limited to 'Justfile')
-rw-r--r--Justfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Justfile b/Justfile
index db39c05..8a53c98 100644
--- a/Justfile
+++ b/Justfile
@@ -10,7 +10,7 @@ run: build
get_dependencies:
npm install --include=dev --fund=false
-format:
+format: get_dependencies
npx prettier . --write
clean: