From 6e751194657d40b09d0ed67de25211c548ac47a6 Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Sat, 7 Oct 2023 14:10:27 -0700 Subject: [PATCH] Print a message when TS has been built successfully --- .changeset/cuddly-lobsters-dress.md | 5 +++++ src/repo.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/cuddly-lobsters-dress.md diff --git a/.changeset/cuddly-lobsters-dress.md b/.changeset/cuddly-lobsters-dress.md new file mode 100644 index 0000000..99fca69 --- /dev/null +++ b/.changeset/cuddly-lobsters-dress.md @@ -0,0 +1,5 @@ +--- +"every-ts": patch +--- + +Print a message when TS has been built successfully diff --git a/src/repo.ts b/src/repo.ts index db0418d..433ea33 100644 --- a/src/repo.ts +++ b/src/repo.ts @@ -199,6 +199,7 @@ export async function ensureBuilt() { await cmdShim.ifExists(paths.tsc, tscBin); await cmdShim.ifExists(paths.tsserver, tsserverBin); + console.log(`TypeScript built successfully!`); } } catch { throw new ExitError(`Unable to build typescript at rev ${await revParse(`HEAD`)}; please file a bug!`);