Switch from Bun's Glob to glob package for file operations

Replaced Bun's `Glob` usage with the `glob` package in `MarkdownGenerator.ts` for better compatibility and functionality. Updated build entrypoints to include all TypeScript files and adjusted dependencies in `package.json` and `pnpm-lock.yaml` to accommodate this change. Also added type annotations to `fileExclusions` and `fileTypeExclusions` for improved type checking.
This commit is contained in:
2024-12-01 11:41:24 -05:00
parent bf16ed5253
commit 337e882767
6 changed files with 16 additions and 34 deletions

View File

@@ -2,7 +2,7 @@ import isolatedDecl from 'bun-plugin-isolated-decl';
// handles building the library
await Bun.build({
entrypoints: ['./src/index.ts'],
entrypoints: ['./src/*.ts'],
outdir: './dist',
target: 'node',
plugins: [