mirror of
https://github.com/langchain-ai/langgraphjs-api.git
synced 2026-07-22 09:15:35 -04:00
14 lines
304 B
JavaScript
14 lines
304 B
JavaScript
#!/usr/bin/env bun
|
|
function $(strings, ...rest) {
|
|
process.stderr.write(
|
|
["$", ...strings.raw].map((i) => String(i)).join(" ") + "\n",
|
|
);
|
|
return Bun.$(strings, ...rest);
|
|
}
|
|
|
|
await $`rm -rf dist`;
|
|
await $`pnpm tsc --outDir dist`;
|
|
|
|
await $`mv dist/src/* dist`;
|
|
await $`rm -rf dist/src dist/tests`;
|