From 7b005c12fab067f89021a65bc69c7aec23f79651 Mon Sep 17 00:00:00 2001 From: Geoff Seemueller Date: Wed, 11 Dec 2024 13:49:28 -0500 Subject: [PATCH] Update build script to include logger.ts in build process The build command now includes `logger.ts` to ensure it is bundled correctly. This change prevents potential runtime issues by explicitly compiling all necessary source files. Minor formatting was also applied in `cli.ts`. --- package.json | 2 +- src/cli.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 523a1cb..84ad47f 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "scripts": { "start": "bun src/cli.ts", "dev": "bun src/cli.ts", - "build": "rm -rf dist && bun build ./src/index.ts ./src/cli.ts --splitting --outdir dist --target node && bun ./build.ts", + "build": "rm -rf dist && bun build ./src/index.ts ./src/cli.ts ./src/logger.ts --splitting --outdir dist --target node && bun ./build.ts", "prepublishOnly": "bun run build", "cli": "bun ./src/cli.ts", "test": "bun test && node dist/cli.js", diff --git a/src/cli.ts b/src/cli.ts index e91c5e0..bfd88e9 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -10,6 +10,7 @@ import { import { WorkflowState } from './types'; import log from './logger'; + async function demonstrateNestedManifold(): Promise { log.info("Starting demonstration of nested manifold.");