From 362e84187abd4e3dfff776af0ebb516baf570f84 Mon Sep 17 00:00:00 2001 From: Tyler Hendrickson <6372535+hendrickson-tyler@users.noreply.github.com> Date: Mon, 12 Aug 2024 10:36:53 -0600 Subject: [PATCH] fix: specify bash command to fix scripts when using Windows --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 001d14e..3721273 100644 --- a/package.json +++ b/package.json @@ -16,8 +16,8 @@ "synth": "npm ci && npm run build && cdk synth && npm run display-url", "deploy": "npm ci && npm run build && cdk deploy && npm run display-url", "display-url": "echo \"$(<./exports/C3WorkspaceAppUrl.txt )\"", - "insert-placeholders": "npm run style:fix && ./scripts/insert-placeholders.sh", - "compress-files": "./scripts/compress-files.sh", + "insert-placeholders": "npm run style:fix && bash ./scripts/insert-placeholders.sh", + "compress-files": "bash ./scripts/compress-files.sh", "postinstall": "npm --prefix ./lib/lambda/c3-create-payment-request ci && npm --prefix ./lib/lambda/c3-email-receipt ci && npm --prefix ./lib/lambda/c3-submit-payment ci && npm --prefix ./lib/lambda/c3-tokenize-transaction ci && npm --prefix ./lib/lambda/c3-subject-lookup ci && npm --prefix ./lib/lambda/c3-send-agent-message ci", "prepare": "husky" },