From bfb64fdc7b426b4ebfc559a2204e4ceb1952640f Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 10 Mar 2026 02:12:06 +0000 Subject: [PATCH] Suppress npm deprecation warnings in Makefile Add --loglevel error to npx calls to hide deprecation warnings from transitive dependencies (inflight, rimraf, glob, fstream, etc.) that are outside our control. https://claude.ai/code/session_01XRtsqBRxV9jPSVp5Xap4kV --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 6c42887..d10eaf3 100644 --- a/Makefile +++ b/Makefile @@ -4,18 +4,18 @@ apply: uv run ansible-playbook -i ~/.dotfiles/ansible/inventory.ini ~/.dotfiles/ansible/dotfiles.yml fmt: - npx --yes prettier --write **/*.yml + npx --loglevel error --yes prettier --write **/*.yml uvx mdformat --wrap 80 --number *.md uvx ruff format --line-length=100 **/*.py uvx ruff check --fix --line-length=100 **/*.py - npx --yes @johnnymorganz/stylua-bin -- **/*.lua + npx --loglevel error --yes @johnnymorganz/stylua-bin -- **/*.lua fmt_check: - npx --yes prettier --check **/*.yml + npx --loglevel error --yes prettier --check **/*.yml uvx mdformat --check --wrap 80 --number *.md uvx ruff format --check --line-length=100 **/*.py uvx ruff check --line-length=100 **/*.py - npx --yes @johnnymorganz/stylua-bin --check -- **/*.lua + npx --loglevel error --yes @johnnymorganz/stylua-bin --check -- **/*.lua nvim-health: nvim --headless "+checkhealth" +qa