From 39be2a7c14f4955825a9b811cf81664e31dccc93 Mon Sep 17 00:00:00 2001 From: Andrew Hosgood Date: Wed, 8 Jan 2025 18:04:22 +0000 Subject: [PATCH] Don't try and install npm dependencies when formatting --- docker/tna-python-dev/bin/format | 2 +- docker/tna-python-dev/bin/help | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docker/tna-python-dev/bin/format b/docker/tna-python-dev/bin/format index 3c0d16e..57a4336 100755 --- a/docker/tna-python-dev/bin/format +++ b/docker/tna-python-dev/bin/format @@ -28,7 +28,7 @@ else fi echo -tna-npm install +tna-npm --version echo "Running prettier..." prettier --write /app diff --git a/docker/tna-python-dev/bin/help b/docker/tna-python-dev/bin/help index 5baaff0..6f09630 100755 --- a/docker/tna-python-dev/bin/help +++ b/docker/tna-python-dev/bin/help @@ -22,6 +22,9 @@ echo "" echo "tna-node" echo " Run a Node command from your package.json" echo "" +echo "tna-npm" +echo " Run a command for npm that uses the correct version of Node" +echo "" echo "secret-key" echo " Generate a string that can be used as the environment variable SECRET_KEY" echo ""