https://www.boundaryml.com logo
๐ŸŸก Question about committing generated SDK folder ...
# questions
i
Hey! Quick question about the generated SDK folder. I've got a small Bun/TS service using BAML.
baml generate
outputs ~40k lines into
baml_ts/
, and I'm not sure whether that should be committed or gitignored โ€” it's generated, so part of me says ignore it, but it's not a package manager artifact either (the CLI isn't a JS dep, and my Dockerfile just COPYs the folder instead of regenerating). What do you recommend? And if committing is the way, is there a recommended way to catch it going stale when someone edits a prompt and forgets to regenerate? Thanks!
v
we do recommend gitignoring it!
we're working on a way in the compiler to address that issue so the compiler tells you that its out of date automatically and to re-run generate
2 Views