summaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
authorseth <[email protected]>2023-05-20 02:40:44 -0400
committerseth <[email protected]>2023-05-20 02:43:18 -0400
commitdd24afc3d85a1bc07352689635971ebae1a421af (patch)
treee859c38f21178235a8537580d9b0efe16c50b598 /justfile
parentc0265601b8c5df23aab853124302f014c16da628 (diff)
justfile: update to support pnpm
Diffstat (limited to 'justfile')
-rw-r--r--justfile18
1 files changed, 12 insertions, 6 deletions
diff --git a/justfile b/justfile
index d15c6ac..6901450 100644
--- a/justfile
+++ b/justfile
@@ -1,18 +1,24 @@
alias b := build
+alias d := dev
alias f := fmt
+alias p := preview
+alias u := update
alias uf := update-flake
build:
- yarn run build
+ pnpm run build
+
+dev:
+ pnpm run dev
-[macos]
-[windows]
fmt:
prettier --editorconfig -w .
-[linux]
-fmt:
- prettier --editorconfig -w . && alejandra .
+preview: build
+ pnpm run preview
+
+update:
+ pnpm update
update-flake:
nix flake update