baml
baml copied to clipboard
Add create-baml-app script to work with pnpm workspace
-
Migrated code over from http://github.com/ashayas/create-baml-app
-
Usage instructions in README
-
npm,pnpm,yarn,deno,bun,pip,poetry,uv,rubysupport -
Will add Go (can even preemptively add it if I know the instructions)
-
Testing suite for this is interesting: I could maybe do a bunch of docker containers that have the various package managers
-
I did do tests with / without package managers
[!IMPORTANT] Adds
create-baml-appCLI tool for setting up BAML projects with support for multiple languages and package managers.
- New Feature:
- Adds
create-baml-appCLI tool for setting up BAML projects with support for Python, TypeScript, and Ruby.- Supports package managers:
pip,poetry,uv,npm,pnpm,yarn,deno,bun,bundle.- Files:
index.js: Main script for handling user input and project setup.package.json: Defines dependencies (chalk,execa,inquirer) and scripts for the CLI tool.pnpm-workspace.yaml: Addscreate-baml-appto the workspace packages.- Documentation:
README.md: Provides installation and usage instructions for the CLI tool.This description was created by
for 630bede1a548827cd24544f7695186ef3757d263. It will automatically update as commits are pushed.
@ashayas is attempting to deploy a commit to the Gloo Team on Vercel.
A member of the Team first needs to authorize it.
this is awesome, but a testing flow with a couple containers would be extremely nice for more common setups. If it's part of the onboarding flow it can't fail ever.
I took a look at the code and everything looks reasonable. What do you think?
Also do you own create-baml-app on npm? It'd be nice to take custodianship of it!
Thanks for contributing!
@aaronvg I will add a few test containers and fix the issues the linter has found and update the PR. Yep my intention is to transfer the create-baml-app to you guys for sure!