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:
@@ -1,4 +1,4 @@
|
||||
export default [
|
||||
const filetypeExclusions = [
|
||||
// Images
|
||||
'.jpg',
|
||||
'.jpeg',
|
||||
@@ -57,4 +57,6 @@ export default [
|
||||
'.db',
|
||||
'.sqlite',
|
||||
'.sqlite3'
|
||||
]
|
||||
] as const;
|
||||
|
||||
export default filetypeExclusions;
|
Reference in New Issue
Block a user