diff --git a/v3/flake.nix b/v3/flake.nix index 0ff61f66769..9834124075e 100644 --- a/v3/flake.nix +++ b/v3/flake.nix @@ -217,7 +217,7 @@ pkgs.just pkgs.moreutils pkgs.nixpkgs-fmt - pkgs.nodePackages.prettier + pkgs.nodejs_22 # Rust pkgs.bacon diff --git a/v3/justfile b/v3/justfile index 26a1b81a14e..bc37d4bff66 100644 --- a/v3/justfile +++ b/v3/justfile @@ -10,7 +10,7 @@ build: format: cargo fmt --check - prettier --check . + npx --yes prettier --check . ! command -v nix || nix fmt -- --check . alias fmt := format @@ -21,7 +21,7 @@ fix: ! command -v nix || nix fmt fix-format: - prettier --write . + npx --yes prettier --write . run-local-with-shell: #!/usr/bin/env bash