From 6b3c543a3356c582522f6e2d9b2948a0634a66df Mon Sep 17 00:00:00 2001 From: Christoph Fricke Date: Mon, 25 Nov 2024 21:15:02 +0100 Subject: [PATCH] fix(cli): tz command annot be executed by spawn (#358) * fix(cli): tz command cannot be executed by npm * chore: add changeset --- .changeset/new-tools-attack.md | 5 +++++ packages/cli/bin/cli.js | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 .changeset/new-tools-attack.md diff --git a/.changeset/new-tools-attack.md b/.changeset/new-tools-attack.md new file mode 100644 index 00000000..8130cadc --- /dev/null +++ b/.changeset/new-tools-attack.md @@ -0,0 +1,5 @@ +--- +"@terrazzo/cli": patch +--- + +Fix npm error when invoking the Terrazzo CLI through npm diff --git a/packages/cli/bin/cli.js b/packages/cli/bin/cli.js index 980f63cc..ebbd995b 100755 --- a/packages/cli/bin/cli.js +++ b/packages/cli/bin/cli.js @@ -1,3 +1,5 @@ +#!/usr/bin/env node + /** * @module @terrazzo/cli * @license MIT License