move to workspaces

This commit is contained in:
geoffsee
2025-06-30 14:08:53 -04:00
committed by Geoff Seemueller
parent c282d80fe0
commit 75cbd5567f
23 changed files with 555 additions and 82 deletions

22
packages/toak/build.ts Normal file
View File

@@ -0,0 +1,22 @@
import isolatedDecl from 'bun-plugin-isolated-decl';
// handles building the library
await Bun.build({
entrypoints: [
"src/cli.ts",
"src/fileExclusions.ts",
"src/fileTypeExclusions.ts",
"src/index.ts",
"src/MarkdownGenerator.ts",
"src/TokenCleaner.ts"
],
outdir: './dist',
minify: true,
target: 'node',
splitting: true,
plugins: [
isolatedDecl({
forceGenerate: true, // Generate declaration files even if there are errors
})
],
});